MR. ED PRESENTS...
  • Home
    • Contact >
      • Google Map
      • Privacy
    • Weebly Tips
    • Windows Tips
  • Studio
    • Lucia Photoshooting 2025
    • Mila
    • Camila
    • Christy
    • Ivana
    • Demi Fray
    • Paulina Brown
    • Giuliana
  • Photos
    • Bergen aan Zee 2025
    • Paris Octobre 2024
    • Paris Centre Pompidou Bande dessinée
    • Schanzengraben Zürich
    • Viadukt Jenseits
    • Sechseläuten 2023
    • Once upon a time in London
    • Archive >
      • Retired but not tired
      • Clouds
      • Zürich 2017
      • Luzern >
        • Sing for Australia
      • Locarno 2020
      • Bern 2020
      • Nightshots at Zürich West
      • Lausanne 2020
  • Drawing Events
  • Mr. Ed
    • SHOP Mr. Ed
    • Mr. Ed Child paintings
    • Birthday Card design
    • Ausstellung Heime Kriens >
      • Adolfo Gadea
      • Mr. Ed
      • Anmeldung Vernissage
      • Opening Registration
      • Bild reservieren
      • SHOP Adolfo Gadea
      • SHOP Prints
      • VERKAUFT Adolfo Gadea
  • Colors
  • Annalis Gadea
    • Ueber AnnalLis
    • Bleistiftzeichnungen
    • Elemente
    • Akte
    • Aesthetik des Verfalls
    • Genesis
    • Geometrische Formen
    • Häuser
    • Lanzarotte
    • nachbearbeitete Fotos
    • organisch abstract
    • Pflanzen
    • Schwäne und Schnecken
    • Toscana
    • Transformationen
    • Diverse Themen
  • Programming
    • Python
    • JavaScript
  • Museums
    • Museum Paul Klee
    • Hans Glanzmann
  • Disclaimer
  • Photolaundry
  • Corona
  • TAGGER.BIZ SUPPORT
  • TAGGER.BIZ
    • Demo TAGGER.biz
    • Lightroom synchronizing
  • Photoblog
  • Photolaundry 2021

Python GUI tools

17/3/2021

0 Comments

 

Tools

​https://medium.com/swlh/create-a-simple-python-gui-with-these-open-source-projects-7957813a107a

Most common tools: PyGuBU, Page, Gooey and PySimpleGui. PySimpleGui is not a design tool but is rather understandable and comes with a lot of samples. The other tools where very hard to install and didn't work properly on my Mac system.

PySimpleGui

pip install PySimpleGui
https://pypi.org/project/PySimpleGUI/
​
works fine
tutorial PySimpleGui
cookbook
0 Comments

How to make a collection of class instances

15/3/2021

0 Comments

 
Design the class, decide which attributes you need

    
Make a collection and fill the collection with instances of MyCustomer. Read the collection and print it.

    
0 Comments

Quick start with Python

15/3/2021

0 Comments

 
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

    Author

    Ed Leijnse
    Graphic design
    Photography
    ​
    Software Development
    C#, Java, Python
    Wordpress
    websites
    ​https://tagger.biz
    ​https://paparazzi.li
    https://leijnse.info

    Archives

    July 2021
    March 2021

    Categories

    All
    Classes
    Collections
    Deployment
    Gui
    Programming
    Pyinstaller
    Python
    Ti-84
    Ti-84 Python Edition

    RSS Feed

  • Home
    • Contact >
      • Google Map
      • Privacy
    • Weebly Tips
    • Windows Tips
  • Studio
    • Lucia Photoshooting 2025
    • Mila
    • Camila
    • Christy
    • Ivana
    • Demi Fray
    • Paulina Brown
    • Giuliana
  • Photos
    • Bergen aan Zee 2025
    • Paris Octobre 2024
    • Paris Centre Pompidou Bande dessinée
    • Schanzengraben Zürich
    • Viadukt Jenseits
    • Sechseläuten 2023
    • Once upon a time in London
    • Archive >
      • Retired but not tired
      • Clouds
      • Zürich 2017
      • Luzern >
        • Sing for Australia
      • Locarno 2020
      • Bern 2020
      • Nightshots at Zürich West
      • Lausanne 2020
  • Drawing Events
  • Mr. Ed
    • SHOP Mr. Ed
    • Mr. Ed Child paintings
    • Birthday Card design
    • Ausstellung Heime Kriens >
      • Adolfo Gadea
      • Mr. Ed
      • Anmeldung Vernissage
      • Opening Registration
      • Bild reservieren
      • SHOP Adolfo Gadea
      • SHOP Prints
      • VERKAUFT Adolfo Gadea
  • Colors
  • Annalis Gadea
    • Ueber AnnalLis
    • Bleistiftzeichnungen
    • Elemente
    • Akte
    • Aesthetik des Verfalls
    • Genesis
    • Geometrische Formen
    • Häuser
    • Lanzarotte
    • nachbearbeitete Fotos
    • organisch abstract
    • Pflanzen
    • Schwäne und Schnecken
    • Toscana
    • Transformationen
    • Diverse Themen
  • Programming
    • Python
    • JavaScript
  • Museums
    • Museum Paul Klee
    • Hans Glanzmann
  • Disclaimer
  • Photolaundry
  • Corona
  • TAGGER.BIZ SUPPORT
  • TAGGER.BIZ
    • Demo TAGGER.biz
    • Lightroom synchronizing
  • Photoblog
  • Photolaundry 2021