tree3po commited on
Commit
2e6af75
·
verified ·
1 Parent(s): aacc3ae

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +15 -0
main.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import pprint
3
+ import asyncio
4
+ os.environ["HYDRA_FULL_ERROR"] = "1"
5
+ os.environ["PATH"] += f'{os.getcwd}/Kinetix'
6
+ # Get the list of user's
7
+ env_var = os.environ
8
+
9
+ # Print the list of user's
10
+ print("User's Environment variable:")
11
+ pprint.pprint(dict(env_var), width = 1)
12
+ async def main()
13
+ #os.system(f"""python kinetix/editor.py --config-path my_configs/ --config-name my_config""")
14
+ os.system(f"""cd Kinetix && python kinetix/editor.py --config-path ../configs/ --config-name editor""")
15
+ asyncio.run(main())