Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
What makes a good variable name?
Tips and short articles on this subject
Tips for writing a test program (Ruby / Python / Java)
Plan your application before you start
How do I set up a constant in Python?
Testing code in Python - doctest, unittest and others
Alpaca Case or Camel Case
Good Programming practise - where to initialise variables
Code quality counts
Build on what you already have with OO
Python - block insets help with documentation
Think about your design even if you don't use full UML
Code and code maintainance efficiency
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Python module Y116
Best Programming Practice
Exercises, examples and other material relating to training module Y116. This topic is presented on public courses Learning to program in Python, Python Programming

Python Programming - The fundamentals in depth, and an introduction to applications such as GUI design and Data Munging. This course starts at the fundamentals ...
http://www.wellho.net/course/ypfull.html  [course]
Learning to Program in Python - The fundamentals in depth, and an introduction to applications such as GUI design and Data Munging. This course starts ...
http://www.wellho.net/course/ylfull.html  [course]
div class= introsubheads BACKGROUND BR /div All the programming languages that we teach use variables and although some things differ, they re common ...
http://www.wellho.net/solutions/general- ... -name.html  [longer article]
It's a good idea to initialise your variables directly before you use them for the first time if you're going to use them as accumulators. By accumulator ...
http://www.wellho.net/mouth/1181_Goo ... ables.html  [short article]
The doctest and unittest modules of Python allow you to provide test harnesses for your classes / packages. Designing applications from the bottom up, ...
http://www.wellho.net/mouth/2407_Tes ... thers.html  [short article]
Even if you don't feel that your project is big enough to get involved with formal design methods, many of the lessons of UML and some informal design ...
http://www.wellho.net/mouth/656_Thin ... l-UML.html  [short article]
You may think of values like pi being a constant, but in Python they're really just another object that's defined in the namespace of the module from ...
http://www.wellho.net/mouth/2485_How ... thon-.html  [short article]



This topic is presented on public courses Learning to program in Python, Python Programming

Examples from our training material
constant.py   Constants in Python
ddd.py   Good practise tips and documentation string
Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
IsnŐt it enough to be able to write a working program?.
Analysing the requirement.
Designing the solution.
Reusing code.
Official style guide for Python code.
Introduction.
A Foolish Consistency is the Hobgoblin of Little Minds.
Code lay-out.
Whitespace in Expressions and Statements.
Other recommendations.
Comments.
Documentation Strings.
Version Bookkeeping.
Naming Conventions.
Designing for inheritance.
Programming Recommendations.
References.
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.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho