jagomart
digital resources
picture1_Python Pdf 183017 | Py5 Item Download 2023-01-31 10-43-15


 194x       Filetype PDF       File size 0.22 MB       Source: www.worldcolleges.info


File: Python Pdf 183017 | Py5 Item Download 2023-01-31 10-43-15
a crash course in python by stephen saville and andrew lusk sigunix meeting mon 28 oct 2002 8 00 pm 1310 dcl based on the excellent tutorial by guido van ...

icon picture PDF Filetype PDF | Posted on 31 Jan 2023 | 2 years ago
Partial capture of text on file.
         A Crash Course in Python
            By Stephen Saville and Andrew Lusk
                 SIGUnix Meeting
                Mon 28 Oct 2002
                   8:00 pm
                  1310 DCL
       Based on the excellent tutorial by Guido Van Rossum:
          http://www.python.org/doc/current/tut/tut.html
    A Crash Course in Python                        SigUNIX/Stephen Saville and Andrew Lusk
                         How to Start Python
         Interactive:
           bash# python
           >>> print "Hello World"
           Hello World
           >>> 
         From File:
           bash# cat << EOF > myfile.py
           print "Hello World\n"
           EOF
           bash# python myfile.py
           Hello World
           bash# 
    28 Oct 2002                                                                       1310 DCL
    A Crash Course in Python                        SigUNIX/Stephen Saville and Andrew Lusk
                         How to Start Python
          Executable File:
             bash# cat << EOF > myfile.py
             #!/usr/bin/python
             print "Hello World\n"
             EOF
             bash# chmod a+x myfile.py
             bash# ./myfile.py
             Hello World
             bash# 
    28 Oct 2002                                                                       1310 DCL
    A Crash Course in Python                        SigUNIX/Stephen Saville and Andrew Lusk
                           Python Data Types
          Numbers:            flt_num = 10.0                 int_num = 25
          Strings:            my_str = "Dude, why are you using perl?"
          Lists:              my_list = ("yo", 24, "blah", "go away")
          Tuples:             my_tup = (1, 4, 32, "yoyo", ['fo', 'moog'])
          Dictionaries: my_dict = {'a': 24.5, 'mo': 'fo', 42: 'answer'}
          Objects:            my_inst = MyClass('foo')
          Modules:            import myfile
    28 Oct 2002                                                                       1310 DCL
The words contained in this file might help you see if this file matches what you are looking for:

...A crash course in python by stephen saville and andrew lusk sigunix meeting mon oct pm dcl based on the excellent tutorial guido van rossum http www org doc current tut html how to start interactive bash print hello world from file cat myfile py n eof executable usr bin chmod x data types numbers flt num int strings my str dude why are you using perl lists list yo blah go away tuples tup yoyo dictionaries dict mo fo answer objects inst myclass foo modules import...

no reviews yet
Please Login to review.