cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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

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

2 REPLIES 2

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

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