Python Forum
Running Windows 10 python 3.8.1
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running Windows 10 python 3.8.1
#4
What you mean bye does not recognize import?
IDLE has two parts when you start up you in interactive shell.
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import math
>>> 
>>> math.pi
3.141592653589793
Running as script look a this image.
Then code will be like this a file eg test_math.py,no >>> and have to use print().
import math

print(math.pi)
Output:
3.141592653589793
Reply


Messages In This Thread
Running Windows 10 python 3.8.1 - by quark80 - Feb-06-2020, 03:04 PM
RE: Running Windows 10 python 3.8.1 - by snippsat - Feb-06-2020, 04:07 PM
RE: Running Windows 10 python 3.8.1 - by quark80 - Feb-06-2020, 05:24 PM
RE: Running Windows 10 python 3.8.1 - by snippsat - Feb-06-2020, 06:00 PM
RE: Running Windows 10 python 3.8.1 - by quark80 - Feb-07-2020, 10:59 AM
RE: Running Windows 10 python 3.8.1 - by jefsummers - Feb-07-2020, 12:08 PM
RE: Running Windows 10 python 3.8.1 - by snippsat - Feb-07-2020, 12:28 PM
RE: Running Windows 10 python 3.8.1 - by quark80 - Feb-08-2020, 10:03 AM
Running Windows 10 python 3.8.1 - by quark80 - Feb-07-2020, 11:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python script running under windows over nssm.exe JaroslavZ 0 758 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  batch file for running python scipt in Windows shell MaartenRo 2 1,973 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  Running this script on Windows? Winfried 2 2,365 May-15-2020, 01:39 PM
Last Post: Winfried
  running script from CLI in windows aster 6 3,552 Apr-08-2020, 07:10 PM
Last Post: aster
  running Python on Windows OS / IIS server ajetrumpet 4 3,404 Feb-02-2020, 05:55 PM
Last Post: ndc85430
  Keypress when running a python app in a console on windows Stephen 6 9,120 Apr-16-2019, 12:38 PM
Last Post: Stephen
  help need with running python script on remote windows machine onenessboy 2 11,223 Dec-14-2018, 03:02 PM
Last Post: onenessboy
  Installing and running a python web scraping app from github to a windows 8.1 system eugenioca 17 8,353 Oct-06-2018, 08:14 AM
Last Post: eugenioca
  [split] running .py files on Windows metulburr 7 5,376 Sep-14-2017, 09:16 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020