This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Syntax issue
Type: Stage: resolved
Components: Windows Versions: Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE: don't offer to save text files as .py
View: 28365
Assigned To: Nosy List: paul.moore, radialbeast, steve.dower, steven.daprano, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-10-05 15:56 by radialbeast, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
image1.jpeg radialbeast, 2016-10-05 15:56
unnamed radialbeast, 2016-10-05 15:56
image2.jpeg radialbeast, 2016-10-05 15:56
unnamed radialbeast, 2016-10-05 15:56
Messages (2)
msg278137 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2016-10-05 17:04
Did you take a picture of the screen with your iPhone? Why didn't you take a screenshot? Or better still, since this is a text-based medium not a graphics error, copy and paste the text involved? That's easier for people to work with, including those who are blind or visually impaired.

Your images are fuzzy, clipped, and almost impossible to make out what is going on. The closest I can determine is that you are running Python successfully, because I can see what looks like a call to:

    print('example of error')

working successful: the string is printed, as expected, and no SyntaxError occurs. That's image1.

image2 is even harder to make out, some of the text is so out of focus I cannot read it, but again it shows the same line of code successfully executed, but a mystery dialog box that says "syntax error".

To start with, please explain how you are running Python. Are you running it in the basic Windows terminal? What command did you give to run Python? Or are you running IDLE? Did you run it from the Start Menu? What *exact* sequence of commands did you give to run Python?

Try to answer using words, not pictures, and ESPECIALLY not out-of-focus photos taken with your phone.

And don't start a new ticket, either respond to this one or #28365.
msg278139 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2016-10-05 17:09
Let's consolidate this to #28365.
History
Date User Action Args
2022-04-11 14:58:37adminsetgithub: 72552
2016-10-05 17:09:23zach.waresetstatus: open -> closed
superseder: IDLE: don't offer to save text files as .py
messages: + msg278139

resolution: duplicate
stage: resolved
2016-10-05 17:05:51steven.dapranosetnosy: + paul.moore, tim.golden, zach.ware, steve.dower

components: + Windows
versions: + Python 3.5
2016-10-05 17:04:09steven.dapranosetnosy: + steven.daprano
messages: + msg278137
2016-10-05 15:56:10radialbeastcreate