.. include:: Python Basics (2022-02-23 - 2022-02-25) ======================================= .. sidebar:: *Training Information* * :doc:`/trainings/material/soup/python/basics/group` * :doc:`/trainings/material/soup/python/group` * Jupyter Notebook * :doc:`Structure ` * :doc:`Entire Notebook ` * :download:`download ` * `Github Repository `__ * Followup training to this one: :doc:`../2022-03-15/index` .. toctree:: :hidden: Jupyter Notebook (Übersicht) Jupyter Notebook .. contents:: :local: Day 1 ----- * :doc:`/trainings/material/soup/python/basics/installation` * :doc:`/trainings/material/soup/python/misc/vscode` * :doc:`/trainings/material/soup/python/basics/python_0110_blahblah/topic` * :doc:`/trainings/material/soup/python/basics/python_0120_helloworld/topic` * :doc:`/trainings/material/soup/python/basics/python_0130_syntax_etc/topic` * :doc:`/trainings/material/soup/python/basics/python_0140_variables/topic` * :doc:`/trainings/material/soup/python/basics/python_0150_datatypes_overview/topic` * :doc:`/trainings/material/soup/python/basics/python_0160_boolean/topic` * :doc:`/trainings/material/soup/python/basics/python_0150_datatypes_overview_compound/topic` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/mixed_list_interactive` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/mixed_list_executable` (Solution: `mixed-list.py `__) Day 2 ----- * Quick walkthrough of data structures and algorithms .. list-table:: :align: left * * .. image:: oh-notation.png :scale: 40% * Big-O Notation * * .. image:: binarytree.png :scale: 40% * (Unbalanced) binary tree * * .. image:: binarysearch.png :scale: 40% * Binary search in a *sorted* array * * .. image:: hashtable.png :scale: 40% * Hash table (very basic) * * .. raw:: html * `Raymond Hettinger - Modern Dictionaries `__. **Raymond Hettinger**, explaining how dictionaries are implemented. * :doc:`/trainings/material/soup/python/basics/python_0139_commandline_argv/topic` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/cmdline_digit` (Solution: `digit.py `__) * :doc:`/trainings/material/soup/python/basics/python_0200_sequential_types/topic` * :doc:`/trainings/material/soup/python/basics/python_0210_indexing_slicing/topic` * :doc:`/trainings/material/soup/python/basics/python_0250_refs_flat_deep_copy/topic` * Control Flow and Iteration * :doc:`/trainings/material/soup/python/basics/python_0170_if/topic` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/max_numbers` (Solution: `maximum.py `__) * :doc:`/trainings/material/soup/python/basics/python_0193_while/topic` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/while_primeness` (Solution: `prime-while.py `__) * :doc:`/trainings/material/soup/python/basics/python_0220_for/topic` * :doc:`/trainings/material/soup/python/basics/python_0225_range/topic` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/for_primeness` (Solution `prime-for.py `__) Day 3 ----- * Functions * :doc:`/trainings/material/soup/python/basics/python_0270_functions/topic` * Exercise: :doc:`/trainings/material/soup/python/exercises/legacy/uniq_function` * Short generators demo? * Miscellaneous * :doc:`/trainings/material/soup/python/basics/python_0320_strings_methods/topic` * :doc:`/trainings/material/soup/python/basics/python_0400_lists/topic` * :doc:`/trainings/material/soup/python/basics/python_0450_dictionaries/topic` * :doc:`/trainings/material/soup/python/basics/python_0460_sets/topic` * File I/O * :doc:`/trainings/material/soup/python/basics/python_0500_files/topic` * :doc:`/trainings/material/soup/python/exercises/legacy/passwd` * Into the wild: do something with GIS data * Sample data `here `__ * :doc:`/trainings/material/soup/python/misc/csv/topic` * `Open Source Geospatial Foundation `__ * `GDAL Project `__ on `PyPI `__ * `PyPI `__ * :doc:`/trainings/material/soup/python/swdev/pip/topic` * :doc:`/trainings/material/soup/python/swdev/venv/topic` Further Information ------------------- * `Book: Automate the Boring Stuff with Python (Al Sweigart) `__ * `Transforming Code into Beautiful, Idiomatic Python `__. **Raymond Hettinger**, reiterating his favorite phrase: "There must be a better way". (Hettinger is a "Python Core Developer".) (He uses Python 2 though.) .. raw:: html Data Structures ............... * `Python Tutorial for Beginners 4: Lists, Tuples, and Sets `__, by `Corey Schafer `__ .. raw:: html * `Python Tutorial for Beginners 5: Dictionaries - Working with Key-Value Pairs `__, by `Corey Schafer `__ .. raw:: html * `Built in Super Heroes `__. `David Beazley `__ in an entertaining keynote to the "PyData Chicago 2016" conference. He has a number of very good and entertaining (and very advanced) videos. You have to spend an entire evening with him though. .. raw:: html OS Things ......... * `Python Tutorial: OS Module - Use Underlying Operating System Functionality `__, by `Corey Schafer `__ .. raw:: html * `Python Tutorial: Calling External Commands Using the Subprocess Module `__, by `Corey Schafer `__ .. raw:: html Data Science ............ * `Solving real world data science tasks with Python Pandas! `__, by `Keith Galli `__ .. raw:: html * `Complete Python NumPy Tutorial (Creating Arrays, Indexing, Math, Statistics, Reshaping) `__, by `Keith Galli `__ .. raw:: html * `Intro to Data Visualization in Python with Matplotlib! (line graph, bar chart, title, labels, size) `__, by `Keith Galli `__ .. raw:: html