Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shortcut to run main.py? #65

Open
Andriejus opened this issue Jan 29, 2019 · 5 comments
Open

shortcut to run main.py? #65

Andriejus opened this issue Jan 29, 2019 · 5 comments

Comments

@Andriejus
Copy link

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
Copy link

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
Copy link
Author

How to do it on macOS? :)

@Firemanpl
Copy link

not working

@Firemanpl
Copy link

Is there a better method ?

@Andriejus
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants