not-matt / Systematic-LEDs

Audio reactive, all in one, room lighting for your computer.
MIT License
100 stars 35 forks source link

shortcut to run main.py? #65

Open Andriejus opened 5 years ago

Andriejus commented 5 years ago

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?:)

Maerchensarg commented 5 years ago

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.

Andriejus commented 5 years ago

How to do it on macOS? :)

Firemanpl commented 4 years ago

not working

Firemanpl commented 4 years ago

Is there a better method ?

Andriejus commented 4 years ago

it was working in windows, but I could not do it on iMAC. I didnt try very hard to make it run:)