Что с ним ???????????????????? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Что с ним ????????????????????

У меня появляется непонятная ошибка (код тестировать не в SoloLearn) https://code.sololearn.com/cWPJYYgd66Ms/?ref=app

24th Feb 2020, 6:05 AM
Вадим Платонов
Вадим Платонов - avatar
6 Answers
+ 1
Playground does not support GUI applications. since you are using Tkinter it will not work.
24th Feb 2020, 10:05 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 3
Yes i know. But if you use this code in "Pydroid3" you will see another error.(Sorry for my English)
24th Feb 2020, 1:14 PM
Вадим Платонов
Вадим Платонов - avatar
+ 3
Thank you very much.
24th Feb 2020, 8:12 PM
Вадим Платонов
Вадим Платонов - avatar
+ 2
Exception in Tkinter callback Traceback (most recent call last): File "/data/user/10/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.7/tkinter/__init__.py", line 1705, in __call__ return self.func(*args) File "/data/user/10/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 67, in help_file file=open(op,"w") TypeError: expected str, bytes or os.PathLike object, not tuple
24th Feb 2020, 4:50 PM
Вадим Платонов
Вадим Платонов - avatar
+ 1
could specify what error you get when you tried it in Pydroid3?
24th Feb 2020, 3:22 PM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
I think it's because you had no parameter passed in asksavefilename() like path, filetype, extension... I cant test, I don't have Pydroid3 installed.
24th Feb 2020, 7:20 PM
Bahhaⵣ
Bahhaⵣ - avatar