Ch 1. A Python Q&A Session. Why do people use Python? Software Quality Developer productivity Program portability Support Libraries Component integration.

Slides:



Advertisements
Similar presentations
Python Whats in a name? Snake logos and mascot notwithstanding, its named after Monty Pythons Flying Circus Humor-impaired can safely.
Advertisements

EIONET Training Beginners Zope Course Miruna Bădescu Finsiel Romania Copenhagen, 27 October 2003.
In Review JAVA C++ GUIs - Windows Webopedia.com.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
What iS RMI? Remote Method Invocation. It is an approach where a method on a remote machine invokes another method on another machine to perform some computation.
Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.
Introduction to Java The objectives of this chapter are: To describe the key aspects of Java To describe the Java software development kit (SDK) To explain.
Object Orientated Programming
Introduction to Java Programming
Python Jordan Miller and Lauren Winkleman CS 311 Fall 2011.
1 Programming Languages Translation  Lecture Objectives:  Be able to list and explain five features of the Java programming language.  Be able to explain.
Introduction to Java.
1 SD1042: Introduction to Software Development SD1042 Introduction to Software Development SCHOOL OF COMPUTING AND TECHNOLOGY Getting Started MODULE TEAM.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Python Introduction.
Languages and tools. BY SA machine code.
Introduction to Python Dr. Bernard Chen Ph.D. University of Central Arkansas July 9 th 2012
Ch 1. Introduction Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2012.
Programming Languages
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
Research infrastructure and knowledge management Eric Maryniak.
About the Java  Java technology is both a programming language and a platform –The Java Programming Language A high-level language that can be characterized.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Java Lecture 16: Dolores Zage. WWW n Was a method for distributing passive information n added forms and image maps n interaction was only a new way to.
Java Virtual Machine Java Virtual Machine A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use.
Python 101 Dr. Bernard Chen University of Central Arkansas IT Academic.
Computer Science 111 Fundamentals of Programming I Overview of Programming.
Introduction to Programming Peggy Batchelor.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
Programming Concept Chapter I Introduction to Java Programming.
Week 1 - Friday.  What did we talk about last time?  Our first Java program.
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
PHP Features. Features Clean syntax. Object-oriented fundamentals. An extensible architecture that encourages innovation. Support for both current and.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Plug-In Architecture Pattern. Problem The functionality of a system needs to be extended after the software is shipped The set of possible post-shipment.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
4-Nov-15 Air Force Institute of Technology Electrical and Computer Engineering Object-Oriented Programming Design Topic 1: The Java Environment Maj Joel.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and web applications Very rich GUI libraries Portability (machine independence) A real Object.
 Instructor: Dr. Jason Nichols –  Office Hours: – 9:30-10:30 M/W/F or by appointment – Business Building.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
Overview of Java CSCI 392 Day One. Running C code vs Java code C Source Code C Compiler Object File (machine code) Library Files Linker Executable File.
CS7 Recitation Cem Akkaya. Outline  Homework-0 in detail  Useful links and tools  Setting up your java environment.
First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
Java FilesOops - Mistake Java lingoSyntax
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
3/5/2002e-business and Information Systems1 Java Java Java Virtual Machine (JVM) Java Application Program Interface (API) HW Kernel API Application Programs.
Design and implementation Chapter 7 – Lecture 1. Design and implementation Software design and implementation is the stage in the software engineering.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
ITP 109 Week 2 Trina Gregory Introduction to Java.
Introduction to 1. What is Java ? Sun Microsystems Java is a programming language and computing platform first released by Sun Microsystems in The.
Introduction CMSC 202 Fall Instructors Mr. Ryan Bergeron – Lecture Section 01 Tues/Thu 1:00 – 2:15 am, Sondheim 111 – Lecture Section 04 Tues/Thu.
What Do Computers Do? A computer system is
Python Programming Unit -1.
CST 1101 Problem Solving Using Computers
Introduction to.
Internet and Java Foundations, Programming and Practice
Ch 1. A Python Q&A Session Bernard Chen 2007.
Getting Started ARCS Lab..
What Is a Program? A program is like an algorithm, but describes a process that is ready or can be made ready to run on a real computer Retrieved from:
(Computer fundamental Lab)
FEATURES OF PYTHON.
Web Application Development Using PHP
Plug-In Architecture Pattern
Presentation transcript:

Ch 1. A Python Q&A Session

Why do people use Python? Software Quality Developer productivity Program portability Support Libraries Component integration

Why do people use Python? Software Quality: Python is designed to be readable, and hence maintainable. Python adopts minimalist approach. Python is deep support for software reuse mechanisms such as OO. Developer productivity: Python code is typically 1/3 to 1/5 the size of equivalent C++ or JAVA code

Why do people use Python? Program portability Most python programs run unchanged on all major computer platforms Support Libraries Component integration Today, Python code can invoke C and C++ libraries, can be called from C and C++, can integrate with Java components. Can communicate over XML, Corba and.NET etc

What can I do with Python? System Programming (shell tools) GUIs (standard OOP interface Tkinter) Internet Scripting Database Programming (pickle module provides object persistence system; interfaces to MySQL, ODBC, etc.; portable DB API for SQL) Numeric Programming (NumPy extension) Games, Images, AI, XML and more

What are Python’s Technical Strength It’s OO It’s free It’s Portable It’s Powerful (dynamic typing, automatic memory management, OOP) It’s Mixable It’s Easy to use (“executable pseudo code”) It’s Easy to learn

What is the Downside of Python? Perhaps the only downside to Python is that the execution speed may not always as fast as compiled languages such as C and C++ Python is not compiled all the way down to binary machine code, it compiled to byte code instead.

Who Uses Python Today? Google and Yahoo currently use Python in Internet services Hewlett-Packard, Seagate and IBM use Python for hardware testing Industrial Light and Magic use Python in the production of movie animation For more details, visit

Install Python Download python from

How do you run programs? Three different methods: 1. Interactive Coding 2. Files (such as NotePad, WordPad) 3. Integrated Development Environment (IDE)

Hello World Program Implement by three different methods

“Hello World” in C main() { printf("hello, world\n"); }

“Hello World” in JAVA class myfirstjavaprog { public static void main(String args[]) { System.out.println("Hello World!"); }

Python codes Print ‘Hello World!’ More Code?? Print 6+9 Print “6+9” aa=6+9 print aa aa=6 bb=9 aa+bb