Python is a functional programming language, positional bound. It's syntax is easy to understand. The ":" sign plays a very significant role. You see it in functions: def open_directory(mydir, mytitle): as well as in "if" statements: if not dirpath: return It is allowed to store all code in one file, you can mix classes with functions. And it's even allowed to use functions within functions! Very helpful. Of course you need an editor. I'm very happy with Jetbrains PyCharm, there is even a free public version As a sample I've added some code here to start with a GUI: TIP: add helpfull links to the top of your python file: Links file handling, how to work with objects and how to build a GUI
https://stackoverflow.com/questions/53204752/how-do-i-read-a-text-file-as-a-string https://stackoverflow.com/questions/3182183/how-to-create-a-list-of-objects https://realpython.com/python-gui-tkinter/ https://realpython.com/python-gui-tkinter/#using-events-and-event-handlers
0 Comments
Leave a Reply. |
AuthorEd Leijnse ArchivesCategories
All
|