Help for this page

Select Code to Download


  1. or download this
    with open("welcome.txt") as file: 
        ... # do stuff
    
  2. or download this
    { # can be any block; sub, named or just empty
    
    ...
    }
    
    # file is auto-closed here