Python tutorials

Quiz: Creating Great README Files for Your Python Projects

Interactive Quiz ⋅ 5 QuestionsBy Leodanis Pozo Ramos Share Or copy the link: Copied! Happy Pythoning! Test your understanding of how a great README file can make your Python project stand out and how to create your own README files. Take this quiz after reading our Creating Great README Files for Your Python Projects tutorial. The quiz contains 5 questions and there is no time limit. You’ll get 1 point    

Read more

Quiz: Build a Guitar Synthesizer

Interactive Quiz ⋅ 14 QuestionsBy Bartosz Zaczyński Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of what it takes to build a guitar synthesizer in Python. By working through this quiz, you’ll revisit a few key concepts from the music theory and sound synthesis. The quiz contains 14 questions and there is no time limit. You’ll get 1 point for each correct answer.    

Read more

Build a Guitar Synthesizer: Play Musical Tablature in Python

Have you ever wanted to compose music without expensive gear or a professional studio? Maybe you’ve tried to play a musical instrument before but found the manual dexterity required too daunting or time-consuming. If so, you might be interested in harnessing the power of Python to create a guitar synthesizer. By following a few relatively simple steps, you’ll be able to turn your computer into a virtual guitar that can play any song. At any point, you’re welcome to download […]

Read more

Quiz: Ruff: A Modern Python Linter

Interactive Quiz ⋅ 6 QuestionsBy Geir Arne Hjelle Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of Ruff, a modern linter for Python. By working through this quiz, you’ll revisit why you’d want to use Ruff to check your Python code and how it automatically fixes errors, formats your code, and provides optional configurations to enhance your linting. The quiz contains 6 questions    

Read more

Ruff: A Modern Python Linter for Error-Free and Maintainable Code

Linting is essential to writing clean and readable code that you can share with others. A linter, like Ruff, is a tool that analyzes your code and looks for errors, stylistic issues, and suspicious constructs. Linting allows you to address issues and improve your code quality before you commit your code and share it with others. Ruff is a modern linter that’s extremely fast and has a simple interface, making it straightforward to use. It also aims to be a […]

Read more

Quiz: Python Mappings

Interactive Quiz ⋅ 6 QuestionsBy Bartosz Zaczyński Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of the basic characteristics and operations of Python mappings. By working through this quiz, you’ll revisit the key concepts and techniques of creating a custom mapping. The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end    

Read more

Python Mappings: A Comprehensive Guide

One of the main data structures you learn about early in your Python learning journey is the dictionary. Dictionaries are the most common and well-known of Python’s mappings. However, there are other mappings in Python’s standard library and third-party modules. Mappings share common characteristics, and understanding these shared traits will help you use them more effectively. Take the Quiz: Test your knowledge with our interactive “Python Mappings” quiz. You’ll receive a score upon completion to help you track your learning […]

Read more

Listing All Files in a Directory With Python

Getting a list of all the files and folders in a directory is a natural first step for many file-related operations in Python. When looking into it, though, you may be surprised to find various ways to go about it. When you’re faced with many ways of doing something, it can be a good indication that there’s no one-size-fits-all solution to your problems. Most likely, every solution will have its own advantages and trade-offs. This is the case when it […]

Read more

Python News: What’s New From May 2024

May was packed with exciting updates and events in the Python community. This month saw the release of the first beta version of Python 3.13, the conclusion of PyCon US 2024, and the announcement of the keynote speakers for EuroPython 2024. Additionally, PEP 649 has been delayed until the Python 3.14 release, and the Python Software Foundation published its 2023 Annual Impact Report. Get ready to explore the recent highlights! The First Beta Version of Python 3.13 Released After nearly […]

Read more

Quiz: Python String Formatting: Available Tools and Their Features

Interactive Quiz ⋅ 6 QuestionsBy Leodanis Pozo Ramos Share Or copy the link: Copied! Happy Pythoning! Test your understanding of Python’s tools for string formatting, including f-strings, the .format() method, and the modulo operator. Take this quiz after reading our Python String Formatting: Available Tools and Their Features tutorial. The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the    

Read more
1 13 14 15 16 17 183