Skip to content

Instantly share code, notes, and snippets.

@mizanRahman
Created June 23, 2014 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizanRahman/036668b601b5ccce5f39 to your computer and use it in GitHub Desktop.
Save mizanRahman/036668b601b5ccce5f39 to your computer and use it in GitHub Desktop.
python

python

  • Object oriented
  • Dynamic typed (Duck typed)
  • Cross platform
  • scripting or mission critical servers
  • interpreteed but bytecode compiled
  • easy to read, learn, maintain
  • simple yet robust
  • battaries included

motivation

  • life is better without braces
  • python fits your brain.
  • google uses it extensively
    • youtube
    • google app engine
    • internal systems
    • most python guys are googlers
  • some other renowned systems backed by python
    • dropbox
    • reddit
    • nasa

native data types

  • Booleans are either True or False.
  • Numbers can be integers (1 and 2), floats (1.1 and 1.2), fractions (1/2 and 2/3), or even complex numbers.
  • Strings are sequences of Unicode characters, e.g. an html document.
  • Bytes and byte arrays, e.g. a jpeg image file.
  • Lists are ordered sequences of values.
  • Tuples are ordered, immutable sequences of values.
  • Sets are unordered bags of values.
  • Dictionaries are unordered bags of key-value pairs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment