/external/python/cpython2/Doc/howto/ |
D | pyporting.rst | 4 Porting Python 2 Code to Python 3 11 With Python 3 being the future of Python while Python 2 is still in active 13 Python. This guide is meant to help you figure out how best to support both 14 Python 2 & 3 simultaneously. 16 If you are looking to port an extension module instead of pure Python code, 19 If you would like to read one core Python developer's take on why Python 3 20 came into existence, you can read Nick Coghlan's `Python 3 Q & A`_. 22 For help with porting, you can email the python-porting_ mailing list with 28 To make your project be single-source Python 2/3 compatible, the basic steps 31 #. Update your code to drop support for Python 2.5 or older (supporting only [all …]
|
/external/python/cpython2/Doc/faq/ |
D | general.rst | 4 General Python FAQ 15 What is Python? 18 Python is an interpreted, interactive, object-oriented programming language. It 20 types, and classes. Python combines remarkable power with very clear syntax. 24 Finally, Python is portable: it runs on many Unix variants, on the Mac, and on 28 Python <https://wiki.python.org/moin/BeginnersGuide>`_ links to other 29 introductory tutorials and resources for learning Python. 32 What is the Python Software Foundation? 35 The Python Software Foundation is an independent non-profit organization that 36 holds the copyright on Python versions 2.1 and newer. The PSF's mission is to [all …]
|
D | windows.rst | 6 Python on Windows FAQ 13 How do I run a Python program under Windows? 20 .. sidebar:: |Python Development on XP|_ 21 :subtitle: `Python Development on XP`_ 23 This series of screencasts aims to get you up and running with Python on 25 and running with the right Python distribution, coding in your choice of IDE, 28 .. |Python Development on XP| image:: python-video-icon.png 29 .. _`Python Development on XP`: 45 D:\YourName\Projects\Python> 49 running Python programs. [all …]
|
/external/python/cpython2/PC/os2emx/ |
D | Makefile | 3 # Top-Level Makefile for Building Python 2.6 for OS/2 using GCC/EMX 4 # Originally written by Andrew Zabolotny, <bit@eltech.ru> for Python 1.5.2 5 # Modified by Andrew MacIntyre, <andymac@pcug.org.au> for Python 2.6 11 # essential modules of Python and a small Python.exe program to start 12 # the interpreter. When embedding Python within another program, only 15 # python.a and python.lib import libraries. Then the optional 155 SRCPATH=.;../../Python;../../Parser;../../Objects;../../Include;../../Modules 156 # Python contains the central core, containing the builtins and interpreter. 157 # Parser contains Python's Internal Parser and 158 # Standalone Parser Generator Program (Shares Some of Python's Modules) [all …]
|
/external/python/cpython2/Doc/extending/ |
D | embedding.rst | 7 Embedding Python in Another Application 10 The previous chapters discussed how to extend Python, that is, how to extend the 11 functionality of Python by attaching a library of C functions to it. It is also 13 embedding Python in it. Embedding provides your application with the ability to 14 implement some of the functionality of your application in Python rather than C 16 to tailor the application to their needs by writing some scripts in Python. You 17 can also use it yourself if some of the functionality can be written in Python 20 Embedding Python is similar to extending it, but not quite. The difference is 21 that when you extend Python, the main program of the application is still the 22 Python interpreter, while if you embed Python, the main program may have nothing [all …]
|
/external/python/cpython2/Doc/installing/ |
D | index.rst | 6 Installing Python Modules 9 :Email: distutils-sig@python.org 11 As a popular open source development project, Python has an active 13 available for other Python developers to use under open source license terms. 15 This allows Python users to share and collaborate effectively, benefiting 21 creating and sharing your own Python projects, refer to the 29 use of the distribution and installation tools provided with Python. 35 * ``pip`` is the preferred installer program. Starting with Python 2.7.9, it 36 is included by default with the Python binary installers. 37 * a virtual environment is a semi-isolated Python environment that allows [all …]
|
/external/skia/infra/bots/recipes/test.expected/ |
D | Test-Android-Clang-Ci20-CPU-IngenicJZ4780-mipsel-Release-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-NexusPlayer-CPU-SSE4-x86-Release-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-NexusPlayer-GPU-PowerVR-x86-Release-Android_Vulkan.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-Nexus6p-GPU-Adreno430-arm64-Debug-Android_Vulkan.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-PixelXL-GPU-Adreno530-arm64-Debug-Android_Vulkan.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-ChromeOS-Clang-Chromebook_C100p-GPU-MaliT764-arm-Debug.json | 4 "python", 18 "@@@STEP_LOG_LINE@python.inline@@@@", 19 "@@@STEP_LOG_LINE@python.inline@import os@@@", 20 … "@@@STEP_LOG_LINE@python.inline@SSH_MACHINE_FILE = os.path.expanduser('~/ssh_machine.json')@@@", 21 "@@@STEP_LOG_LINE@python.inline@with open(SSH_MACHINE_FILE, 'r') as f:@@@", 22 "@@@STEP_LOG_LINE@python.inline@ print f.read()@@@", 23 "@@@STEP_LOG_END@python.inline@@@" 115 "python", 124 "@@@STEP_LOG_LINE@python.inline@@@@", 125 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", [all …]
|
D | Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-PixelC-CPU-TegraX1-arm64-Debug-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-NVIDIA_Shield-GPU-TegraX1-arm64-Debug-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-Nexus10-GPU-MaliT604-arm-Release-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | failed_pull.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-GalaxyS7_G930A-GPU-Adreno530-arm64-Debug-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-PixelXL-GPU-Adreno530-arm64-Debug-Android_CCPR.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
/external/python/cpython2/Mac/BuildScript/resources/ |
D | ReadMe.rtf | 8 \f0\fs24 \cf0 This package will install Python $FULL_VERSION for Mac OS X $MACOSX_DEPLOYMENT_TARGET… 15 Python.org provides two installer variants for download: one that installs a 17 \i0 Python capable of running on 21 \i0 Python capable of running on 25 … 10.6 and you may see better performance using 64-bit mode. By default, Python will automatically… 35 …sit {\field{\*\fldinst{HYPERLINK "https://www.python.org/download/mac/tcltk/"}}{\fldrslt https://w… 37 \i0 for this version of Python and of Mac OS X.\ 41 \cf0 Packages installed with the system Python 2.7 are no longer searched for\ 43 \cf0 \ulnone [CHANGED for Python 2.7.13] 46 …Python 2.7.0, user-installed Python 2.7 versions from python.org installers added the system-wide … [all …]
|
/external/skia/infra/bots/recipes/perf.expected/ |
D | Perf-Android-Clang-Nexus5-GPU-Adreno330-arm-Debug-Android.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
D | Perf-Android-Clang-NVIDIA_Shield-GPU-TegraX1-arm64-Debug-Android_Vulkan.json | 22 "python", 37 "@@@STEP_LOG_LINE@python.inline@@@@", 38 "@@@STEP_LOG_LINE@python.inline@import os@@@", 39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 40 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@", 42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@", 43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@", 44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@", 45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@", [all …]
|
/external/python/cpython2/Doc/using/ |
D | windows.rst | 6 Using Python on Windows 12 know about when using Python on Microsoft Windows. 15 Installing Python 18 Unlike most Unix systems and services, Windows does not require Python natively 19 and thus does not pre-install a version of Python. However, the CPython team 21 <https://www.python.org/download/releases/>`_ for many years. 23 With ongoing development of Python, some platforms that used to be supported 27 * DOS and Windows 3.x are deprecated since Python 2.0 and code specific to these 28 systems was removed in Python 2.1. 29 * Up to 2.5, Python was still compatible with Windows 95, 98 and ME (but already [all …]
|