Python 3.8, released in October 2019, adds assignment expressions to Python via the
:=syntax. The assignment expression syntax is also sometimes called “the walrus operator” because
:=vaguely resembles a walrus with tusks.
Assignment expressions allow variable assignments to occur inside of larger expressions. While assignment expressions are never strictly necessary to write correct Python code, they can help make existing Python code more concise. ….. In this tutorial, you will use assignment expressions in several examples to produce concise sections of code.
Learn how strings are handled in the Python programming language with this guide.
Looking to take your Python code from the world of command lines and into the convenience of a GUI? Have a Raspberry Pi with a touchscreen that’s going to waste because you don’t have the time to learn a GUI SDK? Look no further, you’ve found your GUI package.
Source: PySimpleGUI (Github)
Note: Scroll down the page for instructions and sample usage. This really does seem like an easy way for Python users to add GUI interfaces to their Python scripts. The author has said in a Reddit post that “It’s based only on tkinter. Zero package dependencies. And it’s a single .py file. That means not much can go wrong.” And that it “Works in Windows, Linux, Mac. Running on my Pi board that has 3.4 installed on it.”
If you need a quick web server running and you don’t want to mess with setting up apache or something similar, then Python can help. Python comes with a simple builtin HTTP server. With the help of this little HTTP server you can turn any directory in your system into your web server directory. The only thing you need to have installed is Python.
Practically speaking this is very useful to share files inside your local network. Implementing this tiny but hugely useful HTTP server is very simple…
Check out these great Python tools for crawling and scraping the web, and parsing out the data you need.