May-27-2017, 01:24 PM
First, I wouldn't put your 'personal' scripts in the same directory as the Python install. Make a new directory, say C:\python. Next right click on the 'Start' button, select 'Run' type in 'cmd.exe', this will open the command terminal. Type 'python' and hit 'Enter'. You should see something similar to :
Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\>python Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>If you do, you're environment is set up correctly. Type exit() to exit python. Navigate to where your file is, for example:
cd c:\python
. Type in your 'filename'.py and it should display your output (if written correctly)
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition