Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
268df27c
Commit
268df27c
authored
Nov 09, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the new markup as apporpriate.
parent
6e9ea59a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
Doc/lib/libsys.tex
Doc/lib/libsys.tex
+17
-17
No files found.
Doc/lib/libsys.tex
View file @
268df27c
...
...
@@ -13,8 +13,8 @@ It is always available.
The list of command line arguments passed to a Python script.
\code
{
argv[0]
}
is the script name (it is operating system
dependent whether this is a full pathname or not).
If the command was executed using the
\
samp
{
-c
}
command line option
to the interpreter,
\code
{
argv[0]
}
is set to the string
If the command was executed using the
\
programopt
{
-c
}
command line
option
to the interpreter,
\code
{
argv[0]
}
is set to the string
\code
{
'-c'
}
.
If no script name was passed to the Python interpreter,
\code
{
argv
}
has zero length.
...
...
@@ -81,16 +81,16 @@ the other two are undefined.
\end{datadesc}
\begin{datadesc}
{
exec
_
prefix
}
A string giving the site-specific
directory prefix where the platform-dependent Python files are
installed; by default, this is also
\code
{
'/usr/local'
}
. This can b
e
set at build time with the
\code
{
-
}
\code
{
-exec-prefix
}
argument to the
A string giving the site-specific
directory prefix where the
platform-dependent Python files are installed; by default, this is
also
\code
{
'/usr/local'
}
. This can be set at build time with th
e
\programopt
{
-
}
\programopt
{
-exec-prefix
}
argument to the
\program
{
configure
}
script. Specifically, all configuration files
(e.g. the
\file
{
config.h
}
header file) are installed in the directory
\code
{
exec
_
prefix + '/lib/python
\var
{
version
}
/config'
}
, and shared
library
modules are installed in
\code
{
exec
_
prefix + '/lib/python
\var
{
version
}
/lib-dynload'
}
,
where
\var
{
version
}
is equal
to
\code
{
version[:3]
}
.
\code
{
exec
_
prefix + '/lib/python
\var
{
version
}
/config'
}
, and shared
library modules are installed in
\code
{
exec
_
prefix +
'/lib/python
\var
{
version
}
/lib-dynload'
}
, where
\var
{
version
}
is equal
to
\code
{
version[:3]
}
.
\end{datadesc}
\begin{datadesc}
{
executable
}
...
...
@@ -194,13 +194,13 @@ components to \code{path}, for instance.
A string giving the site-specific directory prefix where the platform
independent Python files are installed; by default, this is the string
\code
{
'/usr/local'
}
. This can be set at build time with the
\
code
{
-
}
\code
{
-prefix
}
argument to the
\program
{
configure
}
script. The main
collection of Python library modules is installed in the directo
ry
\code
{
prefix + '/lib/python
\var
{
version
}
'
}
while the platform
independent header files (all except
\file
{
config.h
}
) are stored in
\code
{
prefix + '/include/python
\var
{
version
}
'
}
,
where
\var
{
version
}
is equal to
\code
{
version[:3]
}
.
\
programopt
{
-
}
\programopt
{
-prefix
}
argument to the
\program
{
configure
}
script. The main collection of Python libra
ry
modules is installed in the directory
\code
{
prefix +
'/lib/python
\var
{
version
}
'
}
while the platform independent header
files (all except
\file
{
config.h
}
) are stored in
\code
{
prefix +
'/include/python
\var
{
version
}
'
}
, where
\var
{
version
}
is equal to
\code
{
version[:3]
}
.
\end{datadesc}
\begin{datadesc}
{
ps1
}
...
...
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