Skip to content

victorpreston/alx-higher_level_programming

Repository files navigation

img

Python

Not sure if C has taught me to think like a programmer or python is just really easy.

The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

I thought I had escaped betty, but here we have PEP8

Install Python3, pip3 and pycodestyle
  • Pycodestyle is now the new standard of Python style code.
$ sudo apt-get install python3 python3-pip
$ pip install pycodestyle
  • Confirm you have the right version.
$ pycodestyle --version
$

About

Resource


  • 0x00 : Hello, World.
  • 0x01 : if/else, loops, functions.
  • 0x02 : import & modules.
  • 0x03 : Data Structures: Lists, Tuples.
  • 0x04 : More Data Structures.
  • 0x05 : Exceptions.
  • 0x06 : Python Classes.
  • 0x07 : Test Driven Development.
  • 0x08 : Python More Classes.
  • 0x09 : Python Objects.
  • 0x0A : Python Inheritance.
  • 0x0B : Python Input/Output.
  • 0x0C : Almost a Circle.
  • 0x0D : SQL - Introduction.
  • 0x0E : SQL - More queries.
  • 0x0F : Object Relational Mapping.
  • 0x10 : Python - Network #0.
  • 0x11 : Python - Network #1.
  • 0x12 : JavaScript WarmUp.
  • 0x13 : JavaScript Objects Scopes.
  • 0x14 : Web Scrapping.
  • 0x15 : JavaScript Web jquery.