![]() If you are using a Raspberry Pi (or Raspbian. Mouth=c.create_oval(150,220,250,240,fill='red') Thonny is a Python-only editor but for that reason it is able to provide some excellent support. How do I get Geany to show this script's graphics window correctly? and the graphics window created by the script does not appear! When I do this in Thonny IDE, the graphics window appears. but simply shows the script window proudly announcing that script completed. One the primary reasons for Geanys existence is that there is a need for a decent, GUI, lightweight, cross-platform, flexible and powerful IDE/editor. (2) When I run my simple graphics tkinter python script (pasted below) in Geany, with Tkinter capitalized since we are in 2.x. Hey all, I'd like to start by saying that I'm very new to the raspberry pi but I'm having fun with it so far despute the growing pains of using a Press J to jump to the feed. only when I changed it to Tkinter would it work, which I understand means it's running Python 2.x. (1) How do I force it to use Python 3.x? I can tell that Geany is using Python 2.x and not 3.x because when I tried "import tkinter" it gave an error saying it couldn't find tkinter. On my Pi that's now updated to a nice recent Raspbian, I am eager to start using the Geany editor for Python. You can use whatever editor you like to enter code, as long as it saves it as plain text.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |