Preview

Hands on Python Tutorial

Satisfactory Essays
Open Document
Open Document
57804 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Hands on Python Tutorial
Hands-on Python Tutorial
Release 1.0 for Python Version 3.1+

Dr. Andrew N. Harrington, Loyola University Chicago

May 31, 2013

CONTENTS

1

Beginning With Python 1.1 Context . . . . . . . . . . . . . . . . . . . . . . 1.2 The Python Interpreter and Idle, Part I . . . . . . 1.3 Whirlwind Introduction To Types and Functions 1.4 Integer Arithmetic . . . . . . . . . . . . . . . . 1.5 Strings, Part I . . . . . . . . . . . . . . . . . . . 1.6 Variables and Assignment . . . . . . . . . . . . 1.7 Print Function, Part I . . . . . . . . . . . . . . . 1.8 Strings Part II . . . . . . . . . . . . . . . . . . . 1.9 The Idle Editor and Execution . . . . . . . . . . 1.10 Input and Output . . . . . . . . . . . . . . . . . 1.11 Defining Functions of your Own . . . . . . . . . 1.12 Dictionaries . . . . . . . . . . . . . . . . . . . . 1.13 Loops and Sequences . . . . . . . . . . . . . . 1.14 Decimals, Floats, and Floating Point Arithmetic 1.15 Summary . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

1 1 6 12 14 15 17 19 20 21 24 29 41 45 59 62

2 Objects and Methods

You May Also Find These Documents Helpful

  • Good Essays

    ROCKTHEAGESLLC

    • 3552 Words
    • 41 Pages

    . . . . . . . . . . . . . . . . . . . .…

    • 3552 Words
    • 41 Pages
    Good Essays
  • Good Essays

    Amath 250 notes

    • 36731 Words
    • 354 Pages

    1.1 DEs and Mechanics . . . . . . . . . . . . . . . . . . . .…

    • 36731 Words
    • 354 Pages
    Good Essays
  • Satisfactory Essays

    Everyone deserves to feel proud of their smile, and Chris H. Boerger, D.D.S. will enhance yours. Cosmetic dentistry is an art as much as a science, and Dr. Boerger knows how to create a beautiful, natural-looking smile using veneers and orthodontics like Invisalign. He also offers restorative dentistry procedures, including bridges, crowns, and implants.…

    • 248 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -…

    • 978 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    ………….. ……… ………… ……… …………. ……… ………….…

    • 868 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Comp230 W2 Ilab

    • 1120 Words
    • 5 Pages

    == == == == ==…

    • 1120 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    python cheat sheet v1

    • 513 Words
    • 13 Pages

    stdin, stdout, stderr File objects for I/O isalpha() * splitlines() __str__() tzname() version_info Python version info isdigit() * startswith(sub) strftime(format) winver Version number islower() * strip() isspace() * swapcase() * istitle() * title() * sys.argv for $ python foo.py bar -c qux --h Time Methods Date Formatting (strftime and strptime) isupper() * translate(table) %a Abbreviated weekday (Sun)…

    • 513 Words
    • 13 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week 3 Ilab

    • 367 Words
    • 2 Pages

    == == == == ==…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    As you look at people everyday you try to catch their “First Impression” by the emotions they show on their face, but the one emotion that everyone recognizes is a smile. Having the perfect smile can make a person’s day a little brighter. Everyone wants to have the perfect smile, but in that smile the most important thing people recognize is the teeth. Some people may have straighter teeth than others. So many people are trying to figure out how on earth can you get such straight teeth for the perfect smile of the day. You may have asked people what's their secret. They might say they had braces or invisalign. They would go on and on about how great they worked for them, but ask you dentist what would be best for you. Walking into the dentist and figuring out which one is better for you can be a problem. The dentist talks about the pros and cons of each, yet all dentist have their own viewpoint on what they think about each. Well I had the same problem when it was my time to get braces.…

    • 906 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    • • • • • • • • • •  • • •  • •…

    • 4569 Words
    • 19 Pages
    Powerful Essays
  • Best Essays

    Macbeth Desires

    • 3412 Words
    • 14 Pages

    . . . . . . . . . . . . . . . . . . . . .…

    • 3412 Words
    • 14 Pages
    Best Essays
  • Good Essays

    Orthodontist Essay

    • 455 Words
    • 2 Pages

    Why go through life with crooked or misaligned teeth that are embarrassing? Stop covering your mouth every time that you laugh or smile. Dental health is available. The fact is that orthodontist in Downtown Los Angeles are experienced at all phases of orthodontic care and treatment. Orthodontist are the dental professionals that are very adept and skilled at straightening your teeth or treating jaw problems. The fact is that people react very positively to a person with a beautiful smile. Consequently, just about everyone would like to have a winning, beautiful smile that builds their self confidence. Today, the orthodontist is able to offer their patient a number of very high quality options to get that winning smile.…

    • 455 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    ………………………………………………………………..………………….…

    • 3021 Words
    • 13 Pages
    Powerful Essays
  • Satisfactory Essays

    Censorship in America

    • 281 Words
    • 2 Pages

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -…

    • 281 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    to reassure children, as I child nurse I will have to observe patient's constantly by trying…

    • 659 Words
    • 3 Pages
    Good Essays

Related Topics