Python Minigames

Nonogram you own this product

This project is part of the liveProject series Python Minigames
Python basics • pandas basics • Jupyter Notebook basics
skills learned
image manipulation • NumPy • table styling • file I/O • HTML • CSS • debugging • Pillow • pixelate • regular • expressions
Jaya Moore
1 week · 6-8 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • share your subscription with another person
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Look inside

In this liveProject, you’ll use Python to build a nonogram puzzle generator that creates a printable puzzle pack from the command line. Nonograms are puzzles that reveal an image on a grid, based on numbers along the grid’s edge. Most programmatic implementations solve nonograms, but yours will generate them. To do this, you’ll code your script, relying on two essential data structures: the pandas DataFrame and the NumPy array. You’ll also experiment with image libraries including Pillow and pixelate, and gain a better understanding of basic image processing concepts.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Jaya Moore
Jaya Moore is a developer enablement professional with a specialization in developer education. She has extensive experience serving organizations across the world as a technical writer, web developer, and data scientist. She has been learning and writing about Python for over six years.


This liveProject is for intermediate-level Python practitioners who are comfortable with the basics of operating on data structures, defining functions, importing third-party libraries, and debugging your code. To begin this liveProject, you will need to be familiar with the following:

  • Basic Python
  • Basic pandas
  • Describing data structures
  • Converting between data structures
  • Installing third-party libraries
  • Running a Python script from the command line

you will learn

In this liveProject, you’ll build a script that will generate a PDF file for a nonogram puzzle from an image. The skills you’ll learn throughout this project will be directly applicable to your job as a software developer, analyst, or data scientist.

  • Manipulating image files
  • Pillow library
  • pixelate library
  • regular expressions
  • Styling a DataFrame
  • Basic HTML and CSS
  • Exporting a table as an image file
  • Generating PDF files
  • Converting between data structures


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Nonogram project for free