# Start Neo4J Desktop database using Python

**URL:** <https://community.neo4j.com/t/start-neo4j-desktop-database-using-python/51815>\
**Category:** Desktop\
**Created:** [February 11, 2022, 5:03pm UTC](https://community.neo4j.com/t/start-neo4j-desktop-database-using-python/51815 "2022-02-11T17:03:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pruthviraj\_v](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/pruthviraj_v/32/14172_2.png) [@pruthviraj\_v](https://community.neo4j.com/u/pruthviraj_v)\
**Post date:** [February 11, 2022, 5:03pm UTC](https://community.neo4j.com/t/start-neo4j-desktop-database-using-python/51815/1 "2022-02-11T17:03:56Z")

</div>

Hi Team,

Could you please let me know if there is a programmatic way of starting the database in the Neo4J Desktop version? So far I was using the Start button to start the database but I would want to start the database using python.

I am already using python to execute commands on the database but have not been able to find any reference for starting the database using python on the Neo4J desktop.

Regards,  
Pruthvi

---

<div class="post-metadata">

**Author:** ![koji](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/koji/32/27564_2.png) [@koji](https://community.neo4j.com/u/koji)\
**Post date:** [February 12, 2022, 12:20am UTC](https://community.neo4j.com/t/start-neo4j-desktop-database-using-python/51815/2 "2022-02-12T00:20:24Z")

</div>

Hi @pruthviraj_v

How about this shell command?  
This is a example of Python.  
Please modify the path and directory name and execute it.

```auto
import os
os.system('/<Your path to neo4j in the project>/Data/dbmss/dbms-<xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>/bin/neo4j start')

```

like this code.  
You also need to set up the path to Java 11.

```auto
import os
os.system('/Users/username/Library/Application\ Support/com.Neo4j.Relate/Data/dbmss/dbms-e72b51ba-3f05-4ee2-b37c-b892529d6aad/bin/neo4j start')

```
