Skip to content

''tuple unpacking is not supported in Python3'' error  #13

Description

@ferdicaner

Hi Dear @MarkPKCollier

I wanted to run the code using python 3.5 on PyCharm, an error occured in file 'Ncross_analysis.py'

''''
C:\Users\Eduline\PycharmProjects\python\venv\Scripts\python.exe C:/Users/Eduline/Desktop/GEOMETRİ1/Ncross_analysis.py
File "", line 15
def getLine_pixelPoint((x1, y1), (x2, y2)):
^
SyntaxError: invalid syntax
''''
and it seems like the error is because 'tuple unpacking is not supported in Python3'.
321

Could you please help me to solve this problem?
How can I change the written code (in the photo), so that it will not be problematic ?

Have a good day

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions