Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bonus materials, exercises, and example projects for our Python tutorials

License

NotificationsYou must be signed in to change notification settings

realpython/materials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bonus materials, exercises, and example projects for Real Python'sPython tutorials.

Build Status:GitHub Actions

Got a Question?

The best way to get support for Real Python courses, articles, and code in this repository is to join one of ourweekly Office Hours calls or to ask your question in theRP Community Chat.

Due to time constraints, we cannot provide 1:1 support via GitHub. See you on Slack or on the next Office Hours call 🙂

Adding Source Code & Sample Projects to This Repo (RP Contributors)

Running Code Style Checks

We useRuff to ensure a consistent code style and formatting for all of our sample code in this repository.

Run the following commands to validate your code against the linters:

$ ruff format --check$ ruff check

Make sure you're using the exact Ruff version specified inrequirements.txt.

Running Python Code Formatter

Ruff can automatically ensure a consistent code formatting in this repository. On CI, it runs in "check" mode to ensure any new files added to the repo followPEP 8. If you see linter warnings that say something like "would reformat some_file.py", then it means that Ruff disagrees with your formatting.

The easiest way to resolve these errors is to run Ruff locally on the code and then commit those changes, as explained below.

To automatically reformat your code to be consistent with our code style guidelines, runRuff in the repository root folder:

$ ruff format$ ruff check --fix

About

Bonus materials, exercises, and example projects for our Python tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors70


[8]ページ先頭

©2009-2026 Movatter.jp