René's URL Explorer Experiment
go
Title:
2. Lexical analysis — Python 2.7.18 documentation
direct link
Domain:
docs.python.org
Links
:
no longer supported
https://devguide.python.org/devcycle/#end-of-life-branches
Python documentation for the current stable release
https://docs.python.org/3/reference/lexical_analysis.html
index
https://docs.python.org/2/genindex.html
modules
https://docs.python.org/2/py-modindex.html
next
https://docs.python.org/2/reference/datamodel.html
previous
https://docs.python.org/2/reference/introduction.html
Python
https://www.python.org/
Python 2.7.18 documentation
https://docs.python.org/2/index.html
The Python Language Reference
https://docs.python.org/2/reference/index.html
¶
https://docs.python.org/2/reference/lexical_analysis.html#lexical-analysis
¶
https://docs.python.org/2/reference/lexical_analysis.html#line-structure
¶
https://docs.python.org/2/reference/lexical_analysis.html#logical-lines
¶
https://docs.python.org/2/reference/lexical_analysis.html#physical-lines
¶
https://docs.python.org/2/reference/lexical_analysis.html#comments
¶
https://docs.python.org/2/reference/lexical_analysis.html#encoding-declarations
¶
https://docs.python.org/2/reference/lexical_analysis.html#explicit-line-joining
¶
https://docs.python.org/2/reference/lexical_analysis.html#implicit-line-joining
¶
https://docs.python.org/2/reference/lexical_analysis.html#blank-lines
¶
https://docs.python.org/2/reference/lexical_analysis.html#indentation
¶
https://docs.python.org/2/reference/lexical_analysis.html#whitespace-between-tokens
¶
https://docs.python.org/2/reference/lexical_analysis.html#other-tokens
¶
https://docs.python.org/2/reference/lexical_analysis.html#identifiers
letter
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-letter
letter
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-letter
digit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-digit
lowercase
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-lowercase
uppercase
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-uppercase
¶
https://docs.python.org/2/reference/lexical_analysis.html#keywords
None
https://docs.python.org/2/library/constants.html#None
None
https://docs.python.org/2/library/constants.html#None
as
https://docs.python.org/2/reference/compound_stmts.html#as
with
https://docs.python.org/2/reference/compound_stmts.html#with
as
https://docs.python.org/2/reference/compound_stmts.html#as
with
https://docs.python.org/2/reference/compound_stmts.html#with
¶
https://docs.python.org/2/reference/lexical_analysis.html#reserved-classes-of-identifiers
__builtin__
https://docs.python.org/2/library/__builtin__.html#module-__builtin__
The import statement
https://docs.python.org/2/reference/simple_stmts.html#import
gettext
https://docs.python.org/2/library/gettext.html#module-gettext
Special method names
https://docs.python.org/2/reference/datamodel.html#specialnames
Identifiers (Names)
https://docs.python.org/2/reference/expressions.html#atom-identifiers
¶
https://docs.python.org/2/reference/lexical_analysis.html#literals
¶
https://docs.python.org/2/reference/lexical_analysis.html#string-literals
stringprefix
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-stringprefix
shortstring
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-shortstring
longstring
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-longstring
shortstringitem
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-shortstringitem
shortstringitem
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-shortstringitem
longstringitem
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-longstringitem
longstringitem
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-longstringitem
shortstringchar
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-shortstringchar
escapeseq
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-escapeseq
longstringchar
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-longstringchar
escapeseq
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-escapeseq
stringprefix
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-stringprefix
Encoding declarations
https://docs.python.org/2/reference/lexical_analysis.html#encodings
¶
https://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation
¶
https://docs.python.org/2/reference/lexical_analysis.html#numeric-literals
¶
https://docs.python.org/2/reference/lexical_analysis.html#integer-and-long-integer-literals
integer
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-integer
decimalinteger
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-decimalinteger
octinteger
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-octinteger
hexinteger
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-hexinteger
bininteger
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-bininteger
nonzerodigit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-nonzerodigit
digit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-digit
octdigit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-octdigit
octdigit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-octdigit
hexdigit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-hexdigit
bindigit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-bindigit
digit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-digit
1
https://docs.python.org/2/reference/lexical_analysis.html#id11
¶
https://docs.python.org/2/reference/lexical_analysis.html#floating-point-literals
pointfloat
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-pointfloat
exponentfloat
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-exponentfloat
intpart
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-intpart
fraction
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-fraction
intpart
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-intpart
intpart
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-intpart
pointfloat
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-pointfloat
exponent
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-exponent
digit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-digit
digit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-digit
digit
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-digit
¶
https://docs.python.org/2/reference/lexical_analysis.html#imaginary-literals
floatnumber
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-floatnumber
intpart
https://docs.python.org/2/reference/lexical_analysis.html#grammar-token-intpart
¶
https://docs.python.org/2/reference/lexical_analysis.html#operators
¶
https://docs.python.org/2/reference/lexical_analysis.html#delimiters
1
https://docs.python.org/2/reference/lexical_analysis.html#id8
Table of Contents
https://docs.python.org/2/contents.html
2. Lexical analysis
https://docs.python.org/2/reference/lexical_analysis.html
2.1. Line structure
https://docs.python.org/2/reference/lexical_analysis.html#line-structure
2.1.1. Logical lines
https://docs.python.org/2/reference/lexical_analysis.html#logical-lines
2.1.2. Physical lines
https://docs.python.org/2/reference/lexical_analysis.html#physical-lines
2.1.3. Comments
https://docs.python.org/2/reference/lexical_analysis.html#comments
2.1.4. Encoding declarations
https://docs.python.org/2/reference/lexical_analysis.html#encoding-declarations
2.1.5. Explicit line joining
https://docs.python.org/2/reference/lexical_analysis.html#explicit-line-joining
2.1.6. Implicit line joining
https://docs.python.org/2/reference/lexical_analysis.html#implicit-line-joining
2.1.7. Blank lines
https://docs.python.org/2/reference/lexical_analysis.html#blank-lines
2.1.8. Indentation
https://docs.python.org/2/reference/lexical_analysis.html#indentation
2.1.9. Whitespace between tokens
https://docs.python.org/2/reference/lexical_analysis.html#whitespace-between-tokens
2.2. Other tokens
https://docs.python.org/2/reference/lexical_analysis.html#other-tokens
2.3. Identifiers and keywords
https://docs.python.org/2/reference/lexical_analysis.html#identifiers
2.3.1. Keywords
https://docs.python.org/2/reference/lexical_analysis.html#keywords
2.3.2. Reserved classes of identifiers
https://docs.python.org/2/reference/lexical_analysis.html#reserved-classes-of-identifiers
2.4. Literals
https://docs.python.org/2/reference/lexical_analysis.html#literals
2.4.1. String literals
https://docs.python.org/2/reference/lexical_analysis.html#string-literals
2.4.2. String literal concatenation
https://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation
2.4.3. Numeric literals
https://docs.python.org/2/reference/lexical_analysis.html#numeric-literals
2.4.4. Integer and long integer literals
https://docs.python.org/2/reference/lexical_analysis.html#integer-and-long-integer-literals
2.4.5. Floating point literals
https://docs.python.org/2/reference/lexical_analysis.html#floating-point-literals
2.4.6. Imaginary literals
https://docs.python.org/2/reference/lexical_analysis.html#imaginary-literals
2.5. Operators
https://docs.python.org/2/reference/lexical_analysis.html#operators
2.6. Delimiters
https://docs.python.org/2/reference/lexical_analysis.html#delimiters
1. Introduction
https://docs.python.org/2/reference/introduction.html
3. Data model
https://docs.python.org/2/reference/datamodel.html
Show Source
https://docs.python.org/2/_sources/reference/lexical_analysis.rst.txt
index
https://docs.python.org/2/genindex.html
modules
https://docs.python.org/2/py-modindex.html
next
https://docs.python.org/2/reference/datamodel.html
previous
https://docs.python.org/2/reference/introduction.html
Python
https://www.python.org/
Python 2.7.18 documentation
https://docs.python.org/2/index.html
The Python Language Reference
https://docs.python.org/2/reference/index.html
Copyright
https://docs.python.org/2/copyright.html
Please donate.
https://www.python.org/psf/donations/
Found a bug
https://docs.python.org/2/bugs.html
Sphinx
http://sphinx.pocoo.org/
URLs of
crawlers that visited me
.