Kurz-Einführung Python



Similar documents
Introduction to Python

Programming in Python. Basic information. Teaching. Administration Organisation Contents of the Course. Jarkko Toivonen. Overview of Python

Mit einem Auge auf den mathema/schen Horizont: Was der Lehrer braucht für die Zukun= seiner Schüler

AnyWeb AG

Linux & Docker auf Azure

Exemplar for Internal Assessment Resource German Level 1. Resource title: Planning a School Exchange

Rainer Stropek software architects gmbh. Entwicklung modularer Anwendungen mit C# und dem Managed Extensibility Framework (MEF)

LEARNING AGREEMENT FOR STUDIES

DATA DISPLAY GROUP. Artista Software Development Kit (SDK) Artista Software Development Kit (SDK)

Does Swiss IT Matter?

Overview WebServices Web Services Choreography Languages. WebServices. Jan Krüger

Name: Klasse: Datum: A. Was wissen Sie schon? What do you know already from studying Kapitel 1 in Vorsprung? True or false?

J2EE-Application Server

Internationale Gute Praxis für den Umgang mit Baggergut

FOR TEACHERS ONLY The University of the State of New York

Timebox Planning View der agile Ansatz für die visuelle Planung von System Engineering Projekt Portfolios

How To Manage Build And Release With Tfs 2013

Information Systems 2

Produktfamilienentwicklung

GCE EXAMINERS' REPORTS. GERMAN AS/Advanced

Microsoft Certified IT Professional (MCITP) MCTS: Windows 7, Configuration ( )

Enterprise User Security

Software / FileMaker / Plug-Ins Mailit 6 for FileMaker 10-13

Exemplar for Internal Achievement Standard. German Level 1

Thomas Rümmler AIT GmbH & Co. KG Christian Schlag AIT GmbH & Co. KG. Central Build and Release Management with TFS

Update to V10. Automic Support: Best Practices Josef Scharl. Please ask your questions here Event code 6262

Programmieren von Schnittstellen für LiveCycle ES2-Modulen (November 2009)

Testen mit Produktionsdaten Fluch oder Segen?

GETTING FEEDBACK REALLY FAST WITH DESIGN THINKING AND AGILE SOFTWARE ENGINEERING

Deployment-Optionen für den optimierten Desktop. Senior Systems Engineer, Citrix Systems

Central Release and Build Management with TFS. Christian Schlag

Using Python in a High School Computer Science Program

repositor.io Simple Repository Management Jürgen Brunk München, 03/2015

1Copyright 2013, Oracle and/or its affiliates. All rights reserved.

I Textarbeit. Text 1. I never leave my horse

TIn 1: Lecture 3: Lernziele. Lecture 3 The Belly of the Architect. Basic internal components of the Pointers and data storage in memory

Search Engines Chapter 2 Architecture Felix Naumann

Wolkige Versprechungen - Freiraum mit Tuecken

Sind Sie bereit für die #GenMobile? Jörg Hofmann Country Manager Switzerland

Cloud Performance Group 1. Event. 14. Januar 2016 / Matthias Gessenay (matthias.gessenay@corporatesoftware.ch)

Quick Start Guide UTM 110/120

Till Vollmer Geschäftsführer MindMeister

Gurkensalat statt Spaghetticode. Stuttgarter Testtage 2013

Zielgruppe Dieses Training eignet sich für IT-Professionals.

Application example AC500 Scalable PLC for Individual Automation Communication between AC500 and KNX network abb

Model-Based Engineering mit Industriesteuerungen

Financial Reinsurance with Applications in Life Reassurance

Is Cloud relevant for SOA? Corsin Decurtins

Multipurpsoe Business Partner Certificates Guideline for the Business Partner

IAC-BOX Network Integration. IAC-BOX Network Integration IACBOX.COM. Version English

APPLICATION SETUP DOCUMENT

A: Ein ganz normaler Prozess B: Best Practices in BPMN 1.x. ITAB / IT Architekturbüro Rüdiger Molle März 2009

Lean Innovation. A Fast Path from Knowledge to Value. Bearbeitet von Claus Sehested, Henrik Sonnenberg

How To Connect A Webadmin To A Powerpoint (Utm) From A Usb To A Usb (Net) Or Ipa (Netlan) Device (Netbook) From Your Computer Or Ipam (Netnet

Customer Surveys with SAP Contact Center

SAP Sourcing/CLM Webcast Query & User/Contact Maintenance Web Service

A Python Tour: Just a Brief Introduction CS 303e: Elements of Computers and Programming

Upgrading Your Skills to MCSA Windows Server 2012 MOC 20417

Microsoft Nano Server «Tuva» Rinon Belegu

Wir stellen uns vor We introduce ourselves

The Changing Global Egg Industry

17. November Übung 1 mit Swift. Architektur verteilter Anwendungen. Thorsten Kober Head Solutions ios/os X, SemVox GmbH

Statusreport MapServer

STELTSICHVOR. Webdesign-and-IT. TiloBreuer Luftstrase Braunschweig Tel: Mobil: Fax:

Postprocessing with Python

AC500. Application Example. Scalable PLC for Individual Automation. Webserver Login Application Example With PM564-ETH. abb

Die SharePoint-Welt für den erfahrenen.net- Entwickler. Fabian Moritz MVP Office SharePoint Server

Project Cost Reporting for PPM

Upgrade-Preisliste. Upgrade Price List


(51) Int Cl.: H04L 29/06 ( ) G06F 9/445 ( ) G06F 13/00 ( )

Use of DB2 purescale with SAP Applications

BUSINESS CONSULTING IN A HUNGARIAN COUNTY

Übersetzerbau in der Industrie: CacaoVM

Coffee Break German. Lesson 09. Study Notes. Coffee Break German: Lesson 09 - Notes page 1 of 17

Towards Secure and Reliable Firewall Systems based on Minix 3

CSC230 Getting Starting in C. Tyler Bletsch

MUK-IT 63. Roundtable. Herzlich Willkommen bei der Software AG. Anton Hofmeier VP Sales Terracotta DACH / MdGL

Transcription:

Sommersemester 2008

Paul Graham Paul Graham The programmers you ll be able to hire to work on a Java project won t be as smart as the ones you could get to work on a project written in Python. http://www.paulgraham.com/gh.html

Paul Graham: The Python Paradox Paul Graham I didn t mean by this that Java programmers are dumb. I meant that Python programmers are smart. http://www.paulgraham.com/pypar.html

Why Python? Eric Raymond I was generating working code nearly as fast as I could type. Why Python? http://www.linuxjournal.com/node/3882/print

Google Peter Norvig, director of search quality bei Google Python has been an important part of Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we re looking for more people with skills in this language.

YouTube Cuong Do, Software Architect,YouTube Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers

Thawte Consulting, Mark Shuttleworth Mark Shuttleworth Python makes us extremely productive, and makes maintaining a large and rapidly evolving codebase relatively simple

Industrial Light & Magic Tommy Burnette, Senior Technical Director Python plays a key role in our production pipeline. Without it a project the size of Star Wars: Episode II would have been very difficult to pull off. From crowd rendering to batch processing to compositing, Python binds all things together

Industrial Light & Magic II Philip Peterson,Principal Engineer, Research & Development Python is everywhere at ILM. It s used to extend the capabilities of our applications, as well as providing the glue between them. Every CG image we create has involved Python somewhere in the process

Beispiele Python Anwendungen Bittorrent Mojo Nation Miro Application-Server Zope Plone Django...

Literatur Web Quellen http://www.python.org/ Think Like a Computer Scientist Allen Downey, Jeff Elkner,Chris Meyers, How to Think Like a Computer Scientist: Learning with Python http://www.greenteapress.com/thinkpython/

Python ist eine objektorientierte dynamische stark typisierter Skript-Sprache.

Entstehung 1990er Jahre von Guido van Rossum am Centrum voor Wiskunde en Informatica (CWI) Amsterdam Skriptsprache für das verteilte Betriebssystem Amoeba (Maindesigner: Andrew S. Tanenbaum) entwickelt. Benannt nach Monty Python. Open Source

Veröffentlichung Guido van Rossum and Jelke de Boer, Interactively Testing Remote Servers Using the Python Programming Language, CWI Quarterly, Volume 4, Issue 4 (December 1991), Amsterdam, pp 283-303.

Entwurfsziele Einfach Übersichtlich Blockbildung mittels Einrücken! Nutzt Erfahrungen mit ABC

More than one religion Python ermöglicht sehr gut objektorientierte strukturierte funktionale Programmierung, erzwingt sie aber nicht.

Schnelles Entwickeln Dynamische Typisierung Garbage Collection

Mächtige Datenstrukturen Strings Listen Tupel Dictonaries

Beispiel: Liste in Java (1.0) for(int i=0;i<array.length;i++) { int x=array[i]; Verarbeite(x); }

Beispiel: Liste in Python for e in list: Verarbeite(e)

Functionales Programieren Lambda-Formen reduce() List comprehensions filter() map()

Einsatzgebiete Rapid Development Eingebettete Skripsprache

Python Interpreter $ python Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

Supertaschenrechner Beliebig lange Ganzzahlen Komplexe Zahlen...

Beliebig Lange Ganzzahlen >>> 2**64 18446744073709551616L >>> 2**128 340282366920938463463374607431768211456L

Komplexe Zahlen Imaginäre Zahlen werden mit dem Suffix j oder J gekennzeichnet. Komplexe Zahlen werden als zwei Fliekommazahlen dargestellt. complex(real, imag) ergibt real+imagj z.real und z.imag extrahieren Real- beziehungweise Imaginär-Teil.

Strenge Typprüfung Implizite Umwandlungen sind für numerische Typen. Keine implizite Umwandlung zwischen Zahlen und Zeichenketten (Unterschied zu Perl). Prinzip der geringsten Überrraschung.

Hallo Welt #include <iostream.h> void main() { cout << "Hello, world." << endl; }

Hallo Welt in Python >>> print("hallo Welt") Hallo Welt

Shell Fenstern #! /usr/bin/python from Tkinter import * fenster=button(text="hallo Welt",command= exit ) fenster.pack() fenster.mainloop()

Unser erstes GUI Fenster $ chmod +x fenstern $./fenstern

c opyleft c opyleft Erstellt mit Freier Software c Rüdiger Weis, Berlin 2008 unter der GNU Free Documentation License.