All posts by Mike

PyDev of the Week: Sebastian Steins

This week we welcome Sebastian Steins (@sebastiansteins) as our PyDev of the Week! Sebastian is the creator of the Pythonic News website. You can find out more about Sebastian by checking out what he’s been up to over on Github. Let’s take a few moments to get to know him better!

Sebastian Steins

Can you tell us a little about yourself (hobbies, education, etc):

I am a software developer from Germany and live close to the Dutch and Belgian border. The internet emerged when I was in school. I have always been fascinated by computers and wanted to learn to program. Unfortunately, this was not so easy at the time, and I did not have teachers who could have supported me in that matter. It changed, however, when I got my first modem. The internet opened a whole new world for me, and I started to learn HTML, Perl and later, PHP. I built CGI scripts and small web apps back then, and it was really fun. Eventually, I took programming as my career path, although I sometimes struggled with that decision. Besides my degree in computer science, I also heard lectures on economics and had a few positions in the finance sector early in my career. Now, I enjoy coaching teams of great software engineers in architecture matters and try to pass my knowledge to junior devs.

When I’m not in front of a computer, I like to ride my road bike, learn new stuff from audiobooks and would never say no to a night out in a good restaurant. Continue reading PyDev of the Week: Sebastian Steins

Adding Notifications to Long-Running Jupyter Notebook Cells

If you use Jupyter Notebook to run long-running processes, such as machine learning training, then you would probably like to know when the cell finishes executing. There is a neat browser plugin that you can use to help solve this issue called jupyter-notify. It will allow you to have your browser send a pop-up message when the cell finishes executing.

The notification will look something like this:

jupyter-notify sample image

Let’s learn how you can add this notification to your Jupyter Notebook! Continue reading Adding Notifications to Long-Running Jupyter Notebook Cells

Two New Typosquatting Libraries Found on PyPI

Two new malicious packages were found on the Python Packaging Index (PyPI) that were designed to steal GPG and SSH keys according to ZDNet. The packages were named python3-dateutil and jeIlyfish where the first “L” is actually an I. These two libraries mimicked the dateutil and jellyfish packages respectively.

The fake python3-dateutil would import the fake jeIlyfish library which housed the malicious code that would attempt to steal GPG and SSH keys. While both of these libraries have been removed from PyPI, this is just another reminder to always be sure that you are installing the right package.

For full details, check out the ZDNet article as it breaks down how the libraries work.

Related Reading

PyDev of the Week: Bob Belderbos

This week we welcome Bob Belderbos (@bbelderbos) as our PyDev of the Week! Bob is a co-founder of PyBites. Bob has also contributed to Real Python and he’s a Talk Python trainer. You can learn more about Bob by checking out his website or visiting his Github profile. Let’s spend some quality time getting to know Bob better!

Can you tell us a little about yourself (hobbies, education, etc):

I am a software developer currently working at Oracle in the Global Construction Engineering group. But I am probably better known as co-founder of PyBites, a community that masters Python through code challenges.

I have a business economics background. After finishing my studies in 2004 though, I migrated from Holland to Spain and started working in the IT industry. I got fired up about programming. I taught myself web design and coding and started living my biggest passion: automate the boring stuff making other people’s lives easier.

When not coding I love spending time with my family (dad of 2), working out, reading books and (if time allows one day) would love to pick up painting and Italian again 🙂

Continue reading PyDev of the Week: Bob Belderbos

Black Friday Deals on Python Books

Interesting in learning Python? Well you will be happy to know that I am running a Black Friday / Cyber Monday sale of my Python books. But I am starting the sale early so that you have plenty of time to decide if you’d like to buy one of my books. Check them out below!

All My Python Books

Note that Python 101 is free. You can bump the amount to pay all the way down to $0 if you’d like a free copy.

Also note that all my books have free sample chapters so you can check those out before you purchase.


Creating GUI Applications with wxPython

Creating GUI Applications with wxPython is my latest book. In it you will learn how to create cross-platform desktop applications using wxPython. Use this link or click the image above to get a discount.


Jupyter Notebook 101

The Jupyter Notebook is a great teaching tool and it’s a fun way to use and learn Python and data science. I wrote a nice introductory book on the topic called Jupyter Notebook 101.


ReportLab – PDF Processing with Python

Creating and manipulating PDFs with Python is fun! In ReportLab – PDF Processing with Python you will learn how to create PDFs using the ReportLab package. You will also learn how to manipulate pre-existing PDFs using PyPDF2 and pdfrw as well as a few other handy PDF-related Python packages.


Python 201: Intermediate Python

Python 201: Intermediate Python

Python 201: Intermediate Python is a sequel to my first book, Python 101 and teaches its readers intermediate to advanced topics in Python.

PyDev of the Week: Miguel Grinberg

This week we welcome Miguel Grinberg (@miguelgrinberg) as our PyDev of the Week! Miguel is the author of Flask Web Development and the very popular Flask Mega-Tutorial. You can find out more about Miguel by checking out his blog or his Github profile. Let’s spend some time getting to know Miguel better!

Can you tell us a little about yourself (hobbies, education, etc):

I was born in Buenos Aires, Argentina. Shortly after graduating from college with a Masters degree in Computer Science I was lucky to be offered a job in the United States, so I relocated to Portland, Oregon with my wife. We raised a family there and lived happily for several years. In 2018 we relocated once again, this time to Ireland. We plan to spend a few years on this side of the pond to be closer to my wife’s family and to be able to travel through Europe, but Portland is still our home and I’m pretty sure we will eventually return to America.

In terms of hobbies I have to say that by all standards I’m a fairly boring person. Outside of coding (which I do professionally and also as a hobby), what I enjoy the most is playing the Ukulele. I have a small collection of them, and I have recently expanded it with a Mandolin, which seemed appropriate now that I’m in Ireland. Everyone here seems to be in a band of some sort, so maybe one day I’ll join one as well, who knows! Continue reading PyDev of the Week: Miguel Grinberg

PyDev of the Week: Martin Uribe

This week we welcome Martin Uribe (@clamytoe) as our PyDev of the Week! Martin helps out at PyBites. You can find him on PyBite’s Slack channel answering lots of Python related questions. You can also find out what Martin is up to via his Github or LinkedIn profiles. Let’s take a few moments to get to know Martin better!

Can you tell us a little about yourself (hobbies, education, etc):

I’m 46 and happily married with 8 kids. Born and raised in South Central L.A. I joined the California National Guard while I was still in high school. I went to Basic Training between my 11th and 12th grades; came back and graduated with honors and was gone within the month for Advanced Initial Training where they taught me how to fix helicopter radios. After a couple of years I decided to enlisted full-time in the regular Army and did a stint for another 8 years in Automated Logistics and got an honorable discharge as a Sergeant in 2001.

Before getting out, I got in a semester of full-time college as part of a re-enlistment bonus. I loved it and I hit the books pretty hard. I was so pumped to learn that I pushed myself to continue to grow when I went back to work. As a result, I was able to get my MCSE, MCP+I and A+ certifications which allowed me to get into the role that I still hold as a Senior Field Engineer for Fidelity. I’m contracted out to one of our many customers, PNC Bank, at their Dallas lockbox location. The title has changed over the years but it entails a lot of hardware and software support. In case you don’t know, a lockbox is where everyone’s checks go for processing when they make a payment over snail mail. Everything gets imaged front and back and entered into the bank’s system and the banks customers can access their documents through a secure proxy connection immediately. The money transfers are made the next day once the checks have cleared. At the end of the month, the banks customers images are placed on encrypted CD’s or DVD’s and mailed out to them.

To blow some steam I like to play Minecraft with my kids, edit movies, play Beat Saber, take online courses, and do some Python coding. Continue reading PyDev of the Week: Martin Uribe

PyDev of the Week: Vuyisile Ndlovu

This week we welcome Vuyisile Ndlovu (@terrameijar) as our PyDev of the Week! Vuyisile is a contributor to Real Python and a Python blogger on his own website. He is also active in the Python community in Africa. You can find out more about Vuyisile on his website or by checking out his Github profile. Let’s take some time to get to know him better!

VuyisileNdlovu

Can you tell us a little about yourself (hobbies, education, etc):

I’m a developer from Bulawayo, Zimbabwe. I have always been fascinated by computers so after I completed High School, I enrolled for an I.T Diploma program at a local community college that had programming as part of the curriculum. Unfortunately, my situation changed and I couldn’t graduate in the end. I switched to teaching myself computer science topics and programming through online courses and books.

When I’m not working on code, I like to work on woodworking projects in the backyard and taking my dogs for regular walks. Doing this allows me to take a break from tech, be creative in different ways and also get some exercise. Continue reading PyDev of the Week: Vuyisile Ndlovu

PyDev of the Week: Joannah Nanjekye

This week we welcome Joannah Nanjekye (@Captain_Joannah) as our PyDev of the Week! Joannah is a core developer of the Python programming language. She is also the author of Python 2 and 3 Compatibility. You can find out more about Joannah on here website. Let’s take a few moments to get to know her better!

Can you tell us a little about yourself (hobbies, education, etc):

I am Joannah Nanjekye, I live in Canada, Fredericton but I am originally from Uganda in East Africa. I am a CS grad and doing research related to Python in one of the Python IBM labs at UNB. I went to University in Uganda and Kenya where I studied Software Engineering at Makerere University and Aeronautical Engineering at Kenya Aeronautical College respectively. I am also the Author of Python 2 and 3 compatibility, a book published by Apress. I do not have any serious hobbies but I love flying aircraft. Very expensive hobby heh!! Continue reading PyDev of the Week: Joannah Nanjekye

The Demos for PySimpleGUI

The PySimpleGUI project has a lot of interesting demos included with their project that you can use to learn how to use PySimpleGUI. The demos cover all the basic widgets as far as I can tell and they also cover the recommended design patterns for the package. In addition, there are a couple of games and other tiny applications too, such as a version of Pong and the Snake game.

In this article, you will see a small sampling of the demos from the project that will give you some idea of what you can do with PySimpleGUI.


Seeing the Available Widgets

PySimpleGUI has a nice little demo called Demo_All_Widgets.py that demonstrates almost all the widgets that PySimpleGUI supports currently. PySimpleGUI has wrapped all of Tkinter’s core widgets, but not the ttk widgets.

This is what the demo looks like when you run it:

All PySimple GUI Widgets

Let’s take a quick look at the code for this demo: Continue reading The Demos for PySimpleGUI