I wondered what to write on "The Horse's Mouth" today ... but then time ran out before I had to rush down for my hotel breakfast and checkout, so I left the posting here until later and now I'm writing the text during a short lecturing break for posting at the end of the day.
I arrived at my traini ....
In python, everything is an object and operations performed by operators such as + and * vary in exactly what they do based on the class (type) or objects on which they're run.
If I use the * operator on a list, it replicates it ... but if I use it on an integer, it multiplies it ...
apple = [17 ....
We're constantly striving to improve our courses. Already, the majority of our trainees already arrive with us through the recommendation of others, and we're kept plenty busy ... so we must be doing something right. That's not to say that we can't make things even better / have things run even smoo ....
Rather than having to check ahead of time for every possible error, Python provides an exception handling capability too. Simply try to perform you action, and define what's to be done in an except block if the action you want can't be completed.
Here's an example in which we (try to) read an int ....
Programming languages are like bridges - you can use them to get from where you are to where you want to be.
Some languages (such as Python) are very simple and elegant in their design yet take a tremendous amout of traffic ... perhaps there's a pararallel to London Bridge there ...
... but other ....
I never cease to be amazed at the number of expensivley-build, lavishly-equipped modern conference and training rooms that have all their lights operated by a single switch. The walls are well lit in these rooms, which means that the lights have to be switched off in order for anything projected on ....
Tower Bridge Road to Soho, Morning rush hour. I could give you *my* route for the journey and it would be efficient enough; non-Londoners riding with me would admire how I found destination "D" from starting point "X" through the maze of streets. But my cabbie was something special; choosing South ....
Central London. Soho. I'm running a Python course here in the sweltering heat of summer in a modern office above the streetside shops and businesses of the area - step out of the front door and you're into an area of streetside cafes and shops selling - well - things that you wouldn't expect to find ....
How busy is your web site? How do people find it? Where do they arrive from? If you have access to your log files and they're using the "combined" format that tells you about the referer, you'll have that information - but hidden deeply in what's likely to be a huge file.
Here's a little bit of ....
Just once in a while a question comes up on our Opentalk Forum that's so good and of such general interest that a longer answer is worthwhile. Such a question came up yesterday ... and elegantly asked and worded too, so it was a delight to read and answer.
You want a simple database application? ....