Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
inputoutput.rst
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 20, 2018
Remove extra parentheses in output formatting tutorial (GH-8350)
Show description for cb5f3fd
aaqaishtyaq
authored and
Mariatta
committed
cb5f3fd
View commit details
Copy full SHA for cb5f3fd
View code at this point
Browse repository at this point
Commits on Jul 11, 2018
Fix documentation for input and output tutorial (GH-8231)
Show description for 9cffdbf
lysnikolaou
authored and
Mariatta
committed
9cffdbf
View commit details
Copy full SHA for 9cffdbf
View code at this point
Browse repository at this point
Commits on Jul 7, 2018
bpo-28626: rearrange discussion of output formatting to encourage f-strings (#6036)
Show description for ced350b
akuchling
authored
ced350b
View commit details
Copy full SHA for ced350b
View code at this point
Browse repository at this point
Commits on Feb 25, 2018
bpo-25059: Clarify the print separator usage in tutorial (GH-5879)
Show description for 84c4b0c
csabella
authored and
Mariatta
committed
84c4b0c
View commit details
Copy full SHA for 84c4b0c
View code at this point
Browse repository at this point
Commits on Jun 13, 2017
bpo-6519: Improve Python Input Output Tutorial (GH-2143)
Show description for bd4e9e0
akuchling
authored and
Mariatta
committed
bd4e9e0
View commit details
Copy full SHA for bd4e9e0
View code at this point
Browse repository at this point
Commits on Jun 12, 2017
bpo-30621: Update Input Output Tutorial Example(GH-2074)
Show description for 1dbce04
suketa
authored and
Mariatta
committed
1dbce04
View commit details
Copy full SHA for 1dbce04
View code at this point
Browse repository at this point
Commits on May 3, 2017
bpo-28315: Improve code examples in docs (GH-1372)
Show description for 8856940
ultimatecoder
authored and
Mariatta
committed
8856940
View commit details
Copy full SHA for 8856940
View code at this point
Browse repository at this point
Commits on May 10, 2016
Issue #23921: Standardized documentation whitespace formatting.
Show description for c499f30
serhiy-storchaka
committed
c499f30
View commit details
Copy full SHA for c499f30
View code at this point
Browse repository at this point
Issue #23921: Standardized documentation whitespace formatting.
Show description for dba9039
serhiy-storchaka
committed
dba9039
View commit details
Copy full SHA for dba9039
View code at this point
Browse repository at this point
Commits on Feb 22, 2016
merge with 3.5
birkenfeld
committed
2d43bc2
View commit details
Copy full SHA for 2d43bc2
View code at this point
Browse repository at this point
Update example; str(float) changed so there is difference now.
birkenfeld
committed
f1d371b
View commit details
Copy full SHA for f1d371b
View code at this point
Browse repository at this point
Commits on Feb 13, 2016
Issue #25179: Documentation for formatted string literals aka f-strings
Show description for bc1ee46
vadmium
committed
bc1ee46
View commit details
Copy full SHA for bc1ee46
View code at this point
Browse repository at this point
Commits on Jan 12, 2016
#26001: mention in the tutorial that files in binary mode expect bytes, not str.
ezio-melotti
committed
397bb24
View commit details
Copy full SHA for 397bb24
View code at this point
Browse repository at this point
Commits on Jul 29, 2015
Issue #24729: Correct reference to open function.
jaraco
committed
842c074
View commit details
Copy full SHA for 842c074
View code at this point
Browse repository at this point
Commits on Jul 28, 2015
Issue #24729: Update tutorial to match implementation.
Alessandro Cucci
committed
d8de44b
View commit details
Copy full SHA for d8de44b
View code at this point
Browse repository at this point
Commits on Oct 30, 2014
Doc: fix default role usage (except in unittest mock docs)
birkenfeld
committed
6b4c847
View commit details
Copy full SHA for 6b4c847
View code at this point
Browse repository at this point
Commits on Dec 5, 2013
Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module.
pitrou
committed
dd799d2
View commit details
Copy full SHA for dd799d2
View code at this point
Browse repository at this point
Commits on Jul 30, 2013
#16273: Fix tutorial discussion of seek/tell (opaque text-mode values).
Show description for 1c4e443
bitdancer
committed
1c4e443
View commit details
Copy full SHA for 1c4e443
View code at this point
Browse repository at this point
Commits on May 23, 2013
Issue #18031: %-formatting isn't dead yet and might pull through.
rhettinger
committed
c1939b8
View commit details
Copy full SHA for c1939b8
View code at this point
Browse repository at this point
Commits on Apr 15, 2013
#13510: clarify that f.readlines() is note necessary to iterate over a file. Patch by Dan Riti.
ezio-melotti
committed
ed3cd7e
View commit details
Copy full SHA for ed3cd7e
View code at this point
Browse repository at this point
Commits on Feb 23, 2013
Issue #8890: Stop advertising an insecure use of /tmp in docs
akheron
committed
9f74c6c
View commit details
Copy full SHA for 9f74c6c
View code at this point
Browse repository at this point
Commits on Oct 18, 2012
Clarify universal-newline wording in tutorial (issue #16266).
cjerdonek
committed
5bf7f1f
View commit details
Copy full SHA for 5bf7f1f
View code at this point
Browse repository at this point
Commits on Oct 17, 2012
Issue #16265: Fix collapsing of code sample in tutorial.
Show description for e9cf97c
asvetlov
committed
e9cf97c
View commit details
Copy full SHA for e9cf97c
View code at this point
Browse repository at this point
Commits on Aug 14, 2012
fix typo
sandrotosi
committed
a17ef14
View commit details
Copy full SHA for a17ef14
View code at this point
Browse repository at this point
Commits on Mar 13, 2011
Merge with 3.1.
ezio-melotti
committed
0def5c6
View commit details
Copy full SHA for 0def5c6
View code at this point
Browse repository at this point
Fix markup in inputoutput.rst.
ezio-melotti
committed
2b73660
View commit details
Copy full SHA for 2b73660
View code at this point
Browse repository at this point
Commits on Mar 6, 2011
Merge doc fixes.
birkenfeld
committed
891391b
View commit details
Copy full SHA for 891391b
View code at this point
Browse repository at this point
#11405: do not reference the string module again for its deprecated functions, only for Template class.
birkenfeld
committed
3640e18
View commit details
Copy full SHA for 3640e18
View code at this point
Browse repository at this point
Commits on Feb 24, 2011
Issue #11304: Input/output tutorial - PI is rounded not truncated.
rhettinger
committed
756fe26
View commit details
Copy full SHA for 756fe26
View code at this point
Browse repository at this point
Commits on Oct 6, 2010
Migrate to Sphinx 1.0 C language constructs.
birkenfeld
committed
60203b4
View commit details
Copy full SHA for 60203b4
View code at this point
Browse repository at this point
Commits on Sep 15, 2010
Merged revisions 84827-84829 via svnmerge from
Show description for 25d535e
pitrou
committed
25d535e
View commit details
Copy full SHA for 25d535e
View code at this point
Browse repository at this point
Add cross-references to the glossary entry for file objects.
pitrou
committed
11cb961
View commit details
Copy full SHA for 11cb961
View code at this point
Browse repository at this point
Commits on Sep 1, 2009
Merged revisions 74613,74615,74619-74620,74622 via svnmerge from
Show description for 7baf625
birkenfeld
committed
7baf625
View commit details
Copy full SHA for 7baf625
View code at this point
Browse repository at this point
Recorded merge of revisions 74614 via svnmerge from
Show description for 2f3ed68
birkenfeld
committed
2f3ed68
View commit details
Copy full SHA for 2f3ed68
View code at this point
Browse repository at this point
Commits on Aug 13, 2009
Merged revisions 74264 via svnmerge from
Show description for 01a3052
birkenfeld
committed
01a3052
View commit details
Copy full SHA for 01a3052
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.