summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* Moved all the imports to the top.Fred Drake1999-11-191-9/+5
| | | | | | | Use the methods on the AST object instead of module-level functions; these have been implemented for a couple of versions now, and are already used in the module documentation in preference to the functions.
* Add -v flag. Comment duplicate Py_Finalize().Guido van Rossum1999-10-051-2/+8
|
* Ofir Reichenberg suggested to apply htonl() to grpaddr in openmcastsock().Guido van Rossum1999-08-071-3/+3
| | | | Also got rid of unnecessary use of eval() and regsub.gsub().
* Fix bug discovered by Klaus-Juergen Wolf -- it runs into infinite recursion!Guido van Rossum1999-06-091-1/+1
|
* Correct spelling of length, discovered by Christian Tismer.Guido van Rossum1999-04-211-2/+2
|
* This demo imported some private code from Matt. Make it cripple along.Guido van Rossum1999-04-081-3/+10
|
* Change #! line to modern usage; also chmod +xGuido van Rossum1999-03-122-2/+2
|
* Change #! line to modern usageGuido van Rossum1999-03-123-3/+3
|
* Call Py_SetProgramName() instead of redefining getprogramname(),Guido van Rossum1999-03-091-11/+3
| | | | reflecting changes in the runtime around 1.5 or earlier.
* 100 bottles of beer on the wall example.Guido van Rossum1998-12-211-0/+14
| | | | | | After a version by Fredrik Lundh that I found on the web somewhere. (I like mine better, but of course that may have to do with my alcohol consumption. :-)
* Adding Fredrik Lundh's demo of the option menu.Guido van Rossum1998-10-201-0/+27
|
* Use constants defined in cl module. (Sjoerd)Guido van Rossum1998-10-092-13/+12
|
* Removed unnecessary import of cl and CL. (Sjoerd)Guido van Rossum1998-10-091-1/+0
|
* Fix multi-arg list.append() calls.Guido van Rossum1998-10-0811-18/+18
|
* Added a 'Help' special menu to show how this is done.Barry Warsaw1998-10-061-0/+5
|
* Added the mainloop() call.Guido van Rossum1998-09-141-0/+1
|
* nannifiedGuido van Rossum1998-09-141-1/+1
|
* nannifiedGuido van Rossum1998-09-1422-1650/+1651
|
* nannified.Guido van Rossum1998-09-141-70/+70
|
* Fix a bug where comparison of a rational with a float failed becauseGuido van Rossum1998-09-091-9/+9
| | | | | | | the difference got converted to float. Put brackets around the string representation of (non-integer) rationals. (Sjoerd Mullender.)
* Corrected some spelling and one technical error.Guido van Rossum1998-08-101-5/+5
|
* Vladimir Marangozov's explanatory message.Guido van Rossum1998-08-101-0/+256
|
* New warnings to the uninitiated reader.Guido van Rossum1998-08-101-4/+11
|
* Show how to do switchable panels.Guido van Rossum1998-07-151-0/+54
|
* Get rid of the lock; it's no longer needed.Guido van Rossum1998-06-301-15/+5
|
* Remove the doc string -- it doesn't tell the truth.Guido van Rossum1998-05-291-13/+1
|
* New demo -- Perl style regular expression matching.Guido van Rossum1998-05-291-0/+183
| | | | Slightly more featureful than regexdemo.py.
* Protect all uses of the random generator with a lock.Guido van Rossum1998-05-281-8/+24
| | | | Particles break out of their loop when the main loop exits.
* An example of a multi-threaded Tkinter program.Guido van Rossum1998-05-281-0/+44
|
* Fix some comments; move 'import random' to top.Guido van Rossum1998-05-261-13/+9
|
* whrandom -> randomGuido van Rossum1998-05-204-10/+10
|
* Use whrandom instead of rand.Guido van Rossum1998-05-191-5/+5
| | | | Run 500 steps instead of forever.
* Add link to Anthony Baxter's enhanced version.Guido van Rossum1998-04-271-0/+4
|
* Catch exceptions in final self.destroy() call.Guido van Rossum1998-04-101-2/+5
|
* Got rid of redundant copy of telnetlib.pyGuido van Rossum1998-04-061-321/+0
|
* Add a sleep(0.00001) call to make sure all threads run.Guido van Rossum1998-03-261-0/+2
|
* Fix bug in islocked() -- it would always return 0.Guido van Rossum1998-03-171-0/+2
|
* Removed condition.py -- it was just sync.py withoutGuido van Rossum1998-02-142-476/+0
| | | | the mrsw lock and without 'condition' allocating a lock by default
* Add Piet van Oostrum's name to the comments.Guido van Rossum1998-01-291-1/+2
|
* Add simple Unix socket example by Piet van Oostrum.Guido van Rossum1998-01-283-1/+27
|
* Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.Fred Drake1998-01-281-1/+1
|
* Paint demo by Dave Mitchell. There's clearly a demand for such aGuido van Rossum1998-01-261-0/+60
| | | | demo, so here it is.
* SO_REUSEPORT should be SO_REUSEADDR.Guido van Rossum1998-01-151-1/+1
| | | | I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
* Just for fun, add a static module, "xyzzy" -- show that calling itsGuido van Rossum1997-12-251-0/+30
| | | | initxyzzy() works.
* Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing andGuido van Rossum1997-12-251-1/+5
| | | | restarting the server.
* Fix the way the version number is gotten out of the RCS revision.Guido van Rossum1997-12-091-1/+2
|
* Fix the test for pow() -- no more TypeErrors are raised!Guido van Rossum1997-12-091-2/+2
|
* Forgot to use &lt;/&gt; for some example output.Guido van Rossum1997-12-051-2/+2
|
* Remove hyperlink to time-sensitive Python release info.Guido van Rossum1997-11-251-2/+2
|
* Trivial change in prompt label suggested by Case Roole.Guido van Rossum1997-11-241-1/+1
|