LogoLogo
Computing Skills
Computing Skills
  • Introduction
  • File Directory Structures
  • Text Editors
  • GitHub
  • Unix
  • Julia
    • Installation
    • REPL
    • Basic Syntax
    • Numbers and Math
    • Strings and Characters
    • Regular Expressions
    • Control Flow
    • Collections and Data Structures
    • File Input/Output
    • Packages
    • DataFrames
    • JuliaPlots
    • ScikitLearn.jl
    • JuliaStats
    • Exercises
  • Python
    • Installation
    • REPL
    • Basic Syntax
    • Numbers and Math
    • Strings and Characters
    • Regular Expressions
    • Control Flow
    • Collections and Data Structures
    • File Input/Output
    • Packages
    • Data Frames and Data Manipulation
  • R
    • Installation
    • REPL
    • Basic Syntax
    • Numbers and Math
    • Strings and Characters
    • Regular Expression
    • Control Flow
    • Collections and Data Structures
    • File Input/Output
    • Packages
    • DataFrames
    • Data Analysis and Manipulation
Powered by GitBook
On this page
  • Python REPL Example (local)
  • Python REPL Help Pages (local)
  • Resources
Export as PDF
  1. Python

REPL

PreviousInstallationNextBasic Syntax

Last updated 6 months ago

Python comes with a full-featured interactive command-line REPL (read-eval-print loop) built into the pythonexecutable. In addition to allowing quick and easy evaluation of Python statements, it has a searchable history, tab-completion, many helpful keybindings, and dedicated help ? and shell modes ;.

This page provides examples of using REPL on the command line

Python REPL Example (local)

  • Type python in terminal to launch REPL

Python REPL Help Pages (local)

  • Type "help" to enter help pages within REPL

  • Type a function from Python to read help pages (ex:print)

  • Press q to quit

Resources

Real Python:

The Python Standard REPL: Try Out Code and Ideas Quickly