Git Product home page Git Product logo

learnpythonin2hours's Introduction

Learn Python in 2 hours

Yet Another Python Tutorial.

The 2 hours part might be a bit optimistic, the idea was to have 12 lessons that would take approximately 10 minutes each, but, including the exercises, they all turned out to be maybe 2 hours each instead.

One could argue that the name of this tutorial would therefore need to be changed, but the content is still very introductory, so it is still applicable to some extent.

Introduction

Python is a very popular programming language. It is used for a lot of different use cases from complicated applications such as AI or web browsers, to web application frameworks. But it is also considered (a bit arbitrarily) one of the easiest languages to learn and use, and this means it is also extensively used for scripting.

Python is an interpreted language, like most of the languages used for scripting. Whilst not known for high performance, in 99% of the use cases this limitation is not visible.

Beyond being easy to learn, and thanks to its vast popularity, one of the biggest advantages of Python is its community. This comprises of a large wealth of guides, tutorials and examples, but also libraries that help with all sort of different tasks, including making various API calls.

The sum of all these traits makes Python the perfect candidate for a tutorial like this. To guide the reader through the process of learning, we being with a foundation, and then explore some more advanced topics with Python.

Self-paced

This tutorial is designed to be self-paced. Anyone with a Unix/Linux/Mac environment should be able to do these exercises. We have also provided plenty of real-life examples for you to try out along the way.

Why python 3 ?

Python, as a language, does not have a "Standards Committee" like C or C++ for example, so it is released in versions that bring different changes that might make one version incompatible with another.

Python version 2 has been around for a very long time, but it has been recently declared deprecated, so most of the Python distributions have now switched to python 3, and in particular versions > 3.5.

A lot of older code is still Python 2 specific, and migrating to Python 3 is not automatic.

For this reason this course will assume that you have a set-up with a version of Python above 3.5.

For most of the exercises, the version should not matter anyway.

Lessons

It is recommended that you take the following lessons in order as they start with the simpler introductions and progress to more challenging examples.

Introductory Lessons

Intermediate Lessons

Advanced Lessons

Practical

How to find help

The main source of information is the Python Documentation website, which will cover the answer to most of your questions regarding Python. In particular, check the Reference

The documentation is very useful, but at times it helps to understand specifically how a certain component needs to be used, and for that, most of the times stackoverflow is the best source of help.

learnpythonin2hours's People

Contributors

eturra avatar

Stargazers

Yu Liu avatar

Watchers

 avatar

Forkers

cgq18

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.