teachmepython.bsky.social
@teachmepython.bsky.social
My #Python Black Friday sale is ending in 3 days!

Get 50% off of any of my Python eBooks or courses!
November 28, 2025 at 9:02 AM
The Python Logging eBook is 50% off this week

Learn all about how to log with #Python today!
November 26, 2025 at 9:56 AM
Did you know you can create a class in #Python without using the `class` directive?

See the following example to learn how:
November 25, 2025 at 6:04 PM
I'm having a #Python eBook and course sale all week long.

If you enjoy Python quizzes that will test your Python knowledge, check out my Python Quiz Book, which has over 100 quizzes and answers!
November 25, 2025 at 2:03 PM
My #Python Black Friday sale came early.

Learn how to work with Excel using Python in my book, Automating Excel with Python
November 24, 2025 at 7:18 PM
How to convert a CSV file to Excel with THREE lines of code using #Python and pandas 🐍🐼
November 24, 2025 at 3:15 PM
If you couldn't use #Python anymore, which language would you switch to and why?
November 21, 2025 at 9:00 AM
How to use #Python's built-in `setattr()` function 🐍🚀
November 20, 2025 at 7:57 PM
How to use the builtin `getattr()` function in #Python 🐍🔥
November 20, 2025 at 4:00 PM
Did you know that #Python's `print()` function has extra parameters?

You can use `sep` to add a separator and `end` to add an ending string.

There are some other params too that I might talk about in a future tweet!
November 19, 2025 at 6:47 PM
Have you ever used #Python's `format()` method?

It's a way to convert a value to a “formatted” representation

Here are a few examples:
November 19, 2025 at 2:19 PM
Get all my #Python eBooks for $100 during my Black Friday deals.

This deal is running now until the end of November and has all ELEVEN of my books:

🐍 Python 101
🐍 Python 201: Intermediate Python
🐍 The Python Quiz Book
🐍 Automating Excel with Python
🐍 Python Logging
🐍 and more!
November 18, 2025 at 1:56 PM
How to use #Python's handy built-in reversed() function:
November 17, 2025 at 8:07 PM
I am starting my Black Friday deals early this year. Starting today and running through the end of the month, you can get 50% off any of my #Python books or courses using this coupon: BLACKISBACK
November 17, 2025 at 1:34 PM
How to use OpenPyXL to convert an Excel to a CSV file 🐍⚡
November 13, 2025 at 1:30 PM
#Python power using the built-in `pow()` method

pow(base, exponent)
November 12, 2025 at 7:56 PM
How to get the minimum and maximum values of a sequence in #Python using built-in functions.

Note that both functions also have a handy default parameter you can set if the sequences are empty
November 11, 2025 at 9:37 PM
The latest edition of The Python Papers Newsletter is out!

Learn about #Python conditional statements today!
November 11, 2025 at 5:57 PM
Last week, I mentioned a neat way to plot in your terminal with #Python

But there are other terminal plotting libraries too. For example, you can plot with Textual if you get the textual-plot package.

Here's an example:
November 10, 2025 at 2:35 PM
Speaking of plotting sine waves with #Python, here's another example that uses the uniplot package.

Uniplot is a plotting library for your terminal
November 6, 2025 at 9:36 PM
Do you need to change your #Python script's return code depending on whether it fails or not?

Use Python's `sys` module! 🐍🤘

Here's how to do it:
November 6, 2025 at 2:16 PM
How to create a sine wave with #Python using the Bokeh and numpy packages 🐍🔥
November 5, 2025 at 6:54 PM
The latest edition of the Python Papers newsletter is hot off the press

Learn about Python's numeric types in today's article!

open.substack.com/pub/pypaper...
Python 101 - Numeric Types
Python is a little different than some languages in that it only has three built-in numeric types.
www.pythonpapers.com
November 5, 2025 at 2:06 PM
Oxylabs is a well known web scraping company with ten years experence.

They have created a #Python web scraper package. You can use Oxylabs to get data from e-commerce websites, search engines, real estate platforms, and more.

Here's a simple example of scraping Bing search results:
November 4, 2025 at 6:02 PM
Which version of Linux did you start with and which one do you use now?
November 4, 2025 at 2:10 PM