How To Build an Interactive Blackjack Game in Python

This coding project includes the full source code and step-by-step instructions.

This week we’re sharing a new Python project, including source code and a step-by-step tutorial. We’re also going to cover how to merge PDFs effortlessly with Python, not to mention Number Formatting, and some Linux commands that appear to be pointless.

This Week’s Resources

New Python Project: Build a Blackjack Game

We're super excited to share this new Python project. This one’s all about creating a fully functional Blackjack game with a GUI using PyQt5. It’s a perfect mix of game logic, Object-Oriented Programming (OOP), UI development, and event handling—all in one project.

This is an excellent way to level up your Python skills while building something interactive and fun. Plus, it makes for a great portfolio project to showcase Python and UI development expertise.

You can follow along as we build this, and we’ll be sharing all the code so you can tweak and improve it however you want!

How to Merge PDFs with Python

Want to build a fully functional PDF Merger app using Python? This step-by-step video tutorial (only about 30 minutes) walks you through creating a GUI-based tool with Tkinter and PyPDF2 to merge multiple PDFs effortlessly.

Specifically, the video covers:

  • How to set up Tkinter for a user-friendly GUI

  • How to use PyPDF2 to combine PDF files

  • How to add and remove files dynamically before merging

  • How to implement Object-Oriented Programming (OOP) for clean, reusable code

  • How to save the merged PDF

And make sure to check out the upcoming walkthroughs. We’ve got a fun project that automates log error notifications coming up soon. It detects errors and sends instant email notifications.

We will have the full walkthrough, including the full source code for the project, on Hackr.io.

Did someone forward you this email? Sign up to get more like this!

Partner Messages

The gold standard of business news

Morning Brew is transforming the way working professionals consume business news.

They skip the jargon and lengthy stories, and instead serve up the news impacting your life and career with a hint of wit and humor. This way, you’ll actually enjoy reading the news—and the information sticks.

Best part? Morning Brew’s newsletter is completely free. Sign up in just 10 seconds and if you realize that you prefer long, dense, and boring business news—you can always go back to it.

There’s a reason 400,000 professionals read this daily.

Join The AI Report, trusted by 400,000+ professionals at Google, Microsoft, and OpenAI. Get daily insights, tools, and strategies to master practical AI skills that drive results.

Understanding Number Formatting

Want to display numbers cleanly in your Python projects? We just released a quick guide to Python number formatting that covers the best ways to format numbers for readability and presentation.

Specifically, this guide covers:

  • How to format numbers using format()

  • Why f-strings are the best modern approach

  • Adding thousands separators for large numbers

  • Formatting numbers as currency

  • Displaying percentages and scientific notation

  • Aligning numbers for structured output

num = 1234.5678
print(f"Formatted number: {num:.2f}")

There are plenty of ways to apply number formatting. Read the full guide to see them all.

Where to Learn AI

If you’ve been looking for a way to break into AI, now’s your chance. From February 17th to 23rd, DataCamp is offering free access to all its AI courses, career tracks, and certifications.

Whether you're a beginner or an experienced developer, this is an opportunity to gain hands-on AI skills, work on real-world projects, and earn industry-recognized certifications—all at no cost.

Are These 5 Linux Commands Completely Pointless?

Not every Linux command is a game-changer—some are just relics of the past that still linger in modern systems. While Linux is known for its powerful command-line tools, there are a few commands that make you pause and wonder, Why is this still a thing?

Here’s a look at five peculiar Linux commands that might leave you scratching your head.

The Code Editor

Did you know about the free Python, HTML, and JavaScript code editor? Just log into your free account at Hackr.io to use them.

Rate this Newsletter

The team at Hackr.io aims to provide the best information possible. Please let us know how we're doing!

Login or Subscribe to participate in polls.