File: class/Extras/Other/_old-Tools/changes2.5.txt
# changes to be ingtegrated for 2.5.2 -put 2.5.1 Workbook.doc/.pdf back in Tools -unit7: move "The World's Simplest Class" below section "1. Classes..." statements [line.rstrip() for line in open('README.txt') if line[0] == 'p'] types: if/for introduced in dictionaries section: has_key(), keys() statements: interactive loop / statement nesting example exceptions: test driver example exceptions: strings vs class methods example: library module ===================================================================================== # changes to be integrated for 2.5.1 -add cgi-bin subdirectories in Extras/{pp3e,Internet} -new PP3E examples distribution 1.2 - pymailgui now uses grids for linux, fixed handful of non-ascii characters and lingering pp2e references; note that pymailgui still can't save part files if run off CD. -new mailconfig for PyMailGUI in PP3E examples distro, for my email accounts -intro: mention PEPs, testing suite, PSF; SOAP, XML-RPC, CORBA; PIL, animation libs; -Python vs Perl: can do same tasks, but can read your code after you do it -more on distutils in Using Py -- not for 3rd party installs -- setup.py, Built-in tools, Extending -- alternative to makefiles -unit6 modules: 2.5 relative imports text was slid under a figure -add with/as to statements table at start of unit4 this is an optional feature in 2.5 (but turned on in 2.5 idle!) -system interfaces: getopt/optparse bullet in wrong place -system interfaces: mention subprocess, cygwin -new class example: class Privates, __setattr__ -new class rec: pass example -new class example: class Callback, __call__ delete bizarre slicing exercises in lab2? -add dir() help() examples in types unit, for more details -change apply(func, args) call in functions lab to use func(*args) -databases unit: cx_Oracle, module name, no: new examples, informix -modules: add from * issues, and from/reload problems; update package example sketch -extending: add intro sketch from pp3e Intro: -YouTube almost entirely written in Python (per gvr) -MIT intro cs class using Python -iRobot vacuum hackable in python -PythonCE for Windows Mobile -drop the Tools\Workbook.doc file; redundant with the top-level Workbook HTML directory. ===================================================================================== # workbook material changes integrated for 2.5.0 Active Scripting no longer supported (rexec) (okay in asp:server, wsh) rexec no longer available rotor gone - use PyCrypto ftp.python.org turned off mar06 PSP, Zope, ASP (server-side templating) a if b else c (2.5) django, turbogears, SOAPy, xmlrpclib IronPython ESRI, NOAA, JP Morgan Chase, UBS, Qualcomm NLTK (natural lang) new books: wxPython. TurboGears, Django new Python distribution: b if a else c, with/as, relative import, ElementTree, ctypes, sqlite2 New PP3E book examples added on CD new style classes auto for stand-alone classes in 3.0 Guido at Google Ipod port dbase: threads, sqlobject, pysqlite (2.5), blobs, pp3e examples, zodb opt for reads not writes, zeo, zodb: concur, xact, write through guis: color/font change demo builders: boaconst/wxdesign, blackadder/qtdesigner, dabo inet: pysoap/soappy, xmlrpclib system: pty/pexpect, omniorb text: reference XML parsing in Internet section eclipse and PyDev ruby: forced OOP like Java; Python more like C++ - both procedural and OO components; Ruby more Perl-ish syntactically bug in sys.exc_info[i] solns system: bigfiles demo, sys.exit(N), exc_info(), getopt/optparse