Loading Events

« All Events

Introduction to Python and Programming in Python (PYINPR)

5th May 2025 - 6th May 2025

Introduction to Python and Programming in Python (PYINPR)

Pre Recorded

About this course

Python is one of the most widely used and highly valued programming languages in the world, and is especially widely used in data science, machine learning, and in other scientific computing applications. In order to use Python confidently and competently for these applications, it is necessary to have a solid foundation in the fundamentals of general purpose Python. This two day course provides a general introduction to the Python environment, the Python language, and general purpose programming in Python. We cover how to install and set up a Python computing environment, describing how to set virtual environments, how to use Python package installers, and overview some Python integrated development environments (IDE) and Python Jupyter notebooks. We then provide a comprehensive introduction to programming in Python, covering all the following major topics: data types and data container types, conditionals, iterations, functional programming, object oriented programming, modules, packages, and imports. Note that in this course, we will not be covering numerical and scientific programming in Python directly. That is provided in a subsequent two-day course, for which the topics covered in this course are a necessary prerequisite.

Intended Audiences

This course is aimed at anyone who is interested in learning the fundamentals of Python generally and especially for ultimately using Python for data science and scientific applications. Although these applications are not covered directly here, but are covered in a subsequent course, the fundamentals taught here are vital for master data science and scientific applications of Python.

Course Details

Last Up-Dated – 21:05:2022

Duration – Approx. 15 hours

ECT’s – Equal to 1 ECT’s

Language – English

Teaching Format

This course will be hands-on and workshop based. Throughout each day, there will be some brief introductory remarks for each new topic, introducing and explaining key concepts.

Although not strictly required, using a large monitor or preferably even a second monitor will make the learning experience better. All the sessions will be video recorded, and made available immediately on a private video hosting website. Any materials, such as slides, data sets, etc., will be shared via GitHub.

Assumed quantitative knowledge

No particular knowledge of mathematics or statistics is required.

Assumed computer background

No prior experience with Python or any other programming language is required. Of course, any familiarity with any other programming will be helpful, but is not required.

Equipment and software requirements

Attendees of the course must use a computer with Python (version 3) installed. This can in fact be done entirely online for free using Google’s Colaboratory without needing to install any software on your own laptop or desktop. If you are new to Python, this approach is highly recommended. You will be able to immediately starting learning Python without any installation or configuration of software. This entire course can be done using this approach.

If you prefer to install and use Python on your machine, instructions on how to install and configure all the software needed for this course are provided here. We will also provide time during the workshops to ensure that all software is installed and configured properlY.


The numbers below include tickets for this event already in your cart. Clicking "Get Tickets" will allow you to edit any existing attendee information as well as change ticket quantities.
£ 250.00


Cancellations/refunds are accepted as long as the course materials have not been accessed,.

There is a 20% cancellation fee to cover administration and possible bank fess.

If you need to discuss cancelling please contact oliverhooker@prstatistics.com.

If you are unsure about course suitability, please get in touch by email to find out more oliverhooker@prstatistics.com


Day 1

Approx. 6 Hours

Topic 1: Installing and setting up Python. There are many ways to write and execute code in Python. Which to use depends on personal preference and the type of programming that is being done. Here, we will explore some of the commonly used Integrated Development Environments (IDE) for Python, which include Spyder and PyCharm. Here, we will also introduce Jupyter notebooks, which are widely used for scientific applications of Python, and are an excellent tool for doing reproducible interactive work. Also as part of this topic, we will describe how to use virtual environments and package installers such as pip and conda.

Topic 2: Data Structures. We will begin our coverage of programming with Python by introducing its different data structures.and operations on data structures This will begin with the elementary data types such as integers, floats, Booleans, and strings, and the common operations that can be applied to these data types. We will then proceed to the so-called collection data structures, which primarily include lists, dictionaries, tuples, and sets.

Topic 3: Programming I. Having introduced Python’s data types, we will now turn to how to program in Python. We will begin with iteration, such as the for and while Here, we also cover some of Python’s functional programming features, specifically list, dictionary, and set comprehensions.

Day 2

Approx. 6 Hours

Topic 4: Programming II. Having covered iterations, we now turn to other major programming features in Python, specifically, conditionals, functions, and exceptions.

Topic 5: Object Oriented Programming. Python is an object oriented language and object oriented programming in Python is extensively used in anything beyond the very simplest types of programs. Moreover, compared to other languages, object oriented programming in Python is relatively easy to learn. Here, we provide a comprehensive introduction to object oriented programming in Python.

Topic 6: Modules, packages, and imports. Python is extended by hundreds of thousands of additional packages. Here, we will cover how to install and import these packages, but more importantly, we will show how to write our own modules and packages, which is remarkably easy in Python relative to some programming languages.

Course Instructor

    • Dr. Mark Andrews

    Works At
    Senior Lecturer, Psychology Department, Nottingham Trent University, England

    • Teaches
    • Free 1 day intro to r and r studio (FIRR)
    • Introduction To Statistics Using R And Rstudio (IRRS03)
    • Introduction to generalised linear models using r and rstudio (IGLM)
    • Introduction to mixed models using r and rstudio (IMMR)
    • Nonlinear regression using generalized additive models (GAMR)
    • Introduction to hidden markov and state space models (HMSS)
    • Introduction to machine learning and deep learning using r (IMDL)
    • Model selection and model simplification (MSMS)
    • Data visualization using gg plot 2 (r and rstudio) (DVGG)
    • Data wrangling using r and rstudio (DWRS)
    • Reproducible data science using rmarkdown, git, r packages, docker, make & drake, and other tools (RDRP)
    • Introduction/fundamentals of bayesian data analysis statistics using R (FBDA)
    • Bayesian data analysis (BADA)
    • Bayesian approaches to regression and mixed effects models using r and brms (BARM)
    • Introduction to stan for bayesian data analysis (ISBD)
    • Introduction to unix (UNIX01)
    • Introduction to python (PYIN03)
    • Introduction to scientific, numerical, and data analysis programming in python (PYSC03)
    • Machine learning and deep learning using python (PYML03)
    • Python for data science, machine learning, and scientific computing (PDMS02)


    Personal website


Google Scholar

Mark Andrews is a Senior Lecturer in the Psychology Department at Nottingham Trent University in Nottingham, England. Mark is a graduate of the National University of Ireland and obtained an MA and PhD from Cornell University in New York. Mark’s research focuses on developing and testing Bayesian models of human cognition, with particular focus on human language processing and human memory. Mark’s research also focuses on general Bayesian data analysis, particularly as applied to data from the social and behavioural sciences. Since 2015, he and his colleague Professor Thom Baguley have been funded by the UK’s ESRC funding body to provide intensive workshops on Bayesian data analysis for researchers in the social sciences.


5th May 2025
6th May 2025
Event Category:


United Kingdom + Google Map


The numbers below include tickets for this event already in your cart. Clicking "Get Tickets" will allow you to edit any existing attendee information as well as change ticket quantities.
£ 250.00