The Well House Newsletter - Saturday, 20th April 2024
About us and this newsletter [link] ...
Previous editions: March 2024January 2024November 2023September 2023July 2023May 2023March 2023January 2023November 2022 • this is the current edition

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics
Keynote article ...

Regression testing - via a very short C testing framework

Code testing is important. Separation of code into separate, managable sections is important. Retesting of code running all the old tests is important when the code sections are enhanced / debugged.

At the end of this week's C course, we wrote a whole series of pieces of logic relating to web server log files - loading data into dynamic (realloc'd arrays of structs, and then extracting data from those structures. And we wrote an initial main routine to run and test from the command line. For initial development, that's great but ...
... the main couldn't remain as we started to build with the logic
... lots of sections / routine groups need testing.

Solution?
• Rename main to a different name such as test_access and leave it in the original file
• build a tiny test harness that runs each set of tests and correlates the results
• have the test harness send standard output (stdout) within the tests to a file

Result?
A rudemintary regression testing system, where each time you add a new set of routines or change something, you can rerun all the tests and get an automated set of replies.

The results of running the test suite look a bit boring:

  WomanWithCat:cj16 grahamellis$ ./framework
  
  .F..
  Failed 1 test(s) out of 4, passed 3
  
  WomanWithCat:cj16 grahamellis$


Commented framework source is [here] and tests and routines to be tested [here] and [here].
(this article written on 2016-01-29)

Other articles ...

Linux and Shell Programming
[4587] shell - bash. Writing conditional tests and statements - the options available
[4586] Extending your bash shell with aliases, functions and extra commands
[4585] What is make? What is gcc?
[4584] Bash ... some new scripts to - handling user input
[4487] Starting MySQL. ERROR! The server quit without updating PID file - how we fixed it.
Top or Show all for Linux and Shell Programming

Apache HTTP and Tomcat Servers
[4708] Scons - a build system in Python - building hello world
[4491] Web Server Admin - some of those things that happen, and solutions
[4434] Public training courses - upcoming dates
[4432] Java web application for teaching - now with sessions and clustering / load balancing demonstrations
[4431] A Java servlet that is also a stand alone program. And a server that is also a web client.
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[4635] Encapsulating logic in functions and structs - the C approach to Object Oriented techniques
[4633] String handling in C - new examples of extracting integers from a string
[4566] C - why is slow to write and debug) but fast to run?
[4565] Allocation of memory for objects in C++ - Stack v Heap
[4563] Formatting and outputting your own classes in C++
Top or Show all for C and C++ Programming

Melksham
[4738] Melksham Chamber of Commerce - my final Presidents report
[4706] Melksham trial train service is to be made permanent
[4704] Three months in community rail pictures
[4703] What do people use the bus for in Wiltshire - survey interim results.
[4701] Pretty at the station too
Top or Show all for Melksham

Training from Well House Consultants
[4769] Python, Tcl, Lua and other Open Source programming courses for 2018
[4751] Final day of training at Well House Manor - Python, Lua, Tcl and C/C++ continue at The Spa, Melksham
[4705] Course dates - from October 2016 to December 2017
[4689] Training Course schedule for summer and autumn 2016
[4671] Ruby training, half a world away
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[4613] Our best hotel customers help us ... to help them ... be our best customers.
[4603] Happy New Year. Our customers are our ambassadors
[4543] Saturday morning at Well House Manor
[4521] Should we get an AA or Visit Wiltshire hotel assessment?
[4468] Four in a Bed - most popular answers
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[4715] Well House Manor - Still five out of five!
[4644] In your room at Well House Manor, Melksham, Wiltshire
[4582] A near-empty plate of pastries - sign of a breakfast enjoyed
[4567] Japanese and Malaysian food in Melksham
[4379] Well House Consultants / Well House Manor - Prices for 2015
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[4651] Pressure selling in the fire safety business
[4520] No cold sales calls please - but delighted to hear from others!
[4492] Almost so wrong, but perhaps it's right for some?
[4474] Effect on external factors on traffic to our web sites - an update
[4426] FileMaker Day to Unix Time conversion
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[4763] Regex Reference sheet
[4707] Some gems from an introduction to Python
[4673] Separating detailed data code from the main application - Ruby example
[4663] Easy data to object mapping (csv and Python)
[4656] Identifying the first and last records in a sequence
Top or Show all for General Programming Topics

PHP - the language and its application
[4655] Image indexer / thumbnail display scripts in PHP
[4642] A small teaching program - demonstration of principles only
[4627] Caching results in an object for efficiency - avoiding re-calculation
[4626] Singleton design pattern - examples and uses
[4483] Moving from mysql to mysqli - simple worked example
Top or Show all for PHP - the language and its application

Java and the Java Environment
[4428] Using the lead - passing arrays and other collections in Java
[4427] Java example - for loop and conditionals from course exercise
[4422] Objects - from physical to virtual or abstract - Java
[4420] Flexibility in input - read from file, web resource or keyboard
[4419] Java Inheritance example - group of classes - step by step
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[4702] Up and down TransWilts - some pictures off the rails!
[4653] Coats of arms - towns and authorities in Wiltshire
[4622] Frosty morning, beauty of Wiltshire
[4265] A lovely meal in Swindon - just a short walk from the station
[4233] Open for the new year - Imber
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[4700] Obfurscated code - it might work, but is it maintainable?
[4620] Perl 6 - a Practical Extraction and Reporting example!
[4611] Hungarian, Camel, Snake and Kebab - variable naming conventions
[4610] Sorting by key or by comparator - Perl 6
[4609] Mapping an array / list without a loop - how to do it in Perl 6
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[4037] Cascading Style Sheets and formatting your web page
[4036] HTML tags uses in these blog articles
[4035] Special characters in HTML
[4034] The VERY basics of a web page ... and web site
[3532] Sharing the user experience - designing a form with the customer in mind
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[4682] One line scripts - Awk, Perl and Ruby
[4681] Ruby testing with RSpec - a new example
[4680] Processing data line by line - iterator in Ruby with yield
[4679] Reading in XML in Ruby with xmlsimple
[4676] Running shell (operating system) commands from within Ruby
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[4493] Forgotten / lost MySQL root password
[4481] Extracting data from backups to restore selected rows from MySQL tables
[4436] Accessing a MySQL database from Python with mysql.connector
[4406] Fixing damaged MySQL tables - Error 1712 and Error 2013
[4390] Checking MySQL database backups have worked (not failed)
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[4762] Coverage map in Tcl - how many times has each proc been called?
[4678] Expect with Ruby - a training example to get you started
[4616] Still teaching Tcl in 2016?
[4525] What does Tcl do if you try to run a command that is not defined?
[4524] Tcl - a new example for data reformatting
Top or Show all for Tcl, Tcl/Tk and Expect

Programming in Lua
[4753] Lua, Tcl, Python, C and C++ courses - at our Melksham HQ or on your site - forward from July 2017
[4575] Learning not just what a program does, but how to design it in the first place.
[4574] repeat until in Lua - a one or more rather than a zero or more loop
[4573] Classic style OO code - in Lua
[4572] Tables with values and code in Lua - looks like an object?
Top or Show all for Programming in Lua

Python Programming
[4724] From and Import in Python - where is the module loaded from?
[4723] Conditional operators in Python
[4722] Embedding more complex code into a named block
[4721] When to check an object type - Python isinstance example
[4719] Nesting decorators
[4718] Defining an object that is a modified standard type in Python
[4717] with in Python - examples of use, and of defining your own context
[4716] Profiling your Python program
[4713] Equality (in Python)
[4712] A reminder of the key issues to consider in moving from Python 2 to Python 3
[4711] Convering from Python 2 to Python 3 - an update, and the 2to3 utility
[4710] Searching a Json or XML structure for a specific key / value pair in Python
[4709] Some gems from Intermediate Python
[4697] Month, Day, Year number to day of week and month names in Python - English and Swedish
[4696] Programming with random numbers - yet re-using the same values for testing
[4668] Sorting a dict in Python
[4662] Recursion in Python - the classic example
[4661] Unique word locator - Python dict example
[4659] Prining a pound sign from Python AND running from the command line at the same time
[4650] Why populate object with values as you construct them?
[4649] Object and Static methods - what is the difference; example in Python 3
[4618] Pytest - second example beyond hello world
[4617] Pytest - starting example
[4595] Python formatting update - including named completions
[4594] XML handling in Python - a new teaching example using etree
[4593] Command line parameter handling in Python via the argparse module
[4591] From single block to structure and object oriented programming
[4590] Progress on moving from Python 2 to Python 3 - training for both versions
[4589] Principles or a GUI and their practical application using wxPthon
[4545] Method, Class, Module, Package - how to they relate in Python?
[4541] Setting up and tearing down with the Python with keyword
[4540] Unittest of a Flask application including forms
[4538] Flask and unittest - hello web app test world
[4537] example of SQLite using a local database file through SQLalchemy
[4536] Json load from URL, recursive display, Python 3.4
[4535] SQLAlchemy - first examples with a Python Object Relationship Mapping system
[4534] Flask - complete MVC site to navigate around a data set
[4533] Sessions in flask
[4532] Flask - first forms and responses with wtforms
[4531] Jinja2 - Flask templating
[4530] Requests in Flask
[4529] Flask - calling in the templating engine
[4528] Routing in Flask
[4527] Hello Flask world / Python web micro framework
[4470] Testing in Python 3 - unittest, doctest and __name__ == __main__ too.
[4469] Sorting in Python 3 - and how it differs from Python 2 sorting
[4452] Binary data handling - Python and Perl
[4451] Running an operating system command from your Python program - the new way with the subprocess module
[4450] Deciding whether to use parameters, conditional statements or subclasses
[4449] Spike solution, refactoring into encapsulated object methods - good design practise
[4446] Combining tests into suites, and suites into bigger suites - Python and unittest
[4445] Graphing presentations in Python - huge data, numpy and matplotlib
[4444] Elements of an exception in Python - try, except, else, finally
[4442] Mutable v Immuatble objects in Python, and the implication
[4441] Reading command line parameters in Python
[4440] A first graph with Matplotlib in Python
[4439] Json is the new marshall, pickle and cPickle / Python
[4438] Loving programming in Python - and ready to teach YOU how
[4409] Setting up and using a dict in Python - simple first example
[4408] Additional Python courses added to our schedule
[4407] Python - even named code blocks are objects
[4361] Multiple yields and no loops in a Python generator?
[4360] Python - comparison of old and new string formatters
[4344] Python base and inherited classes, test harness and unit testing - new examples
[4307] Identifying and clearing denial of service attacks on your Apache server
[4298] Python - an interesting application
[4295] A longer Python ... training course
[4236] Using Python to analyse last years forum logs. Good coding practise discussion.
[4213] Formatting options in Python
[4212] Python functions - an introduction to how they work
[4211] Handling JSON in Python (and a csv, marshall and pickle comparison)
[4210] If elif elif elif - multiway selection in Python
[4161] Python varables - checking existance, and call by name or by value?
[4129] Simple OO demonstration in C++, comparison to Python
[4118] We not only teach PHP and Python - we teach good PHP and Python Practice!
[4095] Django - first steps - Updated
[4094] Python Properties - how and why
[4092] Identity in Python
[4090] Test Driven Development in Python - Customer Comes First
[4089] Quick and easy - showing Python data hander output via a browser
[4088] Some tips and techniques for huge data handling in Python
[4087] Python network programming - new FTP and socket level examples
[4086] Cacheing class for Python - using a local SQLite database as a key/value store
[4085] JSON from Python - first principles, easy example
[4029] Exception, Lambda, Generator, Slice, Dict - examples in one Python program
[4028] Really Simple Class and Inheritance example in Python
[4027] Collections in Python - list tuple dict and string.
[4024] SQL databases from Python - an SQLite example
[4021] Spike solution, refactored and reusable, Python - Example
[4013] Web Frameworks - nested templates
[3947] this or self - what are they, and what is the difference? (Python)
[3945] vargs in Python - how to call a method with unknown number of parameters
[3935] Whether you have programmed before or not, we can teach you Python
[3934] Multiple identical keys in a Python dict - yes, you can!
[3931] Optional positional and named parameters in Python
[3930] Reporting the full stack trace when you catch a Python exception
[3919] What is a web framework?
[3917] BODMAS - the order a computer evaluates arithmetic expressions
[3913] How many times ... has this loco headed west through Tenby? - Python exceptions
[3911] How well do you know Perl and / or Python?
[3903] Python Programming class for delegates who have already self-taught the basics
[3902] Shell - Grep - Sed - Awk - Perl - Python - which to use when?
[3895] Flowchart to program - learning to program with Well House
[3887] Inheritance, Composition and Associated objects - when to use which - Python example
[3886] Formatting output - why we need to, and first Python example
[3885] Default local - a good choice by the author of Python
[3878] From Structured to Object Oriented Programming.
[3852] Static variables in Python?
[3816] Want to escape the Olympics? Learn to program in the countryside!
[3798] When you should use Object Orientation even in a short program - Python example
[3797] zip in Python
[3796] Backquote, backtic, str and repr in Python - conversion object to string
[3766] Python timing - when to use a list, and when to use a generator
[3764] Shell, Awk, Perl of Python?
[3763] Spike solutions and refactoring - a Python example
[3762] Learning to program - the if statement. Python.
[3705] Django Training Courses - UK
[3698] How to stop forms on other sites submitting to your scripts
[3695] Functions are first class variables in Lua and Python
[3673] Object oriented or structured - a comparison in Python. Also writing clean regular expressions
[3669] Stepping through a list (or an array) in reverse order
[3664] Error checking in a Python program - making your program robust via exceptions
[3662] Finding all the unique lines in a file, using Python or Perl
[3658] Using Make for a distribution
[3640] Sessions (Shopping Carts) in Django - the Python Web Framework
[3639] Demonstration of a form using Django
[3634] Defining database relations in your Django model
[3633] Nesting Templates in Django
[3624] Why do we need a Model, View, Controller architecture?
[3620] Finding the total, average, minimum and maximum in a program
[3558] Python or Lua - which should I use / learn?
[3555] Football league tables - under old and new point system. Python program.
[3554] Learning more about our web site - and learning how to learn about yours
[3551] Some terms used in programming (Biased towards Python)
[3524] Metaclasses (Python) and Metatables (Lua)
[3519] Python - current versions and implementations (CPython, Jython, IronPython etc)
[3489] Python courses and Private courses - gently updating our product to keep it ahead of the game
[3488] Python sets and frozensets - what are they?
[3479] Practical Extraction and Reporting - using Python and Extreme Programming
[3478] Testing your Python classes with the unittest package - how to
[3477] Choosing your Python GUI - wx, Qt, Tk or GTK?
[3476] Tkinter - an easy to use Python Graphic User Interface - introductory examples
[3474] Python Packages - groupings of modules. An introduction
[3472] Static variables in functions - and better ways using objects
[3469] Teaching dilemma - old tricks and techniques, or recent enhancements?
[3468] Python string formatting - the move from % to str.format
[3465] How can I do an FTP transfer in Python?
[3464] Passing optional and named parameters to python methods
[3459] Catching the fishes first?
[3442] A demonstration of how many Python facilities work together
[3441] Pressing ^C in a Python program. Also Progress Bar.
[3439] Python for loops - applying a temporary second name to the same object
[3436] Moving from scripting to Object Orientation in Python
[3433] Exceptions - a fail-safe way of trapping things that may go wrong
[3399] From fish, loaves and apples to money, plastic cards and BACS (Perl references explained)
[3397] Does a for loop evaluate its end condition once, or on every iteration?
[3349] Formatting output in Python through str.format
[3348] List slices in Python - 2 and 3 values forms, with an uplifting example
[3280] Passing parameters to Python functions - the options you have
[3278] Do I need to initialise variables - programming in C, C++, Perl, PHP, Python, Ruby or Java.
[3257] All possible combinations from a list (Python) or array (Ruby)
[3218] Matching a license plate or product code - Regular Expressions
[3200] How a for loop works Java, Perl and other languages
[3181] Beware - a=a+b and a+=b are different - Python
[3177] Insurance against any errors - Volcanoes and Python
[3159] Returning multiple values from a function call in various languages - a comparison
[3151] Disassembling Python and Java - previously compiled code
[3150] Python dictionaries - mutable and immutable keys and values
[3140] Django - separating the HTML from the view / model
[3139] Steering our Python courses towards wxPython, SQLite and Django
[3138] Django - adding your own views, and then templating your views.
[3136] A framework with python - Django - first steps
[3118] Arrays of arrays - or 2D arrays. How to program tables.
[3092] wxPython geometry - BoxSizer example
[3090] Matching to a string - what if it matches in many possible ways?
[3089] Python regular expressions - repeating, splitting, lookahead and lookbehind
[3086] Sizers (geometry control) in a wxPython GUI - a first example
[3085] Object Oriented Programming for Structured Programmers - conversion training
[3083] Python - fresh examples from recent courses
[3082] XML handling in Python - SAX, DOM and XSLT examples
[3081] wxPython - simple example to add GUI to a server log file analysis
[3076] Python through the Snow
[3002] A list of special method and attribute names in Python
[2998] Using an exception to initialise a static variable in a Python function / method
[2997] 3D graphics - web site usage - simple matplotlib and python example
[2996] Copying - duplicating data, or just adding a name? Perl and Python compared
[2994] Python - some common questions answered in code examples
[2993] Arrays v Lists - what is the difference, why use one or the other
[2992] Matplotlib - graphing in Python - teaching examples
[2991] Loading and saving data - Python / numpy
[2990] What are numpy and scipy?
[2986] Python dictionaries - reaching to new uses
[2929] Passing a variable number of parameters in to a function / method
[2920] Sorting - naturally, or into a different order
[2915] Looking up a value by key - associative arrays / Hashes / Dictionaries
[2905] Defining static methods in Python
[2899] Groupsave tickets - 3 or 4 train tickets for the price of 2
[2894] Sorting people by their names
[2890] Dates and times in Python
[2889] Should Python classes each be in their own file?
[2887] Snow Leopard and Python (that is OS X 10.6 and wxPython)
[2878] Program for reliability and efficiency - do not duplicate, but rather share and re-use
[2871] Moving from Python 2.6 to Python 3
[2822] Python training courses for use with ESRI ArcMap software
[2814] Python - splitting and joining strings
[2790] Joining a MySQL table from within a Python program
[2786] Factory methods and SqLite in use in a Python teaching example
[2785] The Light bulb moment when people see how Object Orientation works in real use
[2780] Formatted Printing in Python
[2778] Learning to program in Python 2 ... and / or in Python 3
[2766] Optional and named parameters to Python functions/methods
[2765] Running operating system commands from your Python program
[2764] Python decorators - your own, staticmethod and classmethod
[2746] Model - View - Controller demo, Sqlite - Python 3 - Qt4
[2745] Connecting Python to sqlite and MySQL databases
[2744] PyQt (Python and Qt) and wxPython - GUI comparison
[2722] Mixins example in Python
[2721] Regular Expressions in Python
[2720] Multiple inheritance in Python - complete working example
[2719] Traffic lights in Python
[2718] Python - access to variables in the outer scope
[2717] The Multiple Inheritance Conundrum, interfaces and mixins
[2695] TCP v UDP / Client v Server - Python examples
[2694] Multiple processes (forking) in Python
[2693] Methods that run on classes (static methods) in Python
[2692] Flexible search and replace in Python
[2655] Python - what is going on around me?
[2622] Handling unusual and error conditions - exceptions
[2616] Defining a static method - Java, Python and Ruby
[2604] Tips for writing a test program (Ruby / Python / Java)
[2559] Moving the product forward - ours, and MySQL, Perl, PHP and Python too
[2523] Plan your application before you start
[2520] Global and Enable - two misused words!
[2506] Good example of recursion in Python - analyse an RSS feed
[2504] Learning to program in ...
[2489] Parallel Pinging, using Python Threads or Expect spawn lists
[2485] How do I set up a constant in Python?
[2481] Sample code with errors in it on our web site
[2462] Python - how it saves on compile time
[2452] Making executable binaries in Python (or Perl)
[2442] Variable storage - Perl, Tcl and Python compared
[2440] Optional parameters to Python functions
[2439] Multiple returns from a function in Python
[2435] Serialization - storing and reloading objects
[2409] TypeError: super() argument 1 must be type, not classobj (Python)
[2408] Robust user input (exception handling) example in Python
[2407] Testing code in Python - doctest, unittest and others
[2406] Pound Sign in Python Program
[2394] Two days of demonstration scripts in Python
[2378] Handling XML in Perl - introduction and early examples
[2370] C++, Python, and other training - do we use an IDE
[2369] Using a cache for efficiency. Python and PHP examples
[2368] Python - fresh examples of all the fundamentals
[2367] Learning to program - how to jump the first hurdles
[2365] Counting Words in Python via the web
[2363] Alpaca Case or Camel Case
[2285] Great new diagrams for our notes ... Python releases
[2284] Strings as collections in Python
[2282] Checking robots.txt from Python
[2281] Python - using exceptions to set a fallback
[2280] Creating and iterating through Python lists
[2277] Python classes / courses - what version do we train on?
[2238] Handling nasty characters - Perl, PHP, Python, Tcl, Lua
[2227] Learning PHP, Ruby, Lua and Python - upcoming courses
[2169] When should I use OO techniques?
[2123] Using Python with OpenOffice
[2020] Learning Python - many new example programs
[2018] UnboundLocalError - Python Message
[2017] Python - a truly dynamic language
[2013] wxPython - Introduction and sample
[2011] Conversion of OSI grid references to Eastings and Northings
[1925] Introduction to Object Oriented Programming
[1879] Dynamic code - Python
[1878] Pascals Triangle in Python and Java
[1876] Python Regular Expressions
[1873] List Comprehensions in Python
[1871] Optional and named parameters in Python
[1870] What to do with a huge crop of apples
[1869] Anonymous functions (lambdas) and map in Python
[1819] Calling base class constructors
[1791] The road ahead - Python 3
[1790] Sharing variables with functions, but keeping them local too - Python
[1789] Looking for a value in a list - Python
[1788] Python 2 to Python 3 / Python 3000 / Py3k
[1784] Global - Tcl, PHP, Python
[1745] Moodle, Drupal, Django (and Rails)
[1696] Saying NOT in Perl, PHP, Python, Lua ...
[1663] Python in an afternoon - a lecture for experienced programmers
[1661] Equality, sameness and identity - Python
[1644] Using a utility method to construct objects of different types - Python
[1641] Tektronix 4010 series / Python Tuples
[1608] Underlining in Perl and Python - the x and * operator in use
[1555] Advanced Python, Perl, PHP and Tcl training courses / classes
[1517] Python - formatting objects
[1477] Decisions - small ones, or big ones?
[1464] Python Script - easy examples of lots of basics
[1461] Python - input v raw input
[1448] Question on division (Java) - Also Perl, PHP, Python ...
[1442] Reading a file multiple times - file pointers
[1430] Integer v float - Python
[1375] Python v Ruby
[1348] Screw it or Glue it? Access to Object variables - a warning
[1340] Tk locks up - 100% c.p.u. on a simple program (Tcl, Perl, Python)
[1336] Ignore case in Regular Expression
[1310] Callbacks - a more complex code sandwich
[1306] Python class rattling around
[1305] Regular expressions made easy - building from components
[1304] Last elements in a Perl or Python list
[1236] Trying things in Python
[1220] for loop - how it works (Perl, PHP, Java, C, etc)
[1217] What are factory and singleton classes?
[1202] Returning multiple values from a function (Perl, PHP, Python)
[1201] No switch in Python
[1195] Regular Express Primer
[1181] Good Programming practise - where to initialise variables
[1163] A better alternative to cutting and pasting code
[1149] Turning objects into something you can store - Pickling (Python)
[1148] Python decorators - wrapping a method call in extra code
[1146] __new__ v __init__ - python constructor alternatives?
[1145] Using a list of keys and a list of values to make a dictionary in Python - zip
[1144] Python dictionary for quick look ups
[1140] Python GTK - Widget, Packing, Event and Feedback example
[1136] Buffering output - why it is done and issues raised in Tcl, Perl, Python and PHP
[1134] Function / method parameters with * and ** in Python
[1110] Python - two different splits
[1043] Sending an email from Python
[1042] Nested exceptions in Python
[1036] Python Qt, wX, TkInter, and Jython - training??
[970] String duplication - x in Perl, * in Python and Ruby
[964] Practical polymorphism in action
[959] It's the 1st, not the 1nd 1rd or 1th.
[956] Python security - trouble with input
[955] Python collections - mutable and imutable
[954] Splitting Pythons in Bradford
[950] Python and the Magic Roundabout
[949] Sludge off the mountain, and Python and PHP
[945] Code quality counts
[943] Matching within multiline strings, and ignoring case in regular expressions
[913] Python - A list of methods
[912] Recursion in Python
[909] Python is like a narrowboat
[903] Pieces of Python
[901] Python - listing out the contents of all variables
[900] Python - function v method
[899] Python - extend v append on a list
[846] Is Perl being replaced by PHP and Python?
[836] Build on what you already have with OO
[835] Python - when to use the in operator
[834] Python makes University Challenge
[831] Comparison of Object Oriented Philosophy - Python, Java, C++, Perl
[821] Dynamic functions and names - Python
[788] New - Conditional expressions in Python 2.5
[775] Do not duplicate your code
[773] Breaking bread
[753] Python 3000 - the next generation
[749] Cottage industry or production line data handling methods
[748] Getting rid of variables after you have finished with them
[745] Python modules. The distribution, The Cheese Shop and the Vaults of Parnassus.
[712] Why reinvent the wheel
[710] Linux training Glasgow, Python programming course Dundee
[672] Keeping your regular expressions simple
[668] Python - block insets help with documentation
[663] Python to MySQL
[657] The ternary operator in Python
[656] Think about your design even if you don't use full UML
[633] Copying a reference, or cloning
[629] Choosing the right language
[595] Add a friendly front end with Tk
[561] Python's Generator functions
[560] The fencepost problem
[496] Python printf
[477] Class, static and unbound variables
[463] Splitting the difference
[444] Database or Progamming - which to learn first?
[433] FTP - how to make the right transfers
[426] Robust checking of data entered by users
[418] Difference between import and from in Python
[386] What is a callback?
[383] Overloading of operators on standard objects in Python
[382] Central London Courses - Perl, PHP, Python, Tcl, MySQL
[381] Exceptions in Python
[380] Bridging to the customer requirement
[353] Wimbledon Neck
[340] Code and code maintainance efficiency
[328] Making programs easy for any user to start
[324] The backtick operator in Python and Perl
[317] Programming languages - a comparison
[316] Development Environments
[308] Call by name v call by value
[303] Lambdas in Python
[299] What - no switch or case statement?
[296] Using a Python dictionary as a holder of object attributes
[294] Python generator functions, lambdas, and iterators
[239] What and why for the epoch
[237] Crossfertilisation, PHP to Python
[236] Tapping in on resources
[235] Preparation for a day's work
[208] Examples - Gadfly, NI Number, and Tcl to C interface
[190] Python engines
[183] The elegance of Python
[114] Relative or absolute milkman
[105] Distance Learning
[103] Can't resist writing about Python
[61] Python is a fabulous language
[16] Python training
Top or Show all for Python Programming

And also ...
[4768] 2017 - the final six months
[4767] Some thoughts on 2017, and looking forward to 2018
[4761] Looking forward to the autumn.
[4759] Sale of effects and furniture - 12th and 13th August 2017
[4756] Learning how to be a more effective community partner
Top or Show all for And also ...

Public Transport
[4770] GW franchise - my response
[4765] Breich Station - current pictures, and future options
[4764] Some thoughts on the closure proposal for Breich station
[4760] Rotary Talk, 25/7/2017
[4727] Learning from travelling further afield
Top or Show all for Public Transport

Fun and Flames
[4392] Interview conditions,and other instructions to staff
[4354] Wiltshire Police - assuming someone is guilty just on the say-so of a member of the public?
[4329] Does Santa Claus need a CRB check?
[4304] Please do not ask me to be the chair!
[4282] On tipping - and the expectation of a tip
Top or Show all for Fun and Flames

Keynote Articles
[2483] Clustering on Tomcat
[2384] Looking ahead to the Autumn season of training and accommodation
[2144] Looking for a career change - Physician to Web Site Designer
[1955] How to avoid duplicating web page maintainance
[1857] November and December Public Course Schedule
Top or Show all for Keynote Articles

Unclassfied Articles
[4766] Moving on from Sunnyside and Devizes
[4758] Even more images!
[4757] Images ... continued
[4733] Python examples - updates under way
[4732] Reviewing TransWilts performance 2015-16
Top or Show all for unclassified

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics

A little more about this newsletter ...

At Well House Consultants, we run niche IT training courses ... and we run a hotel for delegates on those courses and other visitors to Melksham too. And we make a lot of friends - have a lot of ambassadors with whom we want to keep in touch. So every day Graham (that's me, writing this piece) puts together an article or two which might include the latest sample programs that I've written during the current course, new information about Well House Manor - our business hotel, tips on search engine optimisation, announcements of upcoming public courses, pictures of local places, and even (on occasions) rants and whimsical pieces to keep those friends up to date and in touch. The feeds are available directlt via the Blog - "The Horse's Mouth", they're on our Twitter Feed and you can find me at my LinkedIn profile. But most people just want to look us up occasionally - every month or two, and then to catch up on the latest news just for their particular subjects of interest ... and that's what this newsletter is about

You'll find above the titles of ALL the new articles written in the last two months, listed by major subject area, and showing as (new) with their date of publication. You'll find additional articles in each category too - topping each category up to a minimum of five articles. And you'll find a link at the end of each section which lets you expand that section to show the titles of every article that's been published in that section. After all, "the old ones are often the best ones", aren't they?

go to Top or other editions March 2024January 2024November 2023September 2023July 2023May 2023March 2023January 2023November 2022 • this is the current edition


Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/newsletter.php
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net