Message from Python discussions

December 2018

— Hey. I have a telegram bot written in python and hosted on heroku.
1. Is it possible to create new Google sheets files and write to them, straight from heroku?
2. If yes- how do I do that? I was trying to find a good tutorial but found nothing...

Message permanent page


Django app host through apache2 server and database mysql then i geting error "attempt to write a readonly database"

— Permission set issue probably

— Can you run ls -l on your db file? I'm guessing you're using sqlite

— No i using mysql


[root]# pip install tkinter
Collecting tkinter
Could not find a version that satisfies the requirement tkinter (from versions: )
No matching distribution found for tkinter
You are using pip version 18.0, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
should i use pip3 cause its tkinter of python3?
i dont have pip3..(should i install it how?)

Message permanent page

— Tkinter (and, since Python 3.1, ttk) are included with all standard Python distributions

— Use c++

— ?

— What's OS you are using ?

— Linux

— Use package manager to install python3-tk package. then import them directly.