Exercises, examples and other material relating to training module Y303. This module is presented on
Private Courses and
Specially Run Courses only
Some more new examples in Python - from this week's course.
From my Introduction to Python / simple example to show the power of the language, I present ... http://www.wellho.net/mouth/2368_Pyt ... ntals.html [short article] |
I love writing things in Python - it's a great language for achieving a great deal in a short time. And it works well got Simple CGI scripts.
Today's ... http://www.wellho.net/mouth/2365_Cou ... e-web.html [short article] |
"""This program opens a remote web resource in Python and reads
and analyses it - in this case we have chose to read and report
on the robots.txt file"""
... http://www.wellho.net/resources/ex.php4?item=y303/read_robots [code sample] |
import urllib
datasource = urllib.urlopen("http://www.wellho.net/robots.txt")
while 1:
line = datasource.readline()
if line == "": break
... http://www.wellho.net/resources/ex.php4?item=y303/probo [code sample] |
This module is presented on
Private Courses and
Specially Run Courses only
Examples from our training material
| probo | Reading from a remote host via http as a stream |
| read_robots | Reading from a web resource in Python |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Network Principles.
Sockets, the socket module, clients and servers.
The Select module and non-blocking reads.
Web Clients in Python.
Remote Procedure Calls.
Using Soap from Python.
Other standard protocols such as FTP (ftplib).
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.