Differences between revisions 5 and 10 (spanning 5 versions)
Revision 5 as of 2004-06-22 01:44:00
Size: 2925
Editor: pcp07840438pcs
Comment:
Revision 10 as of 2004-06-27 21:27:18
Size: 1278
Editor: twgate
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page is intended to be used from the EducationalCd.
Line 4: Line 2:
 * PythonCdWiki - about the web pages you are looking at right now
Line 8: Line 7:
 * [http:/docs/beazley/intropy.pdf David Beazley's Intro to Python] ''pdf''
 * [http:/docs/beazley/advpy.pdf David Beazley's Advanced Python] ''pdf''
 * [http:/docs/beazley/intropy.pdf David Beazley: Intro to Python] ''pdf''
 * [http:/docs/beazley/advpy.pdf David Beazley: Advanced Python] ''pdf''
 * [http:/docs/heiko_schroeder/python/ Heiko Schroeder: Teil 1: Der Pythonkern] {de}
 * [http:/docs/heiko_schroeder/tkinter/ Heiko Schroeder: Teil 2: Graphisches Programmieren mit Tkinter] {de}
Line 12: Line 13:
 * [http://conferences.oreillynet.com/presentations/os2003/urner_kirby_final.ppt Kirby Urner's Python in Education] ''ppt''
 * [http://www.python.org/doc/essays/ppt/acm-cp4e/acm-cp4e.PPT Computer Programming for Everybody] ''ppt''
 * [http:/docs/urner_kirby_final/ Kirby Urner: Python in Education]
 * [http:/docs/acm-cp4e/ Guido van Rossum: Computer Programming for Everybody]
Line 15: Line 16:
Are they anywhere else NOT in powerpoint format, but in html or pdf?

''If you open them in Powerpoint or Open Office, you can save them to HTML or PDF.''

= Essays =
 * [http:/docs/pythonology.com/whypython.html Why Python? by esr]
= Essays, Promoting Python =
 * [http:/docs/pythonology.com/whypython.html Eric Raymond: Why Python?]
 * [http:/docs/jmiller/miller_dissertation.pdf John Miller: Promoting computer literacy through programming Python]
Line 24: Line 22:

  * Python Docs, Essays, Free Python Books (IntroductoryBooks, AdvancedBooks?)
  * John Miller's Thesis - URL?

  * Docs, Tutorials and FAQs to non-core components (like PyGtk etc.)

= Python Wiki =

You said you wanted to mirror the Python wiki on the CD, here is a little script to suck the pages from the wiki to a folder:
{{{
#!python
import socket, os, sys, urllib2
socket.setdefaulttimeout(15)
from time import sleep

def suckwiki(pagelist, #url to plain text list of wiki pages
             rawpage, #url to raw wiki text of a page
             foldername="wikifiles", #name of folder to save files to
             sleeptime=1 #seconds to sleep between page accesses
             ):
    foldername = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), foldername)
    if not os.path.exists(foldername): os.mkdir(foldername)
    opener = urllib2.build_opener()
    listrequest = urllib2.Request(pagelist)
    listresponse = opener.open(listrequest)
    sleep(sleeptime)
    for pagename in listresponse:
        pagename = pagename.strip()
        pagename = pagename.replace('_','_5f')
        pagename = pagename.replace(' ','_20')
        print pagename
        fullpagename = rawpage % {'pagename':pagename}
        pagerequest = urllib2.Request(fullpagename)
        page = opener.open(pagerequest)
        f = open(os.path.join(foldername,pagename),"wb")
        f.write(page.read())
        f.close()
        page.close()
        sleep(sleeptime)

if __name__ == '__main__':
    pagelist = "http://www.python.org/cgi-bin/moinmoin/TitleIndex?action=titleindex"
    rawpage = r"http://www.python.org/cgi-bin/moinmoin/%(pagename)s?action=raw"
    foldername = "pythonwiki" #name of folder to save pages to
    suckwiki(pagelist,rawpage,foldername)
}}}
 * Docs, Tutorials and FAQs to non-core components (like PyGtk etc.)

Introductions

Presentations

Essays, Promoting Python

Advanced

PythonCdDocs (last edited 2014-04-26 07:31:43 by DaleAthanasias)

Unable to edit the page? See the FrontPage for instructions.