Movatterモバイル変換


[0]ホーム

URL:


The Python Standard REPL: Try Out Code and Ideas Quickly

Getting the Most Out of the Python Standard REPL

Darren Jones
Start Now
Rate and Review

The Python standard shell, orREPL (Read-Eval-Print Loop), allows you to run Python code interactively while working on a project or learning the language. This tool is available in every Python installation, so you can use it at any moment.

As a Python developer, you’ll spend a considerable part of your coding time in a REPL session because this tool allows you to test new ideas, explore and experiment with new tools and libraries, refactor and debug your code, and try out examples.

In this video course, you’ll learn how to:

  • Run the Pythonstandard REPL, or interactive shell
  • Write and executePython code in an interactive session
  • Quicklyedit,modify, andreuse code in a REPL session
  • Gethelp andintrospect your code in an interactive session
  • Tweak some features of the standard REPL
  • Identify the standard REPL’smissing features

You’ll also learn about available feature-rich REPLs, such asIDLE,IPython,bpython, andptpython.

To get the most out of this video course, you should be familiar with your operating system’s command line, or terminal. You should also know the basics of using thepython command to run your code.

What’s Included:

Downloadable Resources:

Related Learning Paths:

Start Now

Getting to Know the Python Standard REPL

3 Lessons 15m

  1. 1. Getting the Most Out of the Python Standard REPL (Overview)01:50
  2. 2. Getting to Know the Python Standard REPL05:14
  3. 3. Starting and Ending REPL Interactive Sessions08:25

Running Code in the Standard REPL

2 Lessons 14m

  1. 1. Running Code in a REPL Session07:53
  2. 2. Errors, Special Variables, and Reloading Imported Modules06:29

Doing More With Your Code in the Standard REPL

2 Lessons 12m

  1. 1. Editing Code in the Standard REPL06:25
  2. 2. Getting Help and Introspecting Code in the Standard REPL05:59

Making the Python REPL Your Own

4 Lessons 14m

  1. 1. Customizing the Standard REPL06:12
  2. 2. Colorizing REPL Output With Rich03:08
  3. 3. Missing Features and Alternative REPLs03:35
  4. 4. Getting to Know the Python Standard REPL (Summary)01:16
Start Now

AboutDarren Jones

With 20 years as a teacher of music technology, Darren is keen to bring his skills to the Python table.

» More about Darren

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Related Courses:

← Browse All Courses


[8]ページ先頭

©2009-2026 Movatter.jp