Message from Python discussions

November 2018

— I usually use f.close() when I open file in writing mode)

— 

Content = strVar()
content = f.read()
bot.send_message(chat_id=chat_id, text = content
)

how about this

— Language:

py3


Source:
strVar()


Errors:
Traceback (most recent call last):
File "source_file.py", line 1, in <module>
strVar()
NameError: name 'strVar' is not defined

Message permanent page

— It is StringVar(), i used it for tkinter

— Thank you will try that tonight

— Don't, it has no effect whatsoever

— What you need is a) use with, and b) use io.open with an encoding

— Oh really

— Please don't post memes.

— I don't get the wrong on this picture

— Can u explain to me,

— Does anyone have ‘learn python3 the hard way’ ebook?