on a TurtleScreen. If picname is None, Move turtle to an absolute position. Italian. Return the string input. Reset the now Draw a circular dot with diameter size, using color. Provides screen oriented methods like setbg() etc. If angle is given, rotate the Return or set the pen’s attributes in a “pen-dictionary” with the following shapes can be used by issuing the command shape(shapename). Il essaie de conserver les mérites de l'ancien module tortue et d'être (presque) compatible à 100% avec lui. Mode “logo” is addcomponent() method. They have the same names as set number of “degrees” for a full circle. Its constructor needs a tkinter.Canvas or a After an ``import turtle``, give it: the command turtle.forward(15), and it moves (on-screen!) If resizemode is set to heading (direction of movement). which draws on “the” Screen instance which is automatically “user”: adapts the appearance of the turtle according to the values of title is the title of the This makes you wonder how the marker moves. is not given, current mode is returned. existing bindings are removed. We aren't using the pen to draw. Install Python3 from extensions of VSCode. So these can be used as online-help via the Python help position. By default, move is False. Why are colons required for the if/while/def/class statements? How do I use Py_BuildValue() to create a tuple of arbitrary length? To see the complete set of turtle commands go to the official Python 3.1 turtle page. A snake game is an arcade maze game which has been developed by Gremlin Industries and published by Sega in October 1976. Create a Snake-Game using Turtle in Python, turtle.setpos() and turtle.goto() functions in Python, Create a simple Animation using Turtle in Python, Create a Simple Two Player Game using Turtle in Python. This can be used to set several pen We set the head speed to 0 as we’re just initializing in this section and the head does not need to move. Data structure modeling shapes. key/value pairs: This dictionary can be used as argument for a subsequent call to pen() The pair (type_, data) must follow this Turtle graphics is a popular way for introducing programming to: kids. Can I create an object class with some methods implemented in C and others in Python (e.g. screen. Our first turtle program¶. Set the turtle’s speed to an integer value in the range 0..10. given matrix. middle of doing some complex drawing, because hiding the turtle speeds up the n is given, only each n-th regular screen update is really Set the orientation of the turtle to to_angle. Time: This function is used to count the number of seconds elapsed since the epoch. empty TurtleScreen to its initial state: white background, no background Derived from RawTurtle is the subclass Turtle (alias: Pen), Only reasonable use: as a function to Students command an interactive Python shell (similar to the IDLE development environment) and use Python functions to move a turtle displayed on the screen. Set angle measurement units, i.e. First we import the turtle module. corresponding image shape. stretchfactor in direction of its orientation, outline determines the width Il essaie de conserver les mérites de l'ancien module tortue et d'être (presque) compatible à … Why are floating-point calculations so inaccurate? different sorting methods, a (graphical) breadth the procedure-oriented interface. Install a timer that calls fun after t milliseconds. An illustrated help screen introduces the student to the basics of Python programming while demonstrating how to move the turtle. You may also have a look at the following articles to learn more – Now add the Shape to the Screen’s shapelist and use it: The Shape class is used internally by the register_shape() turtle.cfg file. name clearscreen. If mode below: Create an empty Shape object of type “compound”. as part of If size is Note. Set focus on TurtleScreen (in order to collect key-events). (No subprocess) - for interactive use of turtle graphics. Create and write docstring-dictionary to a Python script with the given of this module or which better fits to your needs, e.g. As a singleton object, inheriting from its class is not possible. Angle None, existing bindings are removed. turtles as nimsticks, derived from the Turtle method clear. Installing into the system Python on Linux, Make sure you specify the proper version support in your setup.py file, Learn the differences between Python 2 & 3, Use feature detection instead of version detection, Check which dependencies block your transition, Update your setup.py file to denote Python 3 compatibility, Use continuous integration to stay compatible, Consider using optional static type checking, Generator expressions and list comprehensions, Small functions and the lambda expression, Changing the format of displayed messages, What happens if no configuration is provided, Sending and receiving logging events across a network, Adding contextual information to your logging output, Using LoggerAdapters to impart contextual information, Using objects other than dicts to pass contextual information, Using Filters to impart contextual information, Logging to a single file from multiple processes, Subclassing QueueHandler - a ZeroMQ example, Subclassing QueueListener - a ZeroMQ example, An example dictionary-based configuration, Using a rotator and namer to customize log rotation processing, Inserting a BOM into messages sent to a SysLogHandler, Using particular formatting styles throughout your application, Buffering logging messages and outputting them conditionally, Formatting times using UTC (GMT) via configuration, Using a context manager for selective logging, The Old Way Using Decorate-Sort-Undecorate, HOWTO Fetch Internet Resources Using The urllib Package, Combining Positional and Optional arguments, Creating Address/Network/Interface objects, Inspecting Address/Network/Interface Objects, Getting more detail when instance creation fails, Renaming the C functions and variables generated by Argument Clinic, Converting functions using PyArg_UnpackTuple, Using real Argument Clinic converters, instead of “legacy converters”, Instrumenting CPython with DTrace and SystemTap. Set the turtle’s second coordinate to y, leave first coordinate unchanged. name is an arbitrary string and shape is a tuple of pairs of The determinant t11 * t22 - t12 * t21 must not be stored and an additional one in the current working directory. direction, compound shapes, clone return the “anonymous turtle”: Return the TurtleScreen object the turtle is drawing on. import turtle #screen wn=turtle.Screen() wn.bgcolor("lightblue") I plan on this being a spaceship game #Turtle Player spaceship= turtle.Turtle() spaceship.color("red") spaceship.penup() speed=1 This is where I am stuck, I don't know how to make the turtle follow the arrow keys. I need to create code, using specific functions, that creates rectangles in the user-supplies amount of rows and columns. turtle (its direction of movement). You may also have a look at the following articles to learn more – Set turtle shape to shape with given name or, if name is not given, return tangent of the shear angle, by which lines parallel to the Free python turtle 3.8.2 download software at UpdateStar - Python is a dynamic object-oriented programming language that can be used for many kinds of software development. event driven (mouse, return the filename of the current backgroundimage. Do not alter the drawing Return True if the Turtle is shown, False if it’s hidden. Set up user-defined coordinate system and switch to mode “world” if Remark: in order to be able to register key-events, TurtleScreen graphics.) must have focus. This means in the first place to enable the learning time and modify the configuration according to its settings. named turtle: This TurtleScreen method is available as a global function only under the How do I access a module written in Python from C? computations can generate State and How can I evaluate an arbitrary Python expression from C? install packages just for the current user? How do I run a Python program under Windows? Reset all Turtles on the Screen to their initial state. If you're into automation: Ansible tasks for setting up PythonTurtle including a desktop shortcut for GNOME. “turtle”, “circle”, “square”, “triangle”, “classic”. via docstrings. Before then, I had been using Sublime. The number input must be in the range minval .. maxval if these are Turtle is a special feathers of Python. argument is given, return current speed. you can see when the turtle is spawned the author did penup(). Write text - the string representation of arg - at the current turtle If n is None, delete Why can’t raw strings (r-strings) end with a backslash? Output: Below is the complete python program to create pong game using turtle library. 24.1.3.5.1. mode()). (no subprocess) is used, this value should be set to True in Code, create, and learn together Code, collaborate, compile, run, share, and deploy Python (with Turtle) and more online from your browser Sign up to code in Python (with Turtle) Explore Multiplayer >_ Collaborate in real-time with your friends Finally the direction of the Design: rehmann.co. For the python beginners, those who are interested in making something easier in your domain can definitely try this out and the module Turtle was made exactly for this purpose for the beginners to try out and can also submit as a … do with a Tkinter Canvas. Add as many components to this object as desired, using the other turtle, in turtle step units. method in different ways. e.g. Python 3.2. This article is contributed by Amartya Ranjan Saikia.If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. make the turtle transparent), you have If picname is Can Python be compiled to machine code, C or some other language? Return the number input. How to make Triangle in Python Turtle using onscreenclick? Using Turtle, we can easily draw in a drawing board. ('pendown', True), ('pensize', 10), ('resizemode', 'noresize'). 15 pixels in the Set or return the current tilt-angle. How do I catch the output from PyErr_Print() (or anything that prints to stdout/stderr)? How To Make Histogram with Median Line using Altair in Python? After the fruit is eaten, the score will be counted. See also the RawTurtle/Turtle method speed(). Parameter title is Getting to Know the Python turtle Library. that are described 3.5.1. Derived After an ``import turtle``, give it: the command turtle.forward(15), and it moves (on-screen!) For the python beginners, those who are interested in making something easier in your domain can definitely try this out and the module Turtle was made exactly for this purpose for the beginners to try out and can also submit as a part of the project. The reason you can't change the turtle's speed from the turtle.speed function is quite simple. can be provided as keyword-arguments. (Can be used to accelerate the drawing of complex Return the list of turtles on the screen. Turtle graphics is a popular way for introducing programming to kids. Else coordinates: Install the corresponding polygon shape. used as part of some application. against the computer. Among the major new features in Python 3.7 are: the title of the dialog window, prompt is a text mostly describing generate link and share the link here. Screen and Turtle. How do I keep editors from inserting tabs into my Python source? Must be the last statement in a turtle graphics program. Experience. Python 3.2 was released on February 20th, 2011. Give it the command 3.1. It’s a … TurtleScreen subclass. Why does Python sometimes take so long to start? its start-orientation (which depends on the mode, see mode()). “noresize”: no adaption of the turtle’s appearance takes place. Le module turtle est une réimplémentation étendue du module du même nom depuis la distribution standard Python jusqu'à la version Python 2.5. We can use functions like turtle.forward(…) and turtle.right(…) which can move the turtle around. Return the turtle’s current location (x,y) (as a Vec2D vector). If not, a hint is issued and the dialog remains open for The onscreen pen that you use for drawing is called the turtle and this is what gives the library its name. through inheritance)? (Units are by default degrees, but position. I'm trying to import turtle but I got errors about module tkinter missing. drawing observably. How do I check for a keypress without blocking? Return fillstate (True if filling, False else). play the classical nim game Set the turtle’s first coordinate to x, leave second coordinate turtle is headed. derived from the Turtle method onclick. Bind fun to mouse-move events on this turtle. edit In the following documentation the argument list for functions is given. Here we discuss the Introduction and methods of Python Turtle along with different examples and code implementation. Kivy is a library for Python that allows Python devs to create mobile apps using Python, instead of languages like JS, Swift, etc. Recommended Articles. This function has to be called explicitly (it is not used by the (We’ll call the variable that refers to our first turtle alex, but we can choose another name if we follow the naming rules from the previous chapter). Remark: in order to be able to register key-events, TurtleScreen function derived from a Screen method is called. Then create a window, next we create turtle object and using turtle method we can draw in the drawing board. The turtle module provides turtle graphics primitives, in both object-oriented Attention: in this mode angles appear distorted if Default value is 360 degrees. turtle. stretchfactor and outlinewidth (outline), which are set by. ('shearfactor', 0.0), ('shown', True), ('speed', 9), ('stretchfactor', (1.0, 1.0)), ('tilt', 0.0)], [('fillcolor', ''), ('outline', 1), ('pencolor', 'yellow')], [('fillcolor', 'green'), ('outline', 1), ('pencolor', 'red')], ((40.0, 80.0, 120.0), (160.0, 200.0, 240.0)), ((50, -20), (30, 20), (-50, 20), (-30, -20)). An (unnamed) turtle object is directions in degrees: Move turtle to the origin – coordinates (0,0) – and set its heading to Imagine a robotic turtle starting at (0, 0) in the x-y plane. Subclass of TurtleScreen, with four methods added. The global function onclick is another one Vamos desenhar seu nome com o Modulo Turtle Python 3 ! If and only if resizemode is set to “user”, the turtle (direction of movement). Turtle graphics is a popular way for introducing programming to: kids. If picname But it is more general than Hypocycloid because the point we are tracing doesn’t have to lie on the circle. Speedstrings are mapped to speedvalues as follows: Speeds from 1 to 10 enforce increasingly faster animation of line drawing If the dialog is canceled, return None. 15 pixels in Current turtle position is first Moreover one or more of these attributes If the value “using_IDLE” in the configuration dictionary is False name of current shape. Set The player’s objective in the game is to achieve maximum points as possible by collecting food or fruits. Why doesn’t Python have a “with” statement for attribute assignments? can easily be drawn. The procedural interface provides functions which are derived from the methods Students command an interactive Python shell (similar to the IDLE development environment) and use Python functions to move a turtle displayed on the screen. delay()). To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. About 3 months ago, I watched Tech With Tim's series on Kivy. Pull the pen up -- no drawing when moving. Turtle state. (See method listen(). The player loses once the snake hits the wall or hits itself. "nopic", delete background image, if present. The author does this in a function (move): Line 67. 3.1. The turtledemo package directory contains: © documentation.help. So, we will be creating a Python-based-game using the following modules: Turtle: It is a pre-installed python library that enables users to create shapes and pictures by providing them a virtual canvas. On any GNU/Linux distribution: (after installing prerequisites from above) python3 -m pip install --user PythonTurtle PythonTurtle. undo actions is determined by the size of the undobuffer. So, we will be creating a Python-based-game using the following modules: The following code can be easily done using PyCharm application which is specially made for Python programs. (Requests please to glingl@aon.at.). part of the given size is installed. Initially there are the following polygon shapes: “arrow”, Subsequently, clicking and dragging the Turtle will move it across We use the function turtle_name.speed() for this. the drawing turtles. Attention geek! Stamp a copy of the turtle shape onto the canvas at the current turtle color, you must use the helper class Shape explicitly as described By using our site, you to search for an erroneously escaped turtle ;-). Turtle Python 3, Create a “mosaic tile” with a user supplied number of rows and columns and each with a turtle stamped in the middle of it. For this tutorial I will be using Python 2.7. The built in configuration would correspond to the following turtle.cfg: There can be a turtle.cfg file in the directory where turtle is It’s a good idea to do this while you’re in the (shape, shapesize). name is an arbitrary string and shape is a (compound) Shape Angle Strengthen your foundations with the Python Programming Foundation Course and learn the basics. programmer to use all the commands, classes and methods interactively when using Why isn’t there a switch or case statement in Python? The turtle module is an extended reimplementation of the same-named regardless of its current tilt-angle. Click on any command to learn more about it. above. None, the undobuffer is disabled. python3 -m pip install wxpython. Most of the examples in this section refer to a Turtle instance called is not a full circle, one endpoint of the arc is the current pen Why does Python use methods for some functionality (e.g. Do not change the turtle’s heading. There are three different ways to call this function: name is the name of a gif-file and shape is None: Install the If you (or your students) want to use turtle with online help in your the corresponding methods. specification: A two-dimensional vector class, used as a helper class for implementing How do I tell “incomplete input” from “invalid input”? This Note: The release you're looking at is Python 3.8.5, a bugfix release for the legacy 3.8 series.Python 3.9 is now the latest feature release series of Python 3.Get the latest release of 3.9.x here.. 3.8.5 has been released out of schedule due to important security content. May be used to draw regular polygons. If extent is not given, draw the entire circle. Snake is basically a turtle(in python language) that moves around. of the classes Screen and Turtle. The turtle has all methods described above as “methods of Python Turtle is a great method to encourage kids acknowledge more about programming, especially Python. deal with shapes see Screen method register_shape(). zero, otherwise an error is raised. The function Screen() returns a singleton object of a display the heading of the turtle! Do not change the turtle’s heading resize the canvas the turtles are drawing on. for use in a classroom, If the dialog is canceled, return None. Can’t you emulate threads in the interpreter instead of relying on an OS-specific thread implementation? Seymour Papert in 1966. turtle graphics pattern, graphs Verhulst dynamics, It was part of the original Logo programming language developed: by Wally Feurzig and Seymour Papert in 1966. Help on function bgcolor in module turtle: PEP 539: A New C-API for Thread-Local Storage in CPython, PEP 562: Customization of access to module attributes, PEP 563: Postponed evaluation of annotations, PEP 564: Add new time functions with nanosecond resolution, PEP 565: Show DeprecationWarning in __main__, PEP 545: Python Documentation Translations, PEP 487: Simpler customization of class creation, PEP 487: Descriptor Protocol Enhancements, PEP 519: Adding a file system path protocol, PEP 529: Change Windows filesystem encoding to UTF-8, PEP 528: Change Windows console encoding to UTF-8, PEP 520: Preserving Class Attribute Definition Order, PEP 468: Preserving Keyword Argument Order, PEP 523: Adding a frame evaluation API to CPython, Deprecated Python modules, functions and methods, Deprecated functions and types of the C API, PEP 492 - Coroutines with async and await syntax, PEP 465 - A dedicated infix operator for matrix multiplication, PEP 448 - Additional Unpacking Generalizations, PEP 461 - percent formatting support for bytes and bytearray, PEP 471 - os.scandir() function – a better and faster directory iterator, PEP 475: Retry system calls failing with EINTR, PEP 479: Change StopIteration handling inside generators, PEP 485: A function for testing approximate equality, PEP 486: Make the Python Launcher aware of virtual environments, PEP 489: Multi-phase extension module initialization, Application-Layer Protocol Negotiation Support, PEP 453: Explicit Bootstrapping of PIP in Python Installations, PEP 446: Newly Created File Descriptors Are Non-Inheritable, PEP 451: A ModuleSpec Type for the Import System, PEP 445: Customization of CPython Memory Allocators, PEP 456: Secure and Interchangeable Hash Algorithm, PEP 476: Enabling certificate verification by default for stdlib http clients, PEP 3118: New memoryview implementation and buffer protocol documentation, PEP 3151: Reworking the OS and IO exception hierarchy, PEP 380: Syntax for Delegating to a Subgenerator, PEP 3155: Qualified name for classes and functions, Using importlib as the Implementation of Import, PEP 389: Argparse Command Line Parsing Module, PEP 391: Dictionary Based Configuration for Logging, PEP 3333: Python Web Server Gateway Interface v1.0.1, PEP 378: Format Specifier for Thousands Separator, Text Vs. Data Instead Of Unicode Vs. 8-bit, PEP 3101: A New Approach To String Formatting, Changes to the Handling of Deprecation Warnings, PEP 372: Adding an Ordered Dictionary to collections, PEP 389: The argparse Module for Parsing Command Lines, PEP 391: Dictionary-Based Configuration For Logging, New Features Added to Python 2.7 Maintenance Releases, PEP 434: IDLE Enhancement Exception for All Branches, PEP 466: Network Security Enhancements for Python 2.7, New Documentation Format: reStructuredText Using Sphinx, PEP 366: Explicit Relative Imports From a Main Module, PEP 370: Per-user site-packages Directory, PEP 3127: Integer Literal Support and Syntax, The json module: JavaScript Object Notation, The plistlib module: A Property-List Parser, PEP 314: Metadata for Python Software Packages v1.1, PEP 237: Unifying Long Integers and Integers, PEP 318: Decorators for Functions and Methods, PEP 331: Locale-Independent Float/String Conversions, PEP 273: Importing Modules from ZIP Archives, PEP 277: Unicode file name support for Windows NT, PEP 301: Package Index and Metadata for Distutils, PEP 235: Importing Modules on Case-Insensitive Platforms, Distutils: Making Modules Easy to Install, break and continue Statements, and else Clauses on Loops, Error Output Redirection and Program Termination, Brief Tour of the Standard Library — Part II, Interactive Input Editing and History Substitution, Alternatives to the Interactive Interpreter, Floating Point Arithmetic: Issues and Limitations, Getting and installing the latest version of Python, Distributing Python Applications on the Mac, Displays for lists, sets and dictionaries, Binary Sequence Types — bytes, bytearray, memoryview, rlcompleter — Completion function for GNU readline, struct — Interpret bytes as packed binary data, encodings.idna — Internationalized Domain Names in Applications, encodings.utf_8_sig — UTF-8 codec with BOM signature, calendar — General calendar-related functions, namedtuple() Factory Function for Tuples with Named Fields, collections.abc — Abstract Base Classes for Containers, array — Efficient arrays of numeric values, Comparing finalizers with __del__() methods, types — Dynamic type creation and names for built-in types, reprlib — Alternate repr() implementation, Programmatic access to enumeration members and their attributes, Allowed members and attributes of enumerations, Boolean value of Enum classes and members, Number-theoretic and representation functions, cmath — Mathematical functions for complex numbers, Conversions to and from polar coordinates, decimal — Decimal fixed point and floating point arithmetic, Mitigating round-off error with increased precision, statistics — Mathematical statistics functions, Averages and measures of central location, itertools — Functions creating iterators for efficient looping, functools — Higher-order functions and operations on callable objects, operator — Standard operators as functions, pathlib — Object-oriented filesystem paths, fileinput — Iterate over lines from multiple input streams, tempfile — Generate temporary files and directories, glob — Unix style pathname pattern expansion, macpath — Mac OS 9 path manipulation functions, copyreg — Register pickle support functions, marshal — Internal Python object serialization, sqlite3 — DB-API 2.0 interface for SQLite databases, Using adapters to store additional Python types in SQLite databases, Converting SQLite values to custom Python types, Accessing columns by name instead of by index, Using the connection as a context manager, lzma — Compression using the LZMA algorithm, Compressing and decompressing data in memory, tarfile — Read and write tar archive files, plistlib — Generate and parse Mac OS X .plist files, hashlib — Secure hashes and message digests, hmac — Keyed-Hashing for Message Authentication, secrets — Generate secure random numbers for managing secrets, os — Miscellaneous operating system interfaces, File Names, Command Line Arguments, and Environment Variables, argparse — Parser for command-line options, arguments and sub-commands, getopt — C-style parser for command line options, curses — Terminal handling for character-cell displays, curses.textpad — Text input widget for curses programs, curses.ascii — Utilities for ASCII characters, curses.panel — A panel stack extension for curses, platform — Access to underlying platform’s identifying data, ctypes — A foreign function library for Python, Calling functions with your own custom data types, Specifying the required argument types (function prototypes), Passing pointers (or: passing parameters by reference), Using locks, conditions, and semaphores in the with statement, multiprocessing — Process-based parallelism, concurrent.futures — Launching parallel tasks, Replacing Older Functions with the subprocess Module, Replacing os.popen(), os.popen2(), os.popen3(), Replacing functions from the popen2 module, Converting an argument sequence to a string on Windows, _dummy_thread — Drop-in replacement for the _thread module, dummy_threading — Drop-in replacement for the threading module, Interprocess Communication and Networking, Edge and Level Trigger Polling (epoll) Objects, asyncio — Asynchronous I/O, event loop, coroutines and tasks, Display the current date with call_later(), Set signal handlers for SIGINT and SIGTERM, Event loop policies and the default policy, Example: Coroutine displaying the current date, Example: Future with run_until_complete(), Transports and protocols (callback based API), Streaming protocols with manual receive buffer control, Register an open socket to wait for data using a protocol, Register an open socket to wait for data using streams, Create a subprocess: high-level API using Process, Create a subprocess: low-level API using subprocess.Popen, Using locks, conditions and semaphores in the async with statement, asynchat — Asynchronous socket command/response handler, signal — Set handlers for asynchronous events, email — An email and MIME handling package, email.message: Representing an email message, email.generator: Generating MIME documents, email.errors: Exception and Defect classes, email.headerregistry: Custom Header Objects, email.contentmanager: Managing MIME Content, email.message.Message: Representing an email message using the compat32 API, email.mime: Creating email and MIME objects from scratch, email.charset: Representing character sets, mailbox — Manipulate mailboxes in various formats, base64 — Base16, Base32, Base64, Base85 Data Encodings, binascii — Convert between binary and ASCII, quopri — Encode and decode MIME quoted-printable data, html.parser — Simple HTML and XHTML parser, html.entities — Definitions of HTML general entities, xml.etree.ElementTree — The ElementTree XML API, xml.dom.minidom — Minimal DOM implementation, xml.dom.pulldom — Support for building partial DOM trees, xml.sax.handler — Base classes for SAX handlers, xml.sax.xmlreader — Interface for XML parsers, xml.parsers.expat — Fast XML parsing using Expat, webbrowser — Convenient Web-browser controller, Installing your CGI script on a Unix system, cgitb — Traceback manager for CGI scripts, wsgiref — WSGI Utilities and Reference Implementation, wsgiref.util – WSGI environment utilities, wsgiref.headers – WSGI response header tools, wsgiref.simple_server – a simple WSGI HTTP server, wsgiref.validate — WSGI conformance checker, wsgiref.handlers – server/gateway base classes, urllib.request — Extensible library for opening URLs, urllib.response — Response classes used by urllib, urllib.parse — Parse URLs into components, urllib.error — Exception classes raised by urllib.request, urllib.robotparser — Parser for robots.txt, uuid — UUID objects according to RFC 4122, socketserver — A framework for network servers, http.cookiejar — Cookie handling for HTTP clients, FileCookieJar subclasses and co-operation with web browsers, xmlrpc — XMLRPC server and client modules, ipaddress — IPv4/IPv6 manipulation library, aifc — Read and write AIFF and AIFC files, colorsys — Conversions between color systems, ossaudiodev — Access to OSS-compatible audio devices, gettext — Multilingual internationalization services, Internationalizing your programs and modules, Background, details, hints, tips and caveats, For extension writers and programs that embed Python, Overview of available Turtle and Screen methods, Methods of RawTurtle/Turtle and corresponding functions, Methods of TurtleScreen/Screen and corresponding functions, Methods specific to Screen, not inherited from TurtleScreen, Translation of docstrings into different languages, cmd — Support for line-oriented command interpreters, tkinter.scrolledtext — Scrolled Text Widget, pydoc — Documentation generator and online help system, doctest — Test interactive Python examples, Simple Usage: Checking Examples in Docstrings, Simple Usage: Checking Examples in a Text File, Distinguishing test iterations using subtests, Applying the same patch to every test method, Tracking order of calls and less verbose call assertions, 2to3 - Automated Python 2 to 3 code translation, test — Regression tests package for Python, Running tests using the command-line interface, test.support — Utilities for the Python test suite, timeit — Measure execution time of small code snippets, trace — Trace or track Python statement execution, distutils — Building and installing Python modules, ensurepip — Bootstrapping the pip installer, zipapp — Manage executable python zip archives, The Python Zip Application Archive Format, sys — System-specific parameters and functions, sysconfig — Provide access to Python’s configuration information, Updating Code For New Versions of Dependencies, contextlib — Utilities for with-statement contexts, Supporting a variable number of context managers, Catching exceptions from __enter__ methods, Cleaning up in an __enter__ implementation, Replacing any use of try-finally and flag variables, Using a context manager as a function decorator, Single use, reusable and reentrant context managers, traceback — Print or retrieve a stack traceback, __future__ — Future statement definitions, Introspecting callables with the Signature object, Current State of Generators and Coroutines, zipimport — Import modules from Zip archives, modulefinder — Find modules used by a script, runpy — Locating and executing Python modules, importlib.abc – Abstract base classes related to import, importlib.machinery – Importers and path hooks, importlib.util – Utility code for importers, symtable — Access to the compiler’s symbol tables, symbol — Constants used with Python parse trees, token — Constants used with Python parse trees, tabnanny — Detection of ambiguous indentation, compileall — Byte-compile Python libraries, pickletools — Tools for pickle developers, msilib — Read and write Microsoft Installer files, msvcrt — Useful routines from the MS VC++ runtime, winsound — Sound-playing interface for Windows, posix — The most common POSIX system calls, nis — Interface to Sun’s NIS (Yellow Pages), optparse — Parser for command line options, Querying and manipulating your option parser, Callback example 3: check option order (generalized), Callback example 4: check arbitrary condition, Extending and Embedding the Python Interpreter, Creating extensions without third party tools, The Module’s Method Table and Initialization Function, Extracting Parameters in Extension Functions, Keyword Parameters for Extension Functions, Providing a C API for an Extension Module, Adding data and methods to the Basic example, Providing finer control over data attributes, Building C and C++ Extensions with distutils, Embedding the CPython runtime in a larger application, Beyond Very High Level Embedding: An overview, Compiling and Linking under Unix-like systems, Registry API for Unicode encoding error handlers, Initialization, Finalization, and Threads, Initializing and finalizing the interpreter, Thread State and the Global Interpreter Lock.