Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cant Run Code
#3
Quote:I tried running this code in Python 2.7 (pressing F5) it shows syntax error help!
You can not have >>> in script,it's used when in interactive shell.
So if run code as script,i need to not use >>>.

[Image: Wn7asS.jpg]

As a new user you should use Python 3.6 and pip installation under Windows
Find a editor better than IDLE.
PyCharm free Community edition , Thonny.
REPL IPython  or ptpython and look at part-2.
Reply


Messages In This Thread
Cant Run Code - by SaintOfAges - Aug-06-2017, 06:02 AM
RE: Cant Run Code - by buran - Aug-06-2017, 07:28 AM
RE: Cant Run Code - by snippsat - Aug-06-2017, 07:30 AM

Forum Jump:

User Panel Messages

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