Tips for writing better Python code
I was a very experienced programmer when I started using Python. So I wrote some very bad Python code. Each language has its own way of doing things. The more you learn the language,...
I was a very experienced programmer when I started using Python. So I wrote some very bad Python code. Each language has its own way of doing things. The more you learn the language,...
I’ve been ‘lucky’ enough to get a steady stream of Python training assignments. ‘Lucky’ in the sense of ‘where opportunity meets preparation’. Recently I had a long message from a fellow Python developer on...
Python is an excellent language for taking control of your computer and performing some of the more tedious tasks. I recently used it to automate how I create Python training videos and have just...
Python is an easy-to-learn yet powerful language, and comes with a wealth of libraries. It is often used to create simple scripts. You run these on the command line, giving it any parameters it...
Python is a simple but powerful language, and comes with a wealth of libraries. It took just 10 lines of code and the Turtle library to create the black line in the image above....
Python is a simple but powerful language, and comes with a wealth of libraries. The chart above took just 9 lines of Python. All the hard work is done by the Bokeh library. It...
How would you like to grab a share price daily and store it in a spreadsheet? Or add a new column to dozens of spreadsheets – automatically? Python is a simple but powerful language,...
When you ask your spreadsheet to calculate 1/2 + 1/3 you get something like this: This is obviously an approximation. The 3’s after the decimal point repeat indefinitely. The correct answer is: 1/2 =...
(First part of the “Practical Python in 10 lines or less” series) Python is a simple but powerful language, and comes with a wealth of libraries. The chart above took just 10 lines of...
So you’d like to do some data analysis or other scientific computer with Python. How do you start? The Anaconda distribution A Python ‘distribution’ is a bundle of Python goodies, typically Python itself, a...