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
#8
(Feb-07-2020, 11:59 AM)quark80 Wrote: import
SyntaxError: invalid syntax
Yes that would be SyntaxError,can not have import alone.
>>> import
  File "<interactive input>", line 1
    import
         ^
SyntaxError: invalid syntax

# Must tell what to import
>>> import math 
>>> 
>>> math.pi
3.141592653589793
(Feb-07-2020, 11:59 AM)quark80 Wrote: have noticed under the Python38 folder that the libs folder contains the items:
_tkinter.lib; python3.lib; python38.lib; which are all quoted as Type VisualStudio.lib , an item I do not have on my computer. Can you tell me what Type they should be, please?
It's just that Windows file associations point it to VisualStudio,this have nothing to say as you shall never open these files.
lib files are static libraries that Python use internally eg _tkinter.lib is a libary file for the build GUI in Python tkinter.
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 809 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  batch file for running python scipt in Windows shell MaartenRo 2 2,060 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  Running this script on Windows? Winfried 2 2,413 May-15-2020, 01:39 PM
Last Post: Winfried
  running script from CLI in windows aster 6 3,645 Apr-08-2020, 07:10 PM
Last Post: aster
  running Python on Windows OS / IIS server ajetrumpet 4 3,465 Feb-02-2020, 05:55 PM
Last Post: ndc85430
  Keypress when running a python app in a console on windows Stephen 6 9,295 Apr-16-2019, 12:38 PM
Last Post: Stephen
  help need with running python script on remote windows machine onenessboy 2 11,325 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,563 Oct-06-2018, 08:14 AM
Last Post: eugenioca
  [split] running .py files on Windows metulburr 7 5,474 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