Python Training

Python for Web Development

Django is Python's answer to Ruby on Rails. It is a mature, stable, powerful web framework used by millions of production websites, including Instagram, Pinterest, Bitbucket, and the Wall Street Journal.

Prerequisites

Some familiarity with programming concepts (in any language) is assumed.

Expected Outcomes

By the end of the course, you will have all the knowledge you need to build dynamic database-backed web apps and API endpoints with Django.

Days 1 and 2 are an introduction to Python, appropriate for people with prior programming experience who are beginners to Python. After the second day, you will know what’s available with Python, how to structure your code, how to make the most of Python. You will be confident with Python's built-in data types and have had experience with using various standard library modules in Python for various kinds of data manipulation. You will understand the elegance and power of the language and how to find further learning resources as you begin using Python to solve real-world problems.

Days 3 and 4 are focussed specifically on the Django framework. These can be taken separately if you already have a solid understanding of Python. After the fourth day, you will have had experience using Django for developing web apps. You will understand the Django ORM, database migrations, how to create unit tests for websites, and how to design for security.

Course Syllabus

Day 1: Introduction to Python

Day 1 covers the basics of using Python for general programming tasks, including tips and tricks for making this easy.

  • Why use Python? What’s possible? Python versus other languages
  • How to install a complete Python development environment
  • Introduction to the PyCharm IDE
  • Python syntax and concepts
  • Input and output of string and binary data
  • Useful data structures, tips and tricks
  • Tour of the amazing standard library (including handling dates, CSV files, zip files)
  • Day 2: Real-world programming in Python

    Day 2 leads you through modern best practices in Python, including how to write code for maintainability, robustness, and efficiency.

  • Classes and objects
  • Introduction to decorators and context managers
  • Iterators and generators for web development
  • Modules and packages
  • Creating installable Python packages; virtual environments
  • Best practices for writing maintainable code; code design
  • Python idioms and style
  • Documenting and unit-testing Python code
  • Exceptions, logging and practical debugging strategies
  • Efficient coding practices; tools for benchmarking and profiling
  • Compatibility with Python 2.x and 3.x
  • Day 3: Web development with Django

    Days 3 and 4 teach you the Django framework (Python’s answer to Ruby on Rails) for developing web apps. This demonstrates the Python language features and concepts from days 1-2 in a practical setting and shows you how to develop web apps that are well-structured and maintainable. By the end of day 3, participants will know enough to start developing useful database-backed web apps in Django immediately.

  • Basics of web programming
  • What is Django? What’s possible?
  • Django’s models and ORM
  • Django views and templates
  • Handling URLs and web forms
  • Django’s automatic admin interface
  • Day 4: Web development beyond the basics

  • Building a complete database-backed web app
  • Deployment
  • Database migrations
  • Security essentials for web developers: HTTPS, permissions, hardening against OASSP vulnerabilities, handling files, ...
  • Practical tips: debugging, scalability, ...
  • Supplemental materials

    We will supply you with printed course notes and a USB stick containing a complete Python environment based on VirtualBox. This saves time in the course and allows us to focus on using Python rather than installing it. The USB stick also contains kitchen-sink Python installers for multiple platforms, solutions to the programming exercises, several written tutorials, and reference documentation on Python and the third-party packages covered in the course.

    Other information

    Personal help:
    Your trainer(s) will be available after the course each day for you to ask any one-on-one questions you like — whether about the course material and exercises or about specific problems you face in your work and how to use Python to solve them.
    Food and drink:
    We will provide lunch, morning and afternoon tea, and drinks.
    Timing:
    The course will run from 9:00 to roughly 17:00 each day, with a breaks of an hour for lunch and 15 minutes each for morning and afternoon tea.

    Upcoming Courses

    Please contact us to register your interest.

    Upcoming Public Courses

    Melbourne

    Introduction to QGIS:
    19 Jun – 20 Jun 2017

    View Details Book Now

    Melbourne

    Python for Scientists & Engineers:
    10 Jul – 13 Jul 2017

    View Details Book Now

    Melbourne

    Python for Geospatial Analysis:
    10 Jul – 14 Jul 2017

    View Details Book Now

    Sydney

    Python for Finance:
    24 Jul – 26 Jul 2017

    View Details Book Now

    Sydney

    Python for Predictive Data Analytics:
    11 Sep – 14 Sep 2017

    View Details Book Now

    Melbourne

    Python for Predictive Data Analytics:
    09 Oct – 12 Oct 2017

    View Details Book Now

    Location

    Testimonials

    “One of the best programming courses I have attended - thanks!”

    - Giant Billen, IAG Insurance

    “Excellent training course, excellently presented. Perhaps the best that I have had in the area of IT / programming.”

    - George Grozev, CSIRO (Clayton)

    “Both Ed and Henry presented well…. The course structure was adjusted to suit the participants quickly and easily.”

    - Jenet Austin, CSIRO (Black Mountain Laboratory)

    “Course content was well presented and easily digested. Practical exercises were an essential part of the course – a good ratio of lecture/play was achieved. Well done Ed and Henry!”

    - Steve Zegelin, CSIRO (Black Mountain Laboratory)

    “Very comprehensive intro to every aspect of python. Highly qualified trainer. Beyond my expectation on every aspect. ”

    - Baichuan Sun, CSIRO (Clayton)

    “I loved it. Ed was inspiring.”

    - Onoriode Coast, CSIRO (Narrabri, NSW)

    “One of the best training courses I've been on.”

    - David Scurrah, Bureau of Meteorology (Melbourne)

    “Instructor was superb - very impressive. I really enjoyed the course - thanks!”

    - Steven Edgar, CSIRO (Hobart)

    “Simply awesome!!”

    - James Park, Cisco (St Leonards)

    “It was a pleasure ... Shared feedback from all involved was that it’s been one of the most beneficial and well delivered training courses we’ve been a part of.”

    - Dylan Matthews, Simply Energy / GDF Suez (Melbourne)

    “Very impressed with the course, delivery. And depth of knowledge of Ed and Henry. Far exceeded my expectations and has greatly improved my core skills as well as inspired so many new ideas for my current work / projects. Thank you!”

    - Kelsey Druken, National Computational Infrastructure (Canberra)

    “The course was delivered by trainers who were extremely knowledgeable in their field. It was really good to learn from the best!”

    - Marius Roman, Transurban (Melbourne)

    “Really impressed by Python's capability and excited to use as alternative to MatLab, as is free and better supported.”

    - Carsten Hofmann, OMC International (Melbourne)

    “Was the most fulfilling and rewarding class I have taken since "general relativity" at uni. Was extremely well run. Excellent all round!”

    - Dr Millicent Maier, Australian Astronomical Observatory (Sydney)

    “This course has shown me how I could have done the work I was doing just last week 10x more efficiently in Python.”

    - Maruf Rahman, Geoscience Australia (Canberra)

    “The VM setup and USB is great. Ed is an excellent instructor - he presents well and welcomes any questions. He is clearly a super smart guy who has a great grasp on what he is teaching - able to just prototype on the fly and the course overall really opened my eyes to python. ”

    - Jack Hendy, Optiver (Sydney)

    “Great course. Enjoyed it and will follow up with some practical implementation of some of the work.”

    - Adam Grace, Optus (Sydney)