← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

PyLings Released: Python Exercise Tool for Interview Practice

🔄 Updated 23h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • PyLings offers 55 Python exercises for practice.
  • Includes 35 warm-ups and 20 interview questions.
  • Interactive tool re-runs tests on file save.
  • No external dependencies; supports Python 3.14.

Introduction to PyLings

PyLings is a newly released command-line tool designed to help developers practice Python programming and prepare for technical interviews. It provides a structured set of exercises, drawing inspiration from the Rustlings project, which offers a similar interactive learning environment for Rust.

Exercise Structure and Features

The tool includes a total of 55 exercises: 35 warm-up problems and 20 interview-specific questions, ranging in difficulty from easy to hard. Users interact with PyLings by running `python3 -m pylings`, which opens the next exercise. The system automatically re-runs tests for the current exercise every time the user saves their code, providing immediate feedback.

Key commands within PyLings include `n` for next exercise, `h` for hints, `r` to re-run tests, `l` to list exercises, `c` to check all, `x` to reset, `s` to view solutions, and `q` to quit. Solutions are stored in a `solutions/` directory, and interview questions are categorized into `questions/middle.md` and `questions/senior.md`.

Interview Preparation Focus

PyLings emphasizes interview preparation by advising users to consider edge cases before coding and to answer discussion questions provided at the end of each exercise after tests pass. This approach mirrors typical technical interview scenarios where understanding and explaining solutions are as important as writing correct code.

Technical Details

PyLings is built for Python 3.14 and has no external dependencies, making it easy to set up and use. Users can also run specific tests using `python3 -m unittest discover -s tests -p "test_ex05*" -v` or check reference solutions by setting an environment variable: `SOLUTIONS=1 python3 -m unittest discover -s tests`.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

PyLings, a new command-line tool, offers 35 warm-up exercises and 20 interview-style problems for Python 3.14. It provides a Rustlings-like interactive learning experience, automatically re-running tests upon file saves to help users practice and prepare for technical interviews.