T
thomas
Hi NG
I what to used the sorted function, and im getting this error
Traceback (most recent call last):
File "F:\home\thomas\src\guisample\test1.py", line 59, in ?
main()
File "F:\home\thomas\src\guisample\test1.py", line 31, in main
sorted(cords, key=operator.itemgetter(1))
NameError: global name 'sorted' is not defined
what do I needs to import, to use this function ?
regards
thomas
I what to used the sorted function, and im getting this error
Traceback (most recent call last):
File "F:\home\thomas\src\guisample\test1.py", line 59, in ?
main()
File "F:\home\thomas\src\guisample\test1.py", line 31, in main
sorted(cords, key=operator.itemgetter(1))
NameError: global name 'sorted' is not defined
what do I needs to import, to use this function ?
regards
thomas