| |||||||||||
| |||||||||||
Python Script - easy examples of lots of basics
Here's a Python script which is pretty imperfect, but shows a whole lot of the basic facilities of the language in use - a sort of "you can do it this way" crib sheet for newcomers. Written during last week's course, with delegates making suggestions as I went along - so if you think the code looks like it was designed by a committee of eleven ....
The overall objective is to read in a web server access log file and report the elepase time in days and hours from the first to the last record .... I will add comments which we did NOT add on the day! Running that ... grahamellis$ python daterange(written 2007-12-08 13:19:50) Associated topics are indexed under Y105 - Python - Functions, Modules and Packages
Some other Articles
Lexical v Arithemetic testing, Bash and Perlstdout v stderr (Tcl, Perl, Shell) Effective Java training - the bootcamp approach Perl, PHP, Python, Tcl, Linux, MySQL, Ruby courses ... Python Script - easy examples of lots of basics All the special characters in HTML ... 10 training days to Christmas. Python - input v raw input Christmas fare in Ljubljana Interactive training, and advancing techniques further 1696 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||