Giter Site home page Giter Site logo

practical-python's Introduction

Practical Python

Session material and solutions for the Practical Python course at AZ Macclesfield

Note, this course is now deprecated in place of the AstraZeneca Data Science Academy's Data Science Python course.

Using This Repository

Each session is contained in its own folder and includes the Powerpoint presentation given in the session, solutions for the session execises in a Jupyter notebook, and a model solution for the session project as a Python script.

The project solution is intended to be a model solution containing full documentation and testing. It is not expected for you to add such additional components to your solution but rather you should focus on the essential parts. A full solution is only provided as indication of the direction we want to be heading in and to build up experience with looking at source code.

Quick Access to Resources

Presentations

Exercise Solutions

Project Hints and Solutions

Session Summaries

Session 1 - Cryptography

  • Learn about list comprehension and functions for writing clear and efficient Python code
  • Learn how to convert to and from ASCII-ordinal representations of characters
  • Apply the session's techniques to create a simple cipher encrypter/decrypter

Session 2 - Higher or Lower

  • Learn about how dictionaries can be implemented and used in Python
  • Learn how to randomly select items from a list/dictionary
  • Apply the session's techniques (along with some supplied helper code) to create a game of 'Higher or Lower' using the follower counts of various celebrities' Twitters

Session 3 - Life

  • Learn how we can use lists of lists to create 2D arrays in Python
  • Learn how to read text from a plain text file
  • Apply the sessions's technique to simulate life itself (well, Conway's Game of Life). Additionally, allow the uploading of custom starting patterns

practical-python's People

Contributors

thargreaves avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.