cancel
Showing results for 
Search instead for 
Did you mean: 

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

stephflint
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

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

stephflint
Node Clone

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

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.