summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* Choose the smallest value of x,y for the clock's radius (instead of just ↵Andrew M. Kuchling2000-12-231-9/+6
| | | | | | | taking the y coordinate), and change radius of second indicator to compensate Remove redundant setting of sradius
* Update this demo to use curses.panelAndrew M. Kuchling2000-12-221-2/+3
|
* Another demo from Thomas Gellekum (seasonally-themed, too)Andrew M. Kuchling2000-12-212-0/+907
|
* Curses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.Andrew M. Kuchling2000-12-154-1/+541
| | | | ncurses.py requires panel support, and therefore doesn't work yet.
* Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd lineGuido van Rossum2000-12-141-3/+3
| | | | arg.
* Check in README file and one demo programAndrew M. Kuchling2000-12-132-0/+226
|
* A solution to the classic N queens problem.Guido van Rossum2000-11-161-0/+85
|
* Add 1994 Coroutine module by Tim PetersGuido van Rossum2000-11-084-0/+332
|
* Fix Makefile so at least it uses Python 2.0, and compiles out of theGuido van Rossum2000-11-031-2/+2
| | | | box on Linux.
* Move our own getopt() implementation to _PyOS_GetOpt(), and use itThomas Wouters2000-11-031-4/+1
| | | | | | | | | regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
* Remove some obsolete files, and update the README.Fred Drake2000-10-233-113/+0
|
* Demos of the new XML support from Lars Marius Garshol <larsga@garshol.priv.no>.Fred Drake2000-10-163-0/+172
|
* Removing these scripts. redemo.py lives on in Tools/scripts/.Guido van Rossum2000-10-062-298/+0
| | | | regexdemo.py is obsolete with the regex module.
* Jeremy missed a bind() call when updating these demos. ;)Fred Drake2000-08-251-1/+1
|
* update demo scripts to use addr tuples for bind and connectJeremy Hylton2000-08-256-9/+9
| | | | closes bug #111928
* Sort the list of files processed before running the test on each.Fred Drake2000-08-231-3/+1
|
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-222-13/+10
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-181-160/+160
| | | | use "cvs diff -b" to verify.
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-164-5/+5
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Add linker flag -export-dynamic so symbols in libpython*.a are exported.Guido van Rossum2000-07-101-1/+2
|
* Adapted for Python 2.0 under RH Linux.Guido van Rossum2000-07-101-5/+6
|
* demonstration importersGreg Stein2000-06-291-0/+248
|
* typos fixed by Rob HooftJeremy Hylton2000-06-283-3/+3
|
* Remove stdwin referencesGuido van Rossum2000-05-111-7/+0
|
* Removing junkGuido van Rossum2000-05-1118-3046/+0
|
* removing more stdwin usersGuido van Rossum2000-05-1114-2894/+0
|
* removing more stdwin usersGuido van Rossum2000-05-1137-6107/+0
|
* Fix use of list.append() with multiple argumentsAndrew M. Kuchling2000-02-281-1/+1
|
* Fix a couple dozen broken ci.append(x, y, z) calls, spotted by Tim.Guido van Rossum2000-02-251-25/+25
|
* Fix some broken links.Guido van Rossum2000-01-201-3/+3
|
* 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.)