Error
Traceback (most recent call last):
File "C:\Users\nikit\AppData\Local\Programs\Python\Python35\lib\urllib\parse.py", line 780, in urlencode
raise TypeError
TypeError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\nikit\Desktop\FoxyVKBOT\longbot.py", line 41, in
print(urllib.parse.urlencode("Приветик чувачек"))
File "C:\Users\nikit\AppData\Local\Programs\Python\Python35\lib\urllib\parse.py", line 788, in urlencode
"or mapping object").with_traceback(tb)
File "C:\Users\nikit\AppData\Local\Programs\Python\Python35\lib\urllib\parse.py", line 780, in urlencode
raise TypeError
TypeError: not a valid non-string sequence or mapping object
ошибка:
Traceback (most recent call last):
File "C:\Users\nikit\Desktop\FoxyVKBOT\longbot.py", line 12, in
if(msg.get('updates', {}).get(1)):
AttributeError: 'list' object has no attribute 'get'