Help for this page

Select Code to Download


  1. or download this
    slice
    An object usually containing a portion of a sequence. A slice is creat
    +ed using the subscript notation, [] with 
    colons between numbers when several are given, such as in variable_nam
    +e[1:3:5]. The bracket (subscript) notation
    uses slice objects internally.
    
  2. or download this
    class slice(stop)
    class slice(start, stop, step=1)
    ...
    arguments default to None. 
    
    ...