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
#1
I downloaded Python (3.8 64-bit)for Windows 10 & Windows Launcher, together with Manuals & Module Docs.
The 'sys.path' is set to C:\Users\quark\AppData\Local\Programs\Python\Python38.

Using: IDLE Python 3.8 64-bit:

While the usual math operators e.g +.-, *, ** , min() , etc. work, 'def' is not recognised and
math.pi generates:

"Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
math.pi
NameError: name 'math' is not defined."

Can someone tell me how to rectify these errors?
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 785 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  batch file for running python scipt in Windows shell MaartenRo 2 2,020 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  Running this script on Windows? Winfried 2 2,387 May-15-2020, 01:39 PM
Last Post: Winfried
  running script from CLI in windows aster 6 3,619 Apr-08-2020, 07:10 PM
Last Post: aster
  running Python on Windows OS / IIS server ajetrumpet 4 3,437 Feb-02-2020, 05:55 PM
Last Post: ndc85430
  Keypress when running a python app in a console on windows Stephen 6 9,199 Apr-16-2019, 12:38 PM
Last Post: Stephen
  help need with running python script on remote windows machine onenessboy 2 11,272 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,432 Oct-06-2018, 08:14 AM
Last Post: eugenioca
  [split] running .py files on Windows metulburr 7 5,448 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