Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 run script from anaconda command prompt
hi there,

up till now I have been developing on a Raspberry pi and my own Linux box or mac at home, but now I am having to use windows, which I have never used except for the internet. I have emacs running nicely now, but I can't work out how to run a script though? In linux from the terminal it's as simple as ./ but I don't know how to do this in windows, all I have managed to do is pull the script up, I can't work out how to actually make it run. What do I have to type in please, assuming that I am in the correct directory.

Apologies, typically just found it, after searching for an hour. You simply have to type 'python' in first. doh

Admins. please feel free to delete this thread.
Welcome to the world of Microsoft!
Consistency is not one of it's attributes
A intro.
Anaconda codes with own promt Anaconda promt it's in start menu.
You can also use cmd(or cmder as i use) an navigate to Anaconda3 folder.
λ python
Python 3.5.2 |Anaconda 4.2.0 (32-bit)| (default, Jul  5 2016, 11:45:57) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()

λ python #Running a script

#To Scripts folder
λ cd Scripts

λ spyder #Start Spyder editor
Anaconda comes with Navigator in start menu.
Spyder is nice editor that's come with Anaconda.
And Jupyter Notebook is cool Cool

If Anaconda is your main Python version.
You should mark this:
Then Path(python commad will work from anywhere in cmd) will be set and editors like Pycharm Free Community will find this version.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Running script from Anaconda prompt acollins555 0 223 Jun-15-2020, 03:40 AM
Last Post: acollins555
  Will not print in command prompt PandaCode 12 599 May-06-2020, 03:48 AM
Last Post: PandaCode
  Script works when executed from command prompt but not when executed in SDP Tippex 0 155 Apr-07-2020, 04:26 PM
Last Post: Tippex
  Can read files in command prompt but not IDE Exsul 2 412 Sep-13-2019, 01:40 AM
Last Post: jsira2003
  Python's id() function output in prompt and script mode stormshadow 4 1,055 Dec-10-2018, 10:08 AM
Last Post: stormshadow
  command prompt saisankalpj 8 1,717 Nov-28-2018, 04:13 AM
Last Post: saisankalpj
  Command Prompt Issue benzenegirl 2 818 Oct-25-2018, 03:09 PM
Last Post: The_Raven
  Script won't continue after command line skip671 7 1,095 Oct-15-2018, 07:37 PM
Last Post: snippsat
  Pyinstaller to execute a script in command prompt Ciroxxx 0 815 Sep-18-2018, 10:17 AM
Last Post: Ciroxxx
  Subprocess command prompt (Windows) arnaur 6 4,236 Sep-06-2018, 07:22 AM
Last Post: arnaur

Forum Jump:

Users browsing this thread: 1 Guest(s)