Python Documentation & Startup



Similar documents
Microsoft PowerPoint Tutorial

Microsoft Word Quick Reference Guide. Union Institute & University

3 IDE (Integrated Development Environment)

Introduction To Microsoft Office PowerPoint Bob Booth July 2008 AP-PPT5

IT Quick Reference Guides Using Windows 7

NDSU Technology Learning & Media Center. Introduction to Google Sites

Excel 2007: Basics Learning Guide

No restrictions are placed upon the use of this list. Please notify us of any errors or omissions, thank you,

2010 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

Introduction to the Computer and Word Processing application LEVEL: 1. Switch on computer and demonstrate use of mouse

Personal Call Manager User Guide. BCM Business Communications Manager

Module B. Key Applications Using Microsoft Office 2010

Android Studio Application Development

IBM Rational Developer for i. Maintain an ILE RPG application using Remote System Explorer Edit, Compile, and Debug

Microsoft Word Basics Workshop

USER GUIDE. Unit 4: Schoolwires Editor. Chapter 1: Editor

Programming with the Dev C++ IDE

Charter Business Phone. Online Control Panel Getting Started Guide. Document Version 1.0

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Making a Web Page with Microsoft Publisher 2003

PowerPoint 2013 Basics of Creating a PowerPoint Presentation

Exercise 4 - Practice Creating Text Documents Using WordPad

MULTI: Editing Files and Configuring the IDE

Creating tables of contents and figures in Word 2013

WYSIWYG Editor in Detail

Microsoft Word 2007 Module 1

Basic Excel Handbook

Version 9.1 USER'S GUIDE

PLAY VIDEO. Close- Closes the file you are working on and takes you back to MicroStation V8i Open File dialog.

Microsoft Word 2013 Tutorial

Microsoft Office Access 2007 Basics

MICROSOFT WORD TUTORIAL

Website Editor User Guide

AutoDWG DWGSee DWG Viewer. DWGSee User Guide

Education Solutions Development, Inc. APECS Navigation: Business Systems Getting Started Reference Guide

Highlight from current position to end of line. Move one word to the left at a time Move one word to the right at a time

Microsoft PowerPoint 2010 Computer Jeopardy Tutorial

MS Word 2007 practical notes

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

Using Adobe Dreamweaver CS4 (10.0)

UNPAN Portal Content Management System (CMS) User Guide

Web Portal User Guide. Version 6.0

Excel 2003 Tutorial I

Wakanda Studio Features

FileMaker Server 14. FileMaker Server Help

Copyright 2006 TechSmith Corporation. All Rights Reserved.

Microsoft Access 97 Keyboard Shortcuts

How to test and debug an ASP.NET application

PowerPoint 2007 Basics Website:

In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move

Go Kiwi Internet Content Management System Version 5.0 (K5) TRAINING MANUAL

Using Flow Control with the HEAD Recorder

For Introduction to Java Programming, 5E By Y. Daniel Liang

DATAVIZ, INC. User Manual for Android 2/10/2014

Windows 8.1 User Guide

Advanced Presentation Features and Animation

Microsoft Word 2010 Tutorial

Using SQL Reporting Services with Amicus

Viewing and Troubleshooting Perfmon Logs

I ntroduction. Accessing Microsoft PowerPoint. Anatomy of a PowerPoint Window

How to Implement the X.509 Certificate Based Single Sign-On Solution with SAP Netweaver Single Sign-On

Cricut Design Space Reference Guide & Glossary

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Epson Brightlink Interactive Board and Pen Training. Step One: Install the Brightlink Easy Interactive Driver

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

QStart Mac. User Guide Release version 1.1 (46) QStartMAC2014 UserGuide Page Autocue Group Ltd.

Most of your tasks in Windows XP will involve working with information

DWGSee Professional User Guide

NDA ISSUE 1 STOCK # CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, NEC America, Inc.

Microsoft Word 2011: Create a Table of Contents

WORDPAD TUTORIAL WINDOWS 7

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

Open Workbench. User Guide. v2.0.00

Introduction to Mac OS X

ADMINISTRATOR'S GUIDE. Version 12.20

Word Processing. with. OpenOffice Writer

Tips and Tricks SAGE ACCPAC INTELLIGENCE

CA /BrightStor ARCserve9 Backup Software

Avaya Network Configuration Manager User Guide

Excel 2007 Basic knowledge

Professional. SlickEdif. John Hurst IC..T...L. i 1 8 О 7» \ WILEY \ Wiley Publishing, Inc.

VMware Horizon FLEX User Guide

Working with SQL Server Integration Services

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

r-one Python Setup 1 Setup 2 Using IDLE 3 Using IDLE with your Robot ENGI 128: Introduction to Engineering Systems Fall, 2014

CDOT Linking Excel Documents to MicroStation

Hypercosm. Studio.

Windows PowerShell Essentials

2 Getting Started with jgrasp 2.0

COMMON CUSTOMIZATIONS

Word processing OpenOffice.org Writer

Creating a Simple Visual C++ Program

Introduction to the Visual Studio.NET IDE

Using Example Projects, Code and Scripts to Jump-Start Customers With Code Composer Studio 2.0

Microsoft PowerPoint 2010 Handout

NAVIGATION TIPS. Special Tabs

Menus and Toolbars: Using and customizing those common to all OpenOffice.org components

5nine Hyper-V Commander

Transcription:

Python Documentation & Startup Presented 16 DEC 2010: Training Module Version 1.01 By Dr. R. Don Green, Ph.D. Email: drdg@prodigy.net Website: http://drdg.tripod.com

Prerequisites If needed, refer to and follow steps in: Python Installation by Dr. R. Don Green, Ph.D. Or navigate directly to: Nice to have list: Trainees need access to Python either during training, or shortly thereafter, to assure they can perform tasks illustrated in this module.

Python 2.7.1 Documentation Documentation about Python is available from http://www.python.org/ and other sources, however, this module discusses installed documentation. Navigate to Python select: Python Manuals

Python 2.7.1 Python Manuals Python v2.7.1 documentation The Python Tutorial, Glossary, etc.

Python 2.7.1 Startup IDLE (Python GUI) Navigate to the Python 2.7 folder and select: IDLE (Python GUI)

Python 2.7.1 Startup selected IDLE (Python GUI) Tk Python Shell Graphical User Interface (GUI) opened. Note: GUI is pronounced gooey. What is IDLE? What is Tk Python Shell? Note: a letter in a menu name may or may not be underlined, for example File or File. Press the Alt key!

Python 2.7.1 Startup Tk Python Shell What is Tk Python Shell? Tk is (simply stated) the GUI Toolkit (library), Python is the name of the Shell, i.e., the interpreter s dialogue portal.

IDLE 2.7.1 Tk Python Shell window Menu File, Edit, Shell, Debug, Options, Windows, Help. Note Python version and related information.

IDLE 2.7.1 Tk Python Shell Help Menu About IDLE IDLE Help Python Docs F1

IDLE 2.7.1 About IDLE IDLE is Python s Integrated DeveLopment Environment Note versions for: Python (named after Monty Python on television) Tk (i.e., a GUI Toolkit) IDLE IDLE is not the only Integrated Development Environment (IDE): http://wiki.python.org/moin/integrated DevelopmentEnvironments

IDLE 2.7.1 IDLE Help Select IDLE Help or: Click on the dotted line at the top of a menu to "tear it off," i.e., to create a separate window containing the menu (shown on next slide). Dotted line (really, this is a dashed line)

IDLE Tear It Off created a separate window containing the related menu We clicked on the dotted line at the top of a menu to "tear it off: A separate window containing the menu was created. Adjust the size of any window as desired.

IDLE 2.7.1 File menu Tear It Off create a separate window containing the related menu New Window Create a new editing window Open... Open an existing file Recent Files... Open a list of recent files Open Module... Open an existing module (searches sys.path) Class Browser Show classes and methods in current file Path Browser Show sys.path directories, modules, classes and methods Save Save current window to the associated file (note - unsaved windows have an asterisk (*) before and after the window title) Save As... Save current window to new file, which becomes the associated file Save Copy As... Save current window to different file without changing the associated file Print Window Print the current window Close Close current window (asks to save if unsaved) Exit Close all windows, quit (asks to save if unsaved)

IDLE 2.7.1 Edit Menu Tear It Off create a separate window containing the related menu Undo Undo last change to current window (A maximum of 1000 changes may be undone) Redo Redo last undone change to current window Cut Copy a selection into system-wide clipboard, then delete the selection Copy Copy selection into system-wide clipboard Paste Insert system-wide clipboard into window Select All Select the entire contents of the edit buffer Find... Open a search dialog box with many options Find Again Repeat last search Find Selection Search for the string in the selection Find in Files... Open a search dialog box for searching files Replace... Open a search-and-replace dialog box Go to Line Ask for a line number and show that line Expand Word Expand the word you have typed to match another word in the same buffer; repeat to get a different expansion Show Call tip Open a small window with function param hints Show surrounding parens Highlight the surrounding parenthesis Show Completions Open a scroll window allowing selection keywords and attributes. (see '*TIPS*', below)

Run Menu (only in Edit window) Python Shell -- Open or wake up the Python shell window --- Check Module -- Run a syntax check on the module Run Module -- Execute the current file in the main namespace

IDLE 2.7.1 Shell Menu (only in Shell window) Tear It Off create a separate window containing the related menu View Last Restart Scroll the shell window to the last restart Restart Shell Restart the interpreter with a fresh environment

IDLE 2.7.1 Debug Menu (only in Shell window) Tear It Off create a separate window containing the related menu Go to File/Line look around the insert point for a filename and line number, open the file, and show the line Debugger (toggle) Run commands in the shell under the debugger Stack Viewer Show the stack traceback of the last exception Auto-open Stack Viewer (toggle) Open stack viewer on traceback

IDLE 2.7.1 Options Menu Tear It Off create a separate window containing the related menu Configure IDLE Open a configuration dialog. Fonts, indentation, keybindings, and color themes may be altered. Startup Preferences may be set, and Additional Help Sources can be specified. On MacOS X this menu is not present, use menu 'IDLE -> Preferences...' instead. Code Context Open a pane at the top of the edit window which shows the block context of the section of code which is scrolling off the top or the window. (Not present in Shell window.)

IDLE 2.7.1 Windows Menu Tear It Off create a separate window containing the related menu Zoom Height toggles the window between configured size and maximum height. The rest of this menu lists the names of all open windows; select one to bring it to the foreground (de-icon-ifying it if necessary).

Python Alt key Tk Python Shell IDLE menu items are accessed with the mouse or Alt key strokes (this feature is toggled with the Alt key): File Alt f or Alt F Edit Alt e or Alt E Shell Alt l or Alt L Debug Alt d or Alt D Options Alt o or Alt O Windows Alt w or Alt W Help Alt h or Alt H What will happen if the Alt key is pressed once, or instead, is pressed twice in succession?

Python Documentation & Startup Summary! Prerequisites Installation access to Python now or soon Python documentation Installed documentation: Manuals, Help, etc. http://www.python.org/ and other sources. Tk Python Shell IDLE menu items: File, Edit, Shell, Debug, Options, Windows, Help

Python is useful for, among other purposes: Application Domains Database Access Desktop GUIs Education Game and 3D Graphics Network Programming Scientific and Numeric Software Development Web and Internet Development Note: This is the final slide of this training module by: Dr. R. Don Green, Ph.D.