Systematic-LEDs
Systematic-LEDs copied to clipboard
shortcut to run main.py?
Is there another way to run main.py? Now I need to open Anaconda+terminal. Type in commands to run main,py. Is it possible tu run it in few clicks?:)
It's relatively simple. One possible way is to find the appropriate environment directory. In my case:
C:\Users\STFU\Anaconda3\envs\LED
Open "main.py" with an editor and add this to the first line (with your correct path):
#! C:\Users\STFU\Anaconda3\envs\LED\python.exe
Now you can start the application by double clicking on the main.py or create a shortcut to it.
Tested on Windows 10.
How to do it on macOS? :)
not working
Is there a better method ?
it was working in windows, but I could not do it on iMAC. I didnt try very hard to make it run:)