Python Virtual Training For Arcesium - Module II

Sep 20-24, 2021 Vikrant Patil

These notes are available online at https://notes.pipal.in/2021/arcesium_finop_batch1/

© Pipal Academy LLP

Day 1 | Day 2 | Day 3

We will be using jupyter hub from https://lab.pipal.in for this training.

create a notebook with name module2-day3

Problems

!python3 head.py 5 zen.txt
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
!python3 grep.py zen.txt ugly
Beautiful is better than ugly.
!python tail.py 3 zen.txt
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!

file handle methods

  1 1 1 1 1 1 1 1 1 1 1 1 1 1
  - - -

  1 1 1 1 1 1 1 1 1 1 1 1 1 1
  - - - ^
    - - - ^
      - - - ^
        - - - ^
                        - - -

Classes

Bank Account