Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Where to store python scripts that connect to and query graph?

Node Clone

Quick question about running python scripts that connect to my Neo4j dbms and query my graph.

Is there a best practice for the location for storing relevant python scripts ?

Should they be in my general project folder for what I'm working on or in the actual project "import folder" via Neo4j desktop, or somewhere else? I'm not managing to connect at the moment. I had this working on a different graph previously - not sure where I've made a mistake


I would store them in your project's folder and put them in version control, make sure to put connection credentials and passwords into environment variables so that you don't put them on github

Node Clone

Hi @michael_hunger - thank you for the reply. How do I do this ? I'm struggling to find documentation on the procedure