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
b2d10062
Commit
b2d10062
authored
Jul 06, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the description of how to start an interpreter and determine the
installation prefix and exec_prefix for Windows.
parent
b4b64daa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Doc/inst/inst.tex
Doc/inst/inst.tex
+6
-5
No files found.
Doc/inst/inst.tex
View file @
b2d10062
...
@@ -361,12 +361,13 @@ run-time. They are always the same under Windows and MacOS, and very
...
@@ -361,12 +361,13 @@ run-time. They are always the same under Windows and MacOS, and very
often the same under
\UNIX
. You can find out what your Python
often the same under
\UNIX
. You can find out what your Python
installation uses for
\filevar
{
prefix
}
and
\filevar
{
exec-prefix
}
by
installation uses for
\filevar
{
prefix
}
and
\filevar
{
exec-prefix
}
by
running Python in interactive mode and typing a few simple commands.
running Python in interactive mode and typing a few simple commands.
Under
\UNIX
, just type
\code
{
python
}
at the shell prompt; under Windows,
Under
\UNIX
, just type
\code
{
python
}
at the shell prompt. Under
run ``Python 2.0 (interpreter)''
\XXX
{
right?
}
; under MacOS,
\XXX
{
???
}
.
Windows, choose
\menuselection
{
Start
\sub
Programs
\sub
Python
2.1
\sub
Python (command line)
}
. Under MacOS,
\XXX
{
???
}
.
Once the interpreter is started, you type Python code at the
Once the interpreter is started, you type Python code at the
\samp
{
>
\code
{
>
}
>
}
prompt. For example, on my Linux system, I type the three
prompt. For example, on my Linux system, I type the three Python
Python statements shown below, and get the output as shown, to find
statements shown below, and get the output as shown, to find out my
out my
\filevar
{
prefix
}
and
\filevar
{
exec-prefix
}
:
\filevar
{
prefix
}
and
\filevar
{
exec-prefix
}
:
\begin{verbatim}
\begin{verbatim}
Python 1.5.2 (#1, Apr 18 1999, 16:03:16) [GCC pgcc-2.91.60 19981201 (egcs-1.1.1 on linux2
Python 1.5.2 (#1, Apr 18 1999, 16:03:16) [GCC pgcc-2.91.60 19981201 (egcs-1.1.1 on linux2
...
...
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