Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
b674baf7
Kaydet (Commit)
b674baf7
authored
Eyl 05, 2001
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document -Q. Move arguments around to be in strict alphabetical
order. Add breaks in SYNOPSIS.
üst
32aa5d2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
25 deletions
+43
-25
python.man
Misc/python.man
+43
-25
No files found.
Misc/python.man
Dosyayı görüntüle @
b674baf7
...
...
@@ -7,16 +7,24 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-d
]
[
.B \-E
]
[
.B \-h
]
[
.B \-i
]
[
.B \-O
]
[
.B \-S
.br
[
.B -Q
.I argument
]
[
.B \-
E
.B \-
S
]
[
.B \-t
...
...
@@ -25,13 +33,11 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-u
]
[
.B \-
v
.B \-
U
]
[
.B \-x
]
[
.B \-h
.br
[
.B \-v
]
[
.B \-V
...
...
@@ -40,6 +46,9 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-W
.I argument
]
[
.B \-x
]
.br
[
.B \-c
...
...
@@ -78,10 +87,22 @@ viewed by running the
program.
.SH COMMAND LINE OPTIONS
.TP
.BI "\-c " command
Specify the command to execute (see next section).
This terminates the option list (following options are passed as
arguments to the command).
.TP
.B \-d
Turn on parser debugging output (for wizards only, depending on
compilation options).
.TP
.B \-E
Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
the behavior of the interpreter.
.TP
.B \-h
Prints the usage for the interpreter executable and exits.
.TP
.B \-i
When a script is passed as first argument or the \fB\-c\fP option is
used, enter interactive mode after executing the script or the
...
...
@@ -95,6 +116,15 @@ compiled (bytecode) files from
.I .pyc
to \fI.pyo\fP. Given twice, causes docstrings to be discarded.
.TP
.BI "\-Q " argument
Division control; see PEP 238. The argument must be one of "old" (the
default, int/int and long/long return an int or long), "new" (new
division semantics, i.e. int/int and long/long returns a float),
"warn" (old division semantics with a warning for int/int and
long/long), or "warnall" (old division semantics with a warning for
all use of the division operator). For a use of "warnall", see the
Tools/scripts/fixdiv.py script.
.TP
.B \-S
Disable the import of the module
.I site
...
...
@@ -102,10 +132,6 @@ and the site-dependent manipulations of
.I sys.path
that it entails.
.TP
.B \-E
Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
the behavior of the interpreter.
.TP
.B \-t
Issue a warning when a source file mixes tabs and spaces for
indentation in a way that makes it depend on the worth of a tab
...
...
@@ -121,14 +147,6 @@ twice, print a message for each file that is checked for when
searching for a module. Also provides information on module cleanup
at exit.
.TP
.B \-x
Skip the first line of the source. This is intended for a DOS
specific hack only. Warning: the line numbers in error messages will
be off by one!
.TP
.B \-h
Prints the usage for the interpreter executable and exits.
.TP
.B \-V
Prints the Python version number of the executable and exits.
.TP
...
...
@@ -197,10 +215,10 @@ case-sensitive. The
field matches the line number, where zero matches all line numbers and
is thus equivalent to an omitted line number.
.TP
.B
I "\-c " command
S
pecify the command to execute (see next section).
This terminates the option list (following options are passed as
arguments to the command).
.B
\-x
S
kip the first line of the source. This is intended for a DOS
specific hack only. Warning: the line numbers in error messages will
be off by one!
.SH INTERPRETER INTERFACE
The interpreter interface resembles that of the UNIX shell: when
called with standard input connected to a tty device, it prompts for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment