Skip to content

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Python For Everyone

The team behind this course is going to share some helpful resourses for Python programming as well as some tips and tricks for using Python in your daily activities.

All the materials used in these lessons will be made available for everyone to play with and to learn from. These include the presentations and examples.

The summary and notes for each of the lessons are available in the Wiki while the examples are available in this GitHub repository.

💡 About Python

Contrary to what you might believe, Python is not a special language that is only used by certain groups. Python is a general-purpose language that is used for many things, including:

  1. Web applications
  2. Desktop and mobile applications
  3. Data analysis and machine learning applications
  4. Games
  5. Command line applications
  6. Scripting

Do not be frightned by the name Python 🐍, because its name is actually an homage to the cult comedy show Monty Python.

🙏 The Zen Of Python

The core philosophies are summarized in The Zen Of Python and are available in catchy musical form. These include:

  1. Beautiful is better than ugly
  2. Explicit is better than implicit
  3. Simple is better than complex
  4. Complex is better than complicated
  5. Flat is better than nested
  6. Sparse is better than dense
  7. Readability counts
  8. In the face of ambiguity, refuse the temptation to guess
  9. If the implementation is hard to explain, it's a bad idea
  10. If the implementation is easy to explain, it may be a good idea

🚀 Installation

Python works in all major operating systems. Every Python program will work as expected, regardless of the operating system you are using.

💻 Windows

The easiest way to install Python on Windows is to visit the official page and download the latest installer.

🍏 macOS

The macOS operating system comes with Python pre-installed. However, you can and should install the latest version. The recommended way to do this is to use homebrew.

Open a Terminal window and run the following command to install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Once that's done, run the following command to install Python 3:

brew install python

🐧 Linux

Some Linux distributions come with Python pre-installed. You should be able to check if this is the case by running the following command in a Terminal:

python3 --version

If that doesn't output a version number, you should install Python 3. The way to do this depends on the distribution you are using. For example, on Ubuntu, and other Debian-based distributions, you can install Python 3 by running:

sudo apt-get update && sudo apt-get install python3

📜 Resources

📚 Official

  • The official tutorial is a quick hands-on starter guide
  • The PEP-8 Style Guide will make your code more understandable to other programmers, including the most crucial of all: your future self

🕒 Speedrun

👀 Other

  • Blocky is a way to program via a visual programming language and you can see the respective code behind it in various languages, including Python
  • The Algorithms' goal is to work together to document and model beautiful, helpful and interesting algorithms using code.

About

Python made easy

Topics

Resources

Stars

0 stars

Watchers

7 watching

Forks

Used by

Contributors

Languages