Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
prurph
/
ptpython
Public
forked from
prompt-toolkit/ptpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
ptpython
examples
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 17, 2025
Fix string escaping error in config example.
jonathanslenders
committed
ed597e1
View commit details
Copy full SHA for ed597e1
View code at this point
Browse repository at this point
Commits on Nov 10, 2025
Note in config example where the file goes on Windows
tapple-cisco
authored and
jonathanslenders
committed
d29f20d
View commit details
Copy full SHA for d29f20d
View code at this point
Browse repository at this point
Commits on Apr 10, 2025
Typecheck examples.
jonathanslenders
committed
fb4949a
View commit details
Copy full SHA for fb4949a
View code at this point
Browse repository at this point
Use f-strings instead of %-style formatting.
jonathanslenders
committed
04235d7
View commit details
Copy full SHA for 04235d7
View code at this point
Browse repository at this point
Commits on May 16, 2024
Apply latest Ruff for formatting.
jonathanslenders
committed
5fb21bd
View commit details
Copy full SHA for 5fb21bd
View code at this point
Browse repository at this point
Commits on Dec 12, 2023
Fix type annotations in various places.
jonathanslenders
committed
6801f94
View commit details
Copy full SHA for 6801f94
View code at this point
Browse repository at this point
Commits on Nov 3, 2023
Fix code formatting.
jonathanslenders
committed
46b1076
View commit details
Copy full SHA for 46b1076
View code at this point
Browse repository at this point
Add cursor_shape_config example
Show description for 945426b
teroyks
authored and
jonathanslenders
committed
945426b
View commit details
Copy full SHA for 945426b
View code at this point
Browse repository at this point
Commits on Feb 22, 2023
docs: Fix a few typos
Show description for 2d4b0b0
timgates42
authored and
jonathanslenders
committed
2d4b0b0
View commit details
Copy full SHA for 2d4b0b0
View code at this point
Browse repository at this point
Add macOS path to config.py's docstring (#501)
0xItx
authored
3f24501
View commit details
Copy full SHA for 3f24501
View code at this point
Browse repository at this point
Commits on Jan 24, 2022
Added docs to example config about code colorscheme usage
gitaarik
authored and
jonathanslenders
committed
5449dc4
View commit details
Copy full SHA for 5449dc4
View code at this point
Browse repository at this point
Commits on May 24, 2021
Fixed config example, vi jj remap
jhylands
authored and
jonathanslenders
committed
8d1ee21
View commit details
Copy full SHA for 8d1ee21
View code at this point
Browse repository at this point
Commits on Jan 26, 2021
Added ptpython-in-other-thread.py example.
jonathanslenders
committed
93d45e0
View commit details
Copy full SHA for 93d45e0
View code at this point
Browse repository at this point
Commits on Jan 8, 2021
Removed unused import in example.
jonathanslenders
committed
fe0ef13
View commit details
Copy full SHA for fe0ef13
View code at this point
Browse repository at this point
Commits on Jan 4, 2021
Added option for output formatting and pager for displaying big outputs.
jonathanslenders
committed
8649789
View commit details
Copy full SHA for 8649789
View code at this point
Browse repository at this point
Commits on Dec 7, 2020
Some cleanup to the config file.
jonathanslenders
committed
0409350
View commit details
Copy full SHA for 0409350
View code at this point
Browse repository at this point
Commits on Nov 19, 2020
Update asyncio-python-embed.py
Show description for 626a1b5
termim
authored and
jonathanslenders
committed
626a1b5
View commit details
Copy full SHA for 626a1b5
View code at this point
Browse repository at this point
Commits on Sep 23, 2020
Some changes because of a new Black release.
jonathanslenders
committed
4a81398
View commit details
Copy full SHA for 4a81398
View code at this point
Browse repository at this point
Commits on Aug 10, 2020
Removed old 'from __future__ import unicode_literals' statements.
jonathanslenders
committed
85dab9a
View commit details
Copy full SHA for 85dab9a
View code at this point
Browse repository at this point
Added ssh-and-telnet-embed.py example. Thanks to Vincent Michel.
jonathanslenders
committed
c05c4a6
View commit details
Copy full SHA for c05c4a6
View code at this point
Browse repository at this point
Commits on Aug 6, 2020
Renamed repl.vi_start_in_nav_mode to repl.vi_start_in_navigation_mode.
jonathanslenders
committed
e42c8d6
View commit details
Copy full SHA for e42c8d6
View code at this point
Browse repository at this point
Add config options related to Vi input mode
Show description for 77a5bea
antonalekseev
authored and
jonathanslenders
committed
77a5bea
View commit details
Copy full SHA for 77a5bea
View code at this point
Browse repository at this point
Commits on Jul 10, 2020
Fixed custom style in example config.
jonathanslenders
committed
f5e7fb4
View commit details
Copy full SHA for f5e7fb4
View code at this point
Browse repository at this point
Commits on Apr 14, 2020
Fixed sorting of imports.
jonathanslenders
committed
c1aaf40
View commit details
Copy full SHA for c1aaf40
View code at this point
Browse repository at this point
Fixed python-embed-with-custom-prompt example.
jonathanslenders
committed
7346416
View commit details
Copy full SHA for 7346416
View code at this point
Browse repository at this point
Added 'title' option to ptpython.
jonathanslenders
committed
6bf312f
View commit details
Copy full SHA for 6bf312f
View code at this point
Browse repository at this point
Commits on Feb 18, 2020
Emacs commands in lowercases
Show description for c6952a8
sblondon
authored and
jonathanslenders
committed
c6952a8
View commit details
Copy full SHA for c6952a8
View code at this point
Browse repository at this point
Commits on Jan 27, 2020
Upgrade to prompt_toolkit 3.0.
Show description for ac419e1
jonathanslenders
committed
ac419e1
View commit details
Copy full SHA for ac419e1
View code at this point
Browse repository at this point
Commits on Nov 26, 2019
Add Swap light/dark colors to config example
nasyxx
authored and
jonathanslenders
committed
54709f3
View commit details
Copy full SHA for 54709f3
View code at this point
Browse repository at this point
implement XDG Base Directory specification
Show description for 90c1dad
carlwgeorge
authored and
jonathanslenders
committed
90c1dad
View commit details
Copy full SHA for 90c1dad
View code at this point
Browse repository at this point
Commits on Oct 16, 2019
Added help for windows users to find config location
timsavage
authored and
jonathanslenders
committed
c69f048
View commit details
Copy full SHA for c69f048
View code at this point
Browse repository at this point
Fixed variable from self to repl
Show description for acc75aa
timsavage
authored and
jonathanslenders
committed
acc75aa
View commit details
Copy full SHA for acc75aa
View code at this point
Browse repository at this point
Commits on Oct 9, 2019
Improved autocompletion:
Show description for 19416ee
jonathanslenders
committed
19416ee
View commit details
Copy full SHA for 19416ee
View code at this point
Browse repository at this point
Commits on Feb 6, 2019
small fix in example config
miki725
authored and
jonathanslenders
committed
b1bba26
View commit details
Copy full SHA for b1bba26
View code at this point
Browse repository at this point
fix capturing EOFError in asyncio-python-embed example
derekbrokeit
authored and
jonathanslenders
committed
f68576d
View commit details
Copy full SHA for f68576d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.