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
316a6b5d
Commit
316a6b5d
authored
Apr 27, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version fix (bug #1708710)
parent
db87573a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/tut/tut.tex
Doc/tut/tut.tex
+4
-4
No files found.
Doc/tut/tut.tex
View file @
316a6b5d
...
@@ -184,12 +184,12 @@ your local Python guru or system administrator. (E.g.,
...
@@ -184,12 +184,12 @@ your local Python guru or system administrator. (E.g.,
\file
{
/usr/local/python
}
is a popular alternative location.)
\file
{
/usr/local/python
}
is a popular alternative location.)
On Windows machines, the Python installation is usually placed in
On Windows machines, the Python installation is usually placed in
\file
{
C:
\e
Python2
4
}
, though you can change this when you're running
\file
{
C:
\e
Python2
5
}
, though you can change this when you're running
the installer. To add this directory to your path,
the installer. To add this directory to your path,
you can type the following command into the command prompt in a DOS box:
you can type the following command into the command prompt in a DOS box:
\begin{verbatim}
\begin{verbatim}
set path=
%path%;C:\python2
4
set path=
%path%;C:\python2
5
\end{verbatim}
\end{verbatim}
...
@@ -4654,7 +4654,7 @@ operating system:
...
@@ -4654,7 +4654,7 @@ operating system:
>>> os.system
(
'time
0
:
02
'
)
>>> os.system
(
'time
0
:
02
'
)
0
0
>>> os.getcwd
()
# Return the current working directory
>>> os.getcwd
()
# Return the current working directory
'C:
\\
Python
2
4
'
'C:
\\
Python
2
5
'
>>> os.chdir
(
'
/
server
/
accesslogs'
)
>>> os.chdir
(
'
/
server
/
accesslogs'
)
\end
{
verbatim
}
\end
{
verbatim
}
...
@@ -5254,7 +5254,7 @@ applications include caching objects that are expensive to create:
...
@@ -5254,7 +5254,7 @@ applications include caching objects that are expensive to create:
Traceback (most recent call last):
Traceback (most recent call last):
File "<pyshell#108>", line 1, in -toplevel-
File "<pyshell#108>", line 1, in -toplevel-
d['primary'] # entry was automatically removed
d['primary'] # entry was automatically removed
File "C:/
PY24
/lib/weakref.py", line 46, in
__
getitem
__
File "C:/
python25
/lib/weakref.py", line 46, in
__
getitem
__
o = self.data[key]()
o = self.data[key]()
KeyError: 'primary'
KeyError: 'primary'
\end{verbatim}
\end{verbatim}
...
...
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