Installing and Developing Programs in Python. Installing Python is pre-installed on most Unix systems, including Linux and MAC OS X The pre-installed.

Slides:



Advertisements
Similar presentations
Network Design and Optimization Python Introduction
Advertisements

Learn Python in three hours
Scripting Languages. Originally, a script was a file containing a sequence of commands that needed to be executed Control structures were added to make.
Guide To UNIX Using Linux Third Edition
How to install the Zelle graphics package
CS0007: Introduction to Computer Programming Setting Up Java.
© 2010 IBM Corporation IBM Experience Modeler - Theme Editor Installing Python Image Library Presenter’s Name - Presenter’s Title DD Month Year.
Introduction to Python: Slides Referenced in Homework 0 CSE-391: Artificial Intelligence University of Pennsylvania Matt Huenerfauth January 2005.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
PYTHON: LESSON 1 Catherine and Annie. WHAT IS PYTHON ANYWAY?  Python is a programming language.  But what’s a programming language?  It’s a language.
TOPIC 5.0 LINUX SHELLS.
Introduction to Python Kris Kneubuhler SE NPUG July 17 th 2014.
Chapter 1: Python Basics CSCI-UA 0002 – Introduction to Computer Programming Mr. Joel Kemp.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Introduction to Shell Script Programming
Integrated Development Environments (IDEs) CS 21a: Introduction to Computing I First Semester,
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
Introduction to Programming Workshop 1 PHYS1101 Discovery Skills in Physics Dr. Nigel Dipper Room 125d
Python 0 Some material adapted from Upenn cmpe391 slides and other sources.
Lesson 6. GCSE Computing – programming languages Candidates should be able to:  describe common tools and facilities available in an integrated development.
CSC 215 : Procedural Programming with C C Compilers.
August 29, 2005ICP: Chapter 1: Introduction to Python Programming 1 Introduction to Computer Programming Chapter 1: Introduction to Python Programming.
Developing C/C++ applications with the Eclipse CDT David Gallardo.
Python technology Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python.
Pattern Recognition Software CS855 Week 1. Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
UNIX/LINUX SHELLS.  “A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and.
Python I Some material adapted from Upenn cmpe391 slides and other sources.
1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1.
IDLE An IDE for Python bundled with the program release Click on IDLE (Python GUI) in the Start menu under the Python program group  Get the IDLE Python.
OCR Computing GCSE © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 4: Writing programs.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Installing and Developing Programs in Python. Installing Python is pre-installed on most Unix systems, including Linux and MAC OS X The pre-installed.
Python Interpreter and Pycharm Community Edition
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
Python I Some material adapted from Upenn cmpe391 slides and other sources.
Integrated Development Environments (IDEs) CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila.
Exploring Spyder: An IDE for scientific computing
Xi Wang Yang Zhang. 1. Easy to learn 2. Clean and readable codes 3. A lot of useful packages, especially for web scraping and text mining 4. Growing popularity.
Master Software Solutions Pvt.Ltd.. These days the demand of smart phone is being increased and we have different types of client e.g. Touch Phone, tables,
Sung-Dong Kim Dept. of Computer Engineering, Hansung University Chapter 3 Programming Tools.
Learning Unix/Linux Based on slides from: Eric Bishop.
Debugging using By: Samuel Ashby. What is debugging?  A bug is an error in either a program or the hardware itself.  Debugging is first locating and.
PyDev: Python plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008.
How to Get Started With Python
Development Environment
CST 1101 Problem Solving Using Computers
MET4750 Techniques for Earth System Modeling
PowerShell Introduction Copyright © 2016 – Curt Hill.
ITCS-3190.
The Python interpreter
PH2150 Scientific Computing Skills
CISC101 Reminders Last lecture!  Grading of Quiz 4 underway.
Prepared by Kimberly Sayre and Jinbo Bi
Test Automation For Web-Based Applications
Do you know this browser?...
Python I Some material adapted from Upenn cmpe391 slides and other sources.
Python I Some material adapted from Upenn cmpe391 slides and other sources.
The Python interpreter
EMSE 6574 – Programming for Analytics: Python 101 – Python Enviornments Joel Klein.
Compilers and Interpreters
12th Computer Science – Unit 5
Chapter 1: Programming Basics, Python History and Program Components
Installations for Course
Installations for Course
Presentation transcript:

Installing and Developing Programs in Python

Installing Python is pre-installed on most Unix systems, including Linux and MAC OS X The pre-installed version may not be the most recent Two “latest versions” –2.7 released 7/10 & 3.2 released 10/10 –Python 3 is a non-backward compatible version which you should use for CS2021 Download from

Running Interactively on UNIX On Unix… % python >>> Python prompts with ‘>>>’. To exit Python (not Idle): –In Unix, type CONTROL-D –In Windows, type CONTROL-Z + –Evaluate exit()

Running Programs on UNIX Call python program via the python interpreter % python fact.py Make a python file directly executable by –Adding the appropriate path to your python interpreter as the first line of your file #!/usr/bin/python –Making the file executable % chmod a+x fact.py –Invoking file from Unix command line % fact.py

Python IDEs There are many Integrated Development Environments –IDLE –Emacs –Anaconda / Spyder –Enthought Canopy –Komodo –PyCharm –Eclipse + PyDev –TextMate

IDLE Development Environment IDLE is the “official” IDE distributed with PythonIDLE Preinstalled on MAC OS X Written in Python with the Tkinter GUI packageTkinter Multi-window text editor with syntax highlighting, auto-completion, smart indent and other features Python shell with syntax highlighting, line recall, … Integrated debugger with stepping, persis- tent breakpoints, and call stack visi- bility

Developing Python in Emacs Emacs python-mode.el has good support for editing Python, enabled enabled by default for.py files Features: completion, symbol help, eldoc, and inferior interpreter shell, etc. Help configuring emacs for python – python-ide/

Anaconda Anaconda is the leading Python distribution for supporting SciPy for large-scale data processing, predictive analytics, and scientific computing Download Anaconda: Quickstart: da-Quickstart.pdf da-Quickstart.pdf