NeuralTuringMachine icon indicating copy to clipboard operation
NeuralTuringMachine copied to clipboard

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

Open ferdicaner opened this issue 4 years ago • 0 comments

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

ferdicaner avatar Mar 09 '20 13:03 ferdicaner