Skip to content

Instantly share code, notes, and snippets.

Omar Khashoggi OmarWKH

Block or report user

Report or block OmarWKH

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
OmarWKH /
Created Mar 19, 2017
flask/neo4j prototype
Creates an event with 2 choices and 2 ends and serves them at
Works with a running server of, a graph DB that uses Cypher query language
Based on:
(some of the py2neo code is out of date, I replaced it with the new API)
(this mentions virtualenv, but in python 3 just use venv)
OmarWKH / pyv.bat
Created Feb 11, 2017
Change py's python version for current cmd instance
View pyv.bat
:: changes python versoin invoked by 'py' for current cmd instance
:: my set up:
:: installed python 3 and added it to environment variables
:: installed python 2 to another folder without adding it
:: added this script to my environment variables
:: now I use python 3 by default, and when I need to use 2 I type 'pyv' (you can change the name)
:: usage:
You can’t perform that action at this time.