Oreilly.com -- Online Catalog: Learning Python, 2nd Edition Offers a learning tool for python and objectoriented programming. Introduces the basic elements of the latest release of python 2.3 and covers new features, such as list comprehensions, nested scopes, and iterators/generators. http://www.oreilly.com/catalog/lpython2/
Extractions: O'Reilly Home Press Room Jobs Resource Centers Perl Java Python C/C++ ... Enterprise Development Book Series Hacks Head First Cookbooks In a Nutshell ... Developer's Notebooks Publishing Partners No Starch Press Paraglyph Press Pragmatic Bookshelf Syngress Publishing Online Publications LinuxDevCenter.com MacDevCenter.com WindowsDevCenter.com ONDotnet.com ... Scripts
Programming Python, 2nd Edition: Chapter 15: Advanced Internet Topics By Mark Lutz. O'Reilly book sample. Introduces Internet related topics Zope (web publishing framework), HTMLgen (makes web pages from objects), Jython (python for Java), XML processing, server pages, Windows web scripting extensions, restricted execution mode tools. http://www.oreilly.com/catalog/python2/chapter/ch15.html
Extractions: Advanced Internet Topics This chapter concludes our look at Python Internet programming by exploring a handful of Internet-related topics and packages. We've covered many Internet topics in the previous five chapterssocket basics, client and server-side scripting tools, and programming full-blown web sites with Python. Yet we still haven't seen many of Python's standard built-in Internet modules in action. Moreover, there is a rich collection of third-party extensions for scripting the Web with Python that we have not touched on at all. In this chapter, we explore a grab-bag of additional Internet-related tools and third-party extensions of interest to Python Internet developers. Along the way, we meet larger Internet packages, such as HTMLgen, JPython, Zope, PSP, Active Scripting, and Grail. We'll also study standard Python tools useful to Internet programmers, including Python's restricted execution mode, XML support, COM interfaces, and techniques for implementing proprietary servers. In addition to their practical uses, these systems demonstrate just how much can be achieved by wedding a powerful object-oriented scripting language such as Python to the Web. after the first edition of this book was written, and the next five years promise to be just as prolific. As always, the standard moving-target caveat applies: read the Python library manual's Internet section for details we've skipped, and stay in touch with the Python community at
Programming Languages Mini-HOWTO Brief comparison of major Linux programming languages C, C++, Fortran, Java, Lisp, Perl, PHP, python, Tcl; by Risto S. Varanka. http://www.tldp.org/HOWTO/Programming-Languages.html
TCC Publications: Programming Languages python language quick reference (28 pp), Tkinter reference (84 pp), python Imaging Library PIL quick reference (6 pp). Postscript and PDF formats available. http://www.nmt.edu/tcc/help/pubs/lang.html
An Interview With Guido Van Rossum python's creator discusses features and future of the programming language. http://www.oreilly.com/frank/rossum_1099.html
Extractions: O'Reilly Home Press Room Jobs Resource Centers Perl Java Python C/C++ ... Enterprise Development Book Series Hacks Head First Cookbooks In a Nutshell ... Developer's Notebooks Publishing Partners No Starch Press Paraglyph Press Pragmatic Bookshelf Syngress Publishing Online Publications LinuxDevCenter.com MacDevCenter.com WindowsDevCenter.com ONDotnet.com ... XML.com Special Interest Events Meerkat News Ask Tim tim.oreilly.com ... Open Books Special Sales Academic Corporate Government Inside O'Reilly About O'Reilly International Advertise with Us Contact Us ... Bookstores Chicago Hotels ... Blog this Willison: Would you say that a lot of the interesting work and excitement that's going on now in Python, or more of it at least than in the past, is on the application side? That is, applications of Python rather than new features of Python? van Rossum: Yes. My own perception of that is somewhat colored by where people ask my advice, which is still, of course, about changes to Python internals or at least standard libraries. But I see an enormous amount of stuff going on where people are just developing very exciting applications. I think Zope is probably the prime example at the moment.
Python Topic Guides Give overviews of resources associated with specific topics. Written by volunteers interested in making such resources easier for all to find. Topics databases, scientific computing, Tkinter, Web programming, XML. http://www.python.org/topics/
Extractions: Home Search Download Documentation ... SIGs See Also Searches Various Resources Special Interest Groups FAQs Contributed Links The Python Starship Email Us webmaster@python.org Python Software Foundation Python Topic Guides provide overviews of Python resources associated with specific topics. They are produced by volunteers interested in making those resources easier for everyone to find. These reports summarize the Python community's activities for a given year. also includes Lua, Perl, Ruby, Tcl summaries.
Oreilly.com -- Online Catalog: Learning Python By Mark Lutz, David Ascher. Samples from O'Reilly book. Has manipulating data structures, files, programs; internet programming; Jpython, now Jython, python implementation for the Java platform. http://www.oreilly.com/catalog/lpython/chapter/
Extractions: O'Reilly Home Press Room Jobs Resource Centers Perl Java Python C/C++ ... Enterprise Development Book Series Hacks Head First Cookbooks In a Nutshell ... Developer's Notebooks Publishing Partners No Starch Press Paraglyph Press Pragmatic Bookshelf Syngress Publishing Online Publications LinuxDevCenter.com MacDevCenter.com WindowsDevCenter.com ONDotnet.com ... Scripts
Regular Expression HOWTO Detailed HowTo documentation about regular expressions usage in combination with the Phyton programming/scripting language. http://www.amk.ca/python/howto/regex/regex.html
Extractions: Regular Expression HOWTO A.M. Kuchling amk@amk.ca This document is an introductory tutorial to using regular expressions in Python with the re module. It provides a gentler introduction than the corresponding section in the Library Reference. This document is available from http://www.amk.ca/python/howto The re module was added in Python 1.5, and provides Perl-style regular expression patterns. Earlier versions of Python came with the regex module, which provides Emacs-style patterns. Emacs-style patterns are slightly less readable and don't provide as many features, so there's not much reason to use the regex module when writing new code, though you might encounter old code that uses it. Regular expressions (or REs) are essentially a tiny, highly specialized programming language embedded inside Python and made available through the re module. Using this little language, you specify the rules for the set of possible strings that you want to match; this set might contain English sentences, or e-mail addresses, or TeX commands, or anything you like. You can then ask questions such as ``Does this string match the pattern?'', or ``Is there a match for the pattern anywhere in this string?''. You can also use REs to modify a string or to split it apart in various ways. Regular expression patterns are compiled into a series of bytecodes which are then executed by a matching engine written in C. For advanced use, it may be necessary to pay careful attention to how the engine will execute a given RE, and write the RE in a certain way in order to produce bytecode that runs faster. Optimization isn't covered in this document, because it requires that you have a good understanding of the matching engine's internals.
Python Frequently Asked Question Lists Official FAQ, searchable, maintained by community. Entries on programming, extending, and building python; known bugs, using on varied operating systems, language design, real world use. http://www.python.org/doc/FAQ.html
Python And Tkinter Programming By John E. Grayson; Manning Publications, 2000, ISBN 1884777813. For users knowing python who must make programs with GUIs; GUI design tools for fast development, prototyping. Has threads, ODBC; Tkinter reference. Manning Publications http://www.manning.com/Grayson/
Extractions: for more information. If you are interested in Python and Tkinter, you have probably noticed that although there is some good contributed documentation on the Web, there is not enough to get Tkinter applications up and running. Python and Tkinter Programming is the answer. It is designed for readers who are familiar with Python and who need to develop applications with Graphical User Interfaces (GUIs). Python and Tkinter Programming presents the elements of typical Python and Tkinter applications in a straight-forward fashion. Sample code illustrates each element. Complete applications that go far beyond the fill-the-form class of graphical user interfaces are presented; here you will find examples of complex controls, drawn interfaces and photorealistic panels. The code can readily be used as templates for new applications. Extensions to Python (such as ODBC) are examined as well. Complete source code for all examples, along with the latest releases of required software, will be available from Manning's web site. Tkinter is fully documented. To date, this level of documentation has not been available to Tkinter programmers, who have been required to read the code or interpret Tcl/Tk man pages to fully understand component usage.
A Quick Tour Of Python Short overview of some basics, for users with some programming knowledge. http://stsdas.stsci.edu/pyraf/python_quick_tour.html
Extractions: This document serves as a whirlwind overview of the basics of Python. We hope it will give adventurous PyRAF users a better idea of what is going on in the Python environment. Python is dynamically typed. You do not need to declare variables. You may simply assign to them, which creates the variable. Variables may hold simple types (integers, floats, etc.), functions, and objects among other things. x = 1 name = "sample string" name2 = 'another sample string' name3 = """a multiline string example""" y = 3.14 longint = 100000000000L z = None Note the last example. Python has a special value called None . It is generally used to represent a null value. Variable names are case sensitive. Variables can change type, simply by assigning them a new value of a different type. x = 1 x = "string value" Typing a variable name by itself at the interactive prompt results in its value or information about it being printed out (unless you are in PyRAF and type the name of an IRAF task, in which case CL emulation mode is entered and the task runs with no command-line arguments). Unlike the IRAF CL, no equal-sign (=) is needed to inspect a Python variable: >>> x = 1 >>> x >>> x+3 One exception to the rule is that if the value of the expression is None then nothing is printed.
And Now For Something Completely Different: Instant Python By Magnus Lie Hetland. Minimal introduction for experienced programmers. Treats basics, OO programming, Jedi mind trick. English, French, Italian, Portuguese, Spanish; German, Norwegian; Lithuanian, Polish, Russian; Japanese, Korean. http://www.hetland.org/python/instant-python.php
Extractions: Out now: Practical Python Home Page Research Writing ... Instant Hacking Instant Python Discretizing Anygui Mini-Python Praise ... Printable version [If you like this tutorial, please check out my book Practical Python This is a minimal crash-course in the programming language Python . To learn more, take a look at the documentation at the Python web site, www.python.org ; especially the tutorial . If you wonder why you should be interested, check out the comparison page where Python is compared to other languages. This introduction has been translated into several languages, among them Portuguese Italian Spanish Russian ... Japanese , and German , and is currently being translated into Norwegian, Polish, and Korean. Since this document still might undergo changes, these translations may not always be up to date. Note : To get the examples working properly, write the programs in a text file and then run that with the interpreter; do not try to run them directly in the interactive interpreter - not all of them will work. (Please do not ask me for details on this! I get swamped with emails on the subject... Check the
Beginner's Guide To Python New to programming? This page lists some places that can get you started quickly. http://www.python.org/doc/Newbies.html
Extractions: Home Search Download Documentation ... SIGs Introduction Overview Downloads Non-Programmers Programmers ... Courses Email Us webmaster@python.org Python Software Foundation New to programming? Python is free, and easy to learn if you know where to start! This guide will help you to get started quickly. Read our brief overview of Python to learn the key points. First, you need to get the Python interpreter installed on your computer. (This is the program that reads Python programs and carries out their instructions; you need it before you can do any Python programming.) See "Downloading Python" for instructions for downloading the correct version of Python. You'll want to select a text editor that has support for Python. Next, you're going to want to read a tutorial and try some simple experiments with your new Python interpreter. If you've never programmed before, see "Python for Non-Programmers" If you have previous programming experience, consult "Python for Programmers" , which lists more advanced tutorials.
Extractions: Python Topic To pursue this topic, read Python Web Programming , which generally provides more detail than I can. Also, in 2002, the Wiki is starting to take off; that's where new content should appear. Grail is an extensible Internet browser written entirely in the interpreted object-oriented programming language Python Grail wasn't even the first Web browser built with Python. In fact, part of the advice Marc Andreesen received when working on Mosaic was Guido's, based on his earlier (before Mosaic, but after Viola) construction of a nice little stdwin-based Python-coded Web browser. A different flavor of client-side Python scripting is that Mark Hammond's [ref] hard work has made possible. Internet Explorer (and WSH [give ref]) support(s) ActiveScripting [ref] languages, including Python. Thus, as Gilles Lenfant enumerated in private correspondence:
Python Web Programming: Home Page By Steve Holden, David Beazley; New Riders Publishing, 2002, ISBN 0735710902. For extant programmers, introduces building networked, webbased systems, in OO framework, use libraries to save effort, maintenance. Asks for reader comments, contributions. author website http://pydish.holdenweb.com/pwp/
Extractions: This section of the pydish site is a repository for the code reproduced in the book (the New Riders site presents the code in Rich Text format), and to communicate with my readers. I am always grateful to readers who take the time to make comments, and will take time to respond personally whenever I can. Sometimes a heavy schedule can leave me less time to answer mail than I would like. Code Downloads
How To Think Like A Computer Scientist By Allen B. Downey, Jeffrey Elkner, Chris Meyers; Green Tea Press, 2002, ISBN 0971677506. Teaches general principles of programming, via python as subject language. Thorough, indepth approach to many basic and intermediate programming topics. Full text online and downloads HTML, PDF, PS, LaTeX. Free, Green Tea Press http://greenteapress.com/thinkpython.html
Python How To Program - Prentice Hall Catalog By Harvey M. Deitel, Paul J. Deitel, Jonathan P. Liperi, B.A. Wiedermann; Prentice Hall, 2002, ISBN 0130923613, has CDROM. Full introduction for courses in programming basics, python, Web, object-oriented, GUIs. Prentice Hall http://vig.prenhall.com/catalog/academic/product/1,4096,0130923613,00.html
Extractions: Select a Discipline Accounting and Taxation Agriculture Anthropology Applications Software Art Bioengineering Biology BRADY: EMS/Emergency Medical Services Business Communications Business Law Business Math Business Programming Business Studies CAD/Engineering Graphics/Drafting Chemical Engineering Chemistry Civil and Environmental Engineering Civil/Construction Technology Clinical Lab Science/Medical Technology Communication Computer Arts Computer Concepts Computer Science Computer Training and Certification Counseling Criminal Justice Decision Science Dental Hygiene/Dental Assisting Economics Education: Agricultural Education Education: Curriculum and Instruction Education: Early Childhood Education Education: Ed Administration and Leadership Education: Ed Psych and Tests and Measurements Education: Foundations of Education Education: Instructional Technology Education: Reading and Literacy Education: Special Education Electrical Engineering Electronics and Computer Technology English: Composition English: Developmental English: Literature and Film Environmental Technology Fashion Finance Fire/Police Science Foods and Nutrition General Engineering Geography Geology/Oceanography Health Professions History Hospitality and Travel/Tourism Industrial Engineering Insurance Interior Design Introduction to Business Journalism Management Marketing Massage Therapy Mathematics Mech/Manufacturing/Industrial Tech Mechanical Engineering Medical Assisting MIS Music Nursing - LPN/LVN Nursing - RN Nursing Assistant Paralegal/Legal Assisting Philosophy Physical Therapy/Occupational Therapy
FreeTechBooks - Free Online Python Scripting Books s, publishing information, links.Annotated list of free online programming books. Topics range from beginner to advanced. http://www.tcfb.com/freetechbooks/bookphyton.html
Extractions: General resource handling module for Python. It is developed with wxPython GUI resources in mind, but unlike the XRC resource system, this is an universal solution, applicable to anything you can call a resource and much more flexible. Python Foundry Development Status: 2 - Pre-Alpha 5 - Production/Stable
Sams Teach Yourself Python In 24 Hours By Ivan Van Laningham; Sams Publishing, 2000, ISBN 0672317354. Split into 24 handson, 1 hour lessons; steps needed to learn topic syntax, language features, OO design and programming, GUIs (Tkinter), system administration, CGI. Sams Publishing http://www.samspublishing.com/catalog/product.asp?product_id={567517C6-BFED-439A