Skip to content

show-me-the-code

A Chinese-language collection of 100+ small Python practice problems, one per day.

Stars
13.7k
Forks
4.6k
Licence
MIT
Language
—
Last update
7.0 years ago
Type
Learning resource

No commits in over a year — check for forks or alternatives before adopting.

What it is

This is a set of Python practice exercises written in Chinese, with one small programming problem per entry. The problems cover things like generating verification codes, counting words in text files, converting between Excel, XML and text formats, filtering sensitive words, and building simple web apps. The README says it is meant to be worked through as a daily exercise, and that most problems also apply to other languages.

  • Practice generating random letter verification images as an exercise
  • Write a script that counts words in a folder of English text files
  • Convert a text file containing structured data into an Excel or XML file
  • Build a small guestbook or todo web app using a Python web framework

Great for

  • Chinese-speaking beginners who want small, concrete Python exercises
  • Learners who prefer working through a numbered problem list
  • Self-taught programmers looking for project ideas for files, images, and simple web apps

Not ideal for

  • Readers who need English-language material, since the README and problems are in Chinese
  • Learners wanting structured lessons or explanations, since the README mainly lists problems and links to outside references
  • Anyone expecting up-to-date library guidance, since the last push was in 2019
Step-by-step guide: how to use show-me-the-codeInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Read it online

    You'll need: Python 3

    Clone the repository

    git clone https://github.com/Yixiaohan/show-me-the-code
  2. 2

    Run it

    • Open the repository on GitHub and read the README
    • Pick a problem, such as problem 0004 on counting words
    • Write your own solution in a Python file
    • Compare your approach with the reference code linked in the README
  3. 3

    Get the most out of it

    • Work through problems in order, since later ones build on earlier ones such as reusing the image code in problem 0022
    • Use the linked reference solutions after attempting each problem yourself
    • Try adapting problems to other languages, as the README suggests most apply
    • Combine problems, for example saving the codes from problem 0001 into MySQL in problem 0002

Downloads

Strengths

  • Problems are short and specific, so each one is easy to start on
  • Covers a broad range of everyday tasks such as files, databases, and web apps
  • Widely starred and MIT licensed, so it is free to use and adapt

Trade-offs

  • The last push was in 2019, so some referenced libraries and links may be outdated
  • Mostly a problem list; the README gives little guidance on solutions
  • Written in Chinese, which limits its use for English-only readers

How it compares

ProjectStarsTypeLevelUpdatedBest for
show-me-the-code (this)13.7kLearning resourcebeginner7.0 years agoChinese-speaking beginners who want small, concrete Python exercises
learn-claude-code79.7kLearning resourceintermediate10 days agoDevelopers who want to understand how coding agents like Claude Code are structured
first-contributions56.7kLearning resourcebeginner4 days agoPeople who have never submitted a pull request to an open source project
100-Days-Of-ML-Code52kLearning resourcebeginner2.9 years agoBeginners who want a day-by-day sequence of basic machine learning topics
claude-howto46.4kLearning resourcebeginner4 days agoDevelopers who have installed Claude Code and want to go beyond basic prompts
js-stack-from-scratch20.1kLearning resourceintermediate2.4 years agoDevelopers who already know JavaScript basics and want to understand how a React and Node setup is put together

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.