Skip to content
Snippets Groups Projects

Introduction to Python

downloand material

git clone https://gitlab.hpc.cineca.it/nspalla1/intro-python.git

Index:

Outlook

01-Introduction_to_Python.ipynb

  • Philosophy
  • Environment
  • Interpreter
  • Built-in types and operations
  • Program file
  • Built-in containers
    • Tuples
    • Lists
    • Sets
    • Dicts
  • Flow control contructs
    • if-elif-else
    • For loops
    • While loops
    • Comparison and logical operators
      • Object reference

02-Introduction_to_Python.ipynb

  • File I/O
  • Functions
    • Argument Passing
    • Doc string
    • Lambda functions
  • Introspection
  • Functional programming
    • sort
    • lambda functions
    • filter, map
  • String formatting
    • Old and new style
  • Modules
    • Packages
    • Program arguments

03-Introduction_to_Python.ipynb

  • Standard Library (quick overview)
    • os, os.path, shutil
    • glob
    • sys
    • argparse
    • re
    • math, random
    • datetime
    • logging
    • gzip, csv, json
    • sqlite3
    • subprocess
  • Scientific Modules (very quick introduction)
    • Numpy
    • Matplotlib
    • Scipy
    • Pandas

04-Introduction_to_Python.ipynb (EXTRA)

  • Classes (short introduction)
    • Instances
    • Methods
    • Attributes
    • Inheritance
  • Iterables and Iterators
  • Error handling