These are the joining instructions for the Python for Beginners – February 25th 2020 at HR Wallingford. For any further information on joining instructions please email Andrew email@example.com
I understand and appreciate that everyone has their own unique computer setup. This is something that can cause Python users some problems. It can be confusing.
Because of this I recommend you install Anaconda. However you can use your own setup if you prefer.
Recommended Python Set up (Windows)
Important please check before course starts
I recommend using Anaconda https://www.anaconda.com/download/ This course is for Python 3, however it ‘should’ work on Python 2.7. Download and follow the installation instructions.
You may need to open the Anaconda Prompt as an Administrator, by doing this it should remove any permission errors. Right click and select Run As Administrator.
If you can type ‘python’ into a the anaconda prompt then you should be good to go… something like this:
type exit() to leave the Python environment and return to the command prompt. It will look like
(base) your directory (eg C:/users/…)
Anaconda comes pre cooked with jupyter notebook
type (you might wish to change directory, for example, to the root of D: first –
into the command prompt and it should open up a web browser within your directory of all your folder/files and notebooks.
I have written two detailed blog posts that should be of help if you have any issues, they are aimed at a Geospatial audience but the information should be applicable.
I will cover Jupyter Notebooks in this course, so you don’t need to read this post.
Further useful software
- Notepad ++ https://notepad-plus-plus.org/
I run the course through a folder on my computer. I suggest you create a folder on your machine
Please download the course data http://www.acgeospatial.co.uk/wp-content/uploads/2020/01/data_package_beg.zip
I will make the course code available at the start of the morning and afternoon. I would like you to try and follow the examples as we go, but don’t worry about mistakes this is all good practice.
Throughout the course as our learning progresses I have created a series of challenges. These are to aid your learning, help you practice. At the end of the challenge I share a solution, I will make these available after the course. We will time permitting discuss other solutions. The aim is to experiment try new things.
1. Setup check on Python and Introduction
2. Introduction to Jupyter Notebooks
3. Basics on Python (data types, slicing, lists, strings and into to for loops)
4. More depth on Lists – these will become the go to datatype
—morning break— 15min
5. Operations review for non-programmers
6. Errors and how to catch them
7. Building simple functions
8. Conditional statements
9. For Loops and while Loops
10. Working with directories of data
—afternoon break— 15min
11. Manipulating a text file – opening/closing/writing to a text file
12. Graphing data
— finish 4pm with 30mins for questions —