Python Forum
Type hint produces Syntax error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Type hint produces Syntax error
#5
Thanks !

(venv) [...]>python -c "import sys; print(sys.executable)"
[...]\venv\Scripts\python.exe

(venv) [...]>pip -V
pip 9.0.1 from [...]\venv\lib\site-packages\pip-9.0.1-py3.7.egg (python 3.7)

(venv) [...]>python -V
Python 3.7.0b3

(venv) [...]>venv\Scripts\python.exe type_hint_test.py

(venv) [...]> Thanks !
The venv is really based on python 3.7 but I wasn't using it to start the script.
Reply


Messages In This Thread
Type hint produces Syntax error - by Digamma - Apr-25-2018, 11:35 AM
RE: Type hint produces Syntax error - by buran - Apr-25-2018, 12:19 PM
RE: Type hint produces Syntax error - by Digamma - Apr-26-2018, 08:24 AM
RE: Type hint produces Syntax error - by snippsat - Apr-26-2018, 12:17 PM
RE: Type hint produces Syntax error - by Digamma - Apr-27-2018, 06:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  World Clock syntax error OscarBoots 1 243 May-03-2024, 05:20 AM
Last Post: snippsat
  Syntax error for "root = Tk()" dlwaddel 15 1,388 Jan-29-2024, 12:07 AM
Last Post: dlwaddel
Photo SYNTAX ERROR Yannko 3 468 Jan-19-2024, 01:20 PM
Last Post: rob101
  Wrong type error rowan_bradley 6 1,340 Aug-07-2023, 10:44 AM
Last Post: rowan_bradley
  Type Error: Unsupported Operand jhancock 2 1,339 Jul-22-2023, 11:33 PM
Last Post: jhancock
  Syntax error while executing the Python code in Linux DivAsh 8 1,792 Jul-19-2023, 06:27 PM
Last Post: Lahearle
  Code is returning the incorrect values. syntax error 007sonic 6 1,319 Jun-19-2023, 03:35 AM
Last Post: 007sonic
  syntax error question - string mgallotti 5 1,388 Feb-03-2023, 05:10 PM
Last Post: mgallotti
  Syntax error? I don't see it KenHorse 4 1,355 Jan-15-2023, 07:49 PM
Last Post: Gribouillis
  Syntax error tibbj001 2 963 Dec-05-2022, 06:38 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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