Reuven Lerner: Announcing: Free, weekly “Python for non-programmers” workshop

This is a tough time for the world. Wherever you live, you have likely been affected by covid-19, the coronavirus that has been making its way to every country, city, and town. Many countries, companies, and individuals are now restricted to their homes.  This can be frustrating in many ways.  Moreover, I’m not alone in believing that we’re about to see some very troubled times for the world economy. I’ve been trying to decide what I can do, as a Python instructor, to help people in these trying times.  And…

Read More
Programming 

PyCoder’s Weekly: Issue #411 (March 10, 2020)

#411 – MARCH 10, 2020 View in Browser » Post-Mortem Python Plotting Who loves debugging things that only fail occasionally? Just me? Maybe you need to check out Andy Jones’ extract() function that “magically” extracts a caller’s environment into an IPython interpreter session. Mix in a little post-mortem debugging with Jupyter’s %debug magic command, and you’ll be painlessly debugging finicky code in no time. ANDY JONES How to Use Jupyter Notebooks in 2020 In this first of a three-part blog post, LJ Miranda surveys the data science landscape and discusses…

Read More
Programming 

PyCoder’s Weekly: Issue #410 (March 3, 2020)

#410 – MARCH 3, 2020 View in Browser » Advanced Usage of Python Requests “While it’s easy to immediately be productive with requests because of the simple API, the library also offers extensibility for advanced use cases. If you’re writing an API-heavy client or a web scraper you’ll probably need tolerance for network failures, helpful debugging traces and syntactic sugar.” DANI HODOVIC EOF Is Not a Character Do you know how an application knows when a read operation reaches the end of a file? In this interesting read, explore what…

Read More
Programming 

PyCoder’s Weekly: Issue #408 (Feb. 18, 2020)

#408 – FEBRUARY 18, 2020 View in Browser » Finding the Perfect Python Code Editor Find your perfect Python development setup with this review of Python IDEs and code editors. Writing Python using IDLE or the Python REPL is great for simple things, but not ideal for larger programming projects. With this course you’ll get an overview of the most common Python coding environments to help you make an informed decision. REAL PYTHON video Overloading Functions in Python Python does not natively support function overloading (having multiple functions with the…

Read More
Programming 

PyCoder’s Weekly: Issue #407 (Feb. 11, 2020)

#407 – FEBRUARY 11, 2020 View in Browser » Understanding Best-Practice Python Tooling by Comparing Popular Project Templates “Use Flake8, pytest, and Sphinx in your current Python project. Also evaluate pre-commit, black, and Pylint. For your next project, consider adding poetry and Dependabot.” JONAS KEMPER Playing and Recording Sound in Python Learn about libraries that can be used for playing and recording sound in Python, such as PyAudio and python-sounddevice. You’ll also see code snippets for playing and recording sound files and arrays, as well as for converting between different…

Read More
Programming 

PyCoder’s Weekly: Issue #405 (Jan. 28, 2020)

#405 – JANUARY 28, 2020 View in Browser » Python GUI Programming With Tkinter In this article, you’ll learn the basics of GUI programming with Tkinter, the de-facto Python GUI framework. Master GUI programming concepts such as widgets, geometry managers, and event handlers. Then, put it all together by building two applications: a temperature converter and a text editor. REAL PYTHON Pythonic Code Review [2016] “In this article I’ll focus on my personal experience in authoring and reviewing Python code from both psychological and technical perspectives. And I’ll do so…

Read More
Programming 

PyCoder’s Weekly: Issue #403 (Jan. 14, 2020)

#403 – JANUARY 14, 2020 View in Browser » A coverage.py Debugging Story Ned was getting reports for a mysterious disk I/O bug in the latest coverage.py release and asked the community for help. Read the crowd-sourced diagnosis on Hacker News and Ned’s follow-up post next. What a journey… NED BATCHELDER The “No Code” Delusion “2020 is going to be the year of ‘no code’: the movement that say you can write business logic and even entire applications without having the training of a software developer. I empathise with people…

Read More
Programming 

Python Data: Python Data Weekly Roundup – Dec 27 2019

In this week’s Python Data Weekly Roundup: Picks On AI Trends from Data Natives 2019 This article provides a good overview of the Data Natives 2019 – Europe meeting and the main trends being discussed for 2020 and beyond.  For example, topics such as “AI and its use in Healthcare” and “AI and Ethics” looked like good talks. Ray for the Curious An excellent review of “Ray”, a distributed computing system for python.  Ray is: is an open-source system for scaling Python applications from single machines to large clusters. Its…

Read More
Programming 

PyCoder’s Weekly: Issue #400 (Dec. 24, 2019)

#400 – DECEMBER 24, 2019 View in Browser » Python Dictionary Iteration: Advanced Tips & Tricks In this intermediate-level course, you’ll take a deep dive into how to iterate through a dictionary in Python. Dictionaries are a fundamental data structure, and you’ll be able to solve a wide variety of programming problems by iterating through them. REAL PYTHON video Introduction to ASGI: Emergence of an Async Python Web Ecosystem “If you were thinking Python had been getting locked into data science, think again! Python web development is back with an…

Read More

PyCoder’s Weekly: Issue #398 (Dec. 10, 2019)

#398 – DECEMBER 10, 2019 View in Browser » MicroPython: An Intro to Programming Hardware in Python Are you interested in the Internet of Things, home automation, and connected devices? In this tutorial, you’ll learn about MicroPython and the world of electronics hardware. You’ll set up your board, write your code, and deploy a MicroPython project to your own device. REAL PYTHON PEP 591: Adding a final Qualifier to Typing This PEP proposes a final qualifier to be added to the typing module—in the form of a final decorator and…

Read More