Fred Drake
7b8b125fa6
Remove bogus characters in code sample.
1999-04-22 21:19:53 +00:00
Guido van Rossum
27f550cdd5
Nits: document use of $IDLESTARTUP; display idle version
1999-04-22 20:56:23 +00:00
Fred Drake
fcf94d4edd
Work around LaTeX2HTML comment-handling bug.
1999-04-22 20:55:59 +00:00
Fred Drake
4a406c619b
Shorten the section title.
1999-04-22 20:52:44 +00:00
Guido van Rossum
e1e1488319
New version to celebrate new command line
1999-04-22 20:50:52 +00:00
Guido van Rossum
3d0ff00c08
Added flush(), for completeness.
1999-04-22 20:50:33 +00:00
Guido van Rossum
eeb88076e7
A lot of changes to make the command line more useful. You can now do:
...
idle.py -e file ... -- to edit files
idle.py script arg ... -- to run a script
idle.py -c cmd arg ... -- to run a command
Other options, see also the usage message (also new!) for more details:
-d -- enable debugger
-s -- run $IDLESTARTUP or $PYTHONSTARTUP
-t title -- set Python Shell window's title
sys.argv is set accordingly, unless -e is used.
sys.path is absolutized, and all relevant paths are inserted into it.
Other changes:
- the environment in which commands are executed is now the __main__ module
- explicitly save sys.stdout etc., don't restore from sys.__stdout__
- new interpreter methods execsource(), execfile(), stuffsource()
- a few small nits
1999-04-22 20:49:35 +00:00
Fred Drake
c4a623ebdc
Add command line flags to just list the files that contain the
...
offending lines or to include line numbers in the output.
1999-04-22 20:32:21 +00:00
Fred Drake
c8c40ff699
Added a "See also" section with some external references.
1999-04-22 20:16:02 +00:00
Fred Drake
4e28c593ad
Markup nits.
...
Make module references hyperlinks.
1999-04-22 18:25:47 +00:00
Fred Drake
b7168c3a07
Clean up lots of mark up.
1999-04-22 17:53:37 +00:00
Fred Drake
79936fe73f
Added descriptions of the various exceptions, based on the docstrings.
...
Various small cleanups.
1999-04-22 17:23:34 +00:00
Fred Drake
c8993aad10
Logical markup and small nits.
...
Don't refer to the STDWIN chapter; chances are really good it wasn't
included. ;-)
1999-04-22 16:50:40 +00:00
Fred Drake
12a956921f
Make some module references hyperlinks.
1999-04-22 16:47:27 +00:00
Fred Drake
b774550ba5
Minor logical markup nits.
...
Make some module references hyperlinks.
1999-04-22 16:46:18 +00:00
Fred Drake
dd6c6d9b0a
Clean up some mark up.
1999-04-22 16:45:26 +00:00
Fred Drake
e2effbd32d
Fix minor (English) usage nits.
1999-04-22 16:21:09 +00:00
Fred Drake
bcd5454d63
Reference to urllib module can be a hyperlink.
1999-04-22 16:17:45 +00:00
Fred Drake
4429772ea3
Fix dropped space in the HTML output.
1999-04-22 16:15:34 +00:00
Fred Drake
babdda53d5
Make reference to the socket module a hyperlink.
1999-04-22 16:03:30 +00:00
Fred Drake
bf0f4346af
Shorten the section title.
1999-04-22 15:53:35 +00:00
Fred Drake
47894d2858
Don't describe this module as being a popen() wrapper; that's a little
...
confusing. This is clearly Unix-specific; label it as such.
1999-04-22 15:19:01 +00:00
Fred Drake
a694e00085
Remove \platform declaration; this module is generic.
1999-04-22 15:14:11 +00:00
Fred Drake
5254a6d682
Move stat to the Generic chapter.
1999-04-22 15:01:44 +00:00
Fred Drake
ca69a03dd6
Don't refer to the system documentation as "man pages"; too
...
Unix-centric. Note that this can be used with the output of
os.fstat() as well as os.stat() and os.lstat().
1999-04-22 14:55:43 +00:00
Fred Drake
7bf96ca32d
Make an assertion.
1999-04-22 14:16:59 +00:00
Fred Drake
6532b9b8e0
Updated a comment and the release number.
1999-04-22 14:16:14 +00:00
Guido van Rossum
9f5362bfa6
Some more TODO items. Made up my mind about command line args,
...
Run/Import, __main__.
1999-04-22 14:07:33 +00:00
Fred Drake
2ea30f4d8c
Add warning that last() and previous() don't work for hashtable
...
databases (opened using hashopen()), as noted by Skip Montanaro on
comp.lang.python.
1999-04-22 14:06:36 +00:00
Guido van Rossum
e62e76c383
Super-elegant patch by Tim Peters that speeds up colorization
...
dramatically (up to 15 times he claims). Works by reading more than
one line at a time, up to 100-line chunks (starting with one line and
then doubling up to the limit). On a typical machine (e.g. Tim's
P5-166) this doesn't reduce interactive responsiveness in a noticeable
way.
1999-04-22 13:38:40 +00:00
Fred Drake
693a2c6581
Script to locate uses of \module where the module referred to is not
...
the module being documented at that point in the documentation; these
are candidates for conversion to \refmodule, which produces a
hyperlink in the HTML and PDF versions of the output.
1999-04-22 13:08:09 +00:00
Fred Drake
e0208cc83c
Add a couple of items.
1999-04-22 13:05:52 +00:00
Fred Drake
adade928be
Fill in a lot of the blanks. Add a start to the LaTeX primer section.
...
Use Python-traditional XXX comments instead of square brackets that
aren't as obvious or usefully grepable.
1999-04-22 13:05:27 +00:00
Fred Drake
30a535c0f7
Added support for adding environment/macro parameters more cleanly:
...
\op adds an optional parameter, and \p adds a required parameter.
These are only defined in the context of the parameter list parameter
of the envdesc and macrodesc environments.
1999-04-22 13:03:49 +00:00
Guido van Rossum
eda232fdac
Allow longer strings (up to 80 chars each) for version, build,
...
compiler info.
1999-04-22 12:03:40 +00:00
Fred Drake
b9f1f6d90b
Misc. markup nits.
...
All sections get reasonable file names in the HTML output.
1999-04-21 21:43:17 +00:00
Fred Drake
2dabd811cd
Fix markup typo.
1999-04-21 21:33:24 +00:00
Fred Drake
d146edfaf1
Mark the "Notes:" sections under tables the same way it's done
...
elsewhere in the library reference.
1999-04-21 21:15:35 +00:00
Fred Drake
b11d108cdc
The version information here was checked good in 1999, not 199. ;-)
...
Added "See also" reference to zlib home page, even though it's
mentioned in the text.
1999-04-21 18:44:41 +00:00
Fred Drake
2799f9d09a
Reflow paragraph to work around LaTeX2HTML dropping a space.
...
Make all references to the os module hyperlinks.
1999-04-21 18:33:47 +00:00
Fred Drake
6d20caa2ce
Reflow paragraph to work around LaTeX2HTML dropping a space.
1999-04-21 18:17:11 +00:00
Fred Drake
543e19d923
Small nits, more hyperlinks.
...
Added more information for cStringIO.
1999-04-21 18:15:22 +00:00
Fred Drake
048b75bd9a
Make references to whrandom hyperlinks.
1999-04-21 18:14:22 +00:00
Fred Drake
ec6baaf618
Small markup nits.
1999-04-21 18:13:31 +00:00
Fred Drake
54f2fdd1ad
Make the names of the referenced modules hyperlinks; they had not been
...
marked at all.
1999-04-21 18:10:08 +00:00
Fred Drake
02e8c0fd2d
Nits. Reference to signal module becomes a hyperlink.
1999-04-21 18:01:14 +00:00
Fred Drake
283c588402
Work around LaTeX2HTML comment-handling bug.
1999-04-21 17:57:15 +00:00
Fred Drake
318c0b131f
Logical markup nits.
...
Make references to other modules hyperlinks.
1999-04-21 17:29:14 +00:00
Fred Drake
c3845a14d3
Logical markup & other small nits.
1999-04-21 17:18:04 +00:00
Fred Drake
11bc8cfee3
Explain *why* the copytree() implementation is presented as the
...
example!
1999-04-21 17:08:51 +00:00