Please help grow this repo with commits on any areas of Python you feel confident in, the more help the better it can be!
Learn the high level programming language Python from the ground up with this helpful repository which covers everything between basic numerical operations right up to Data Structures and Algorithms. Commits welcome, must meet The PEP8 Style Guide
If you don't have a packager downloaded, now is the time to do it. Open your terminal and run:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The script will explain what changes it will make and prompt you before the installation begins. Once installed, insert the Homebrew directory at the top of your PATH environment variable. You can do this by adding the following line at the bottom of your ~/.profile file:
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
Now, we can install Python 3:
brew install python3
Once that's done, we need to install the Python package manager - pip. In your terminal, run the following four lines:
curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
Now that we have the package manager, we can install the coding standard we will be using for this repository - pep8. To install pep8 run:
pip install pep8
And now your all ready set and go to start learning Python!
First of all check if your package manager, apt-get
is updated by running the following command in your terminal:
sudo apt-get update
Next we install Python3. To install Python 3 on Linux run:
sudo apt-get python3
Once installed, in is necessary to install the Python package manager - pip. In your terminal, run the following lines:
sudo apt-get install python-pip python-dev build-essential
sudo pip install --upgrade pip
Now that we have the package manager, we can install the coding standard we will be using for this repository - pep8.
To install pep8 run:
pip install pep8
And now your all ready set and go to start learning Python!
Download preferred python version, there are two version Python 2.#.# and Python 3.#.#, from offical python website and install it. Link for Python.org
This repository has three main sections (detailed below) and also includes sections on Data Structures, Algorithms, etc.
Have a look through the beginner materials. It's key to understand the fundamentals of any language before progressing. Sample questions and solutions will be provided soon, but until then work at applying what you learn with different problems you construct for yourself.
Once you've had a look at what is covered in the intermediate materials, you can have a look at Searches and the Bubble Selection, Insertion and Binary Insertion Sorting Algorithms in Sorts. Some sample questions will be provided soon.
If you've finished the advanced material, check our Data Structures(when I have updated it) and what you didn't cover in Sorts.
Please help grow this repo with commits on any areas of Python you feel confident in.