Giter VIP home page Giter VIP logo

python_tips's Introduction

Python Tips

These tips are for beginner to intermediate Pythonistas who have a bit of experience with the language. I focused on general Python tips that I think are good to know.

Please clone or fork, the notebooks are meant to be interacted with. The TOC do not work on GitHib.

If the page notebooks won't load on GitHub view them here:

Note that these were written in Python 3 (3.6)

These files are .ipynb. It is a notebook document used by Jupyter Notebook, an interactive computational environment designed to help scientists work with the Python language (as well as many others e.g. R, Julia, Ruby, JavaScript).

I suggest downloading Anaconda. Anaconda is a free and open source distribution of the Python and R programming languages that aims to simplify package management and deployment. Jupyter Notebook is included in Anaconda.

I've included an inline python tutor. Just uncomment it and run the cell to use.

Please feel free to contribute, critique and comment.

General Tips:

Topics
  • Additional Operators
  • Enumerate
  • Comprehension; List, Set, Dict

Functions and Classes Topics:

Functions
  • Generators
  • Args and Kwargs
  • Lambda Functions
  • Mutable Parameters
  • Decorators
  • Recursion
Classes
  • Class Inheritance
  • "Private Methods"
  • Str and Repr
  • Static and Class Methods
  • Method Chaining
  • Property Decorators; Getters, Setters, Deleters

Built-In Functions and Libraries Topics:

Functions
  • Map
  • Filter
  • Zip
  • Print Formatting
  • Multiline comments
  • Formatting
  • Str and Repr
Libraries
  • Itertools
  • Infinite Itorators
  • Iterators Terminating On The Shortest Input Sequence
  • Combinatoric Iterators
  • Collections
  • Functools
  • Datetime
  • OS

python_tips's People

Contributors

gpetepg avatar akiselev1 avatar tsehori avatar r4dat avatar

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.