Lecture 4. Input/output and file handling
|
|
- Karola Kohler
- vor 6 Jahren
- Abrufe
Transkript
1 Lecture 4. Input/output and file handling Dorett Odoni Programming in Python (recap) Interactive mode Code is written line by line and directly executed (usually when you hit "Enter"). Pro: Direct insight into behaviour of every code fragment. Con: Not suitable for long and complex scripting (imagine making a mistake). Scripts The code is written in plain text format (kate, Vi, gedit,...). The text file is saved (usually with the extension ".py"), and executed via the terminal (i.e, the command-line; as already applied in previous exercises). python3 /<path-to-script> program.py Scripting in Python - block structure Indendation of Python source code organises program into execution blocks. Statements at the top level of the program are unindented. Branching statements (e.g. "if " and "for") control the execution of one or more subsidiary blocks. Block: a group of adjacent lines that has the same indentation level. Note: amount of indentation (tabs, spaces) not critical, but should be consistent. 1
2 invertlistelements.py (camelcase naming) list = [2.,1.,3.,4.] #statement 1 inverse_list = [] #statement 2 for element in list: #branching statement 1 if(not(element == 0)): #branching statement 2 inverse_list += [1./element] #statement 3 else: #branching statement 3 inverse_list += [None] #statement 4 print(inverse_list) #statement 5 python3 /<path-to-script> invertlistelements.py [0.5, 1.0, , 0.25] Parameterisation of Scripts Intro Parameterisation allows reusability of Python code. invertlistelements.py list = [2.,1.,3.,4.] #statement 1 inverse_list = [] #statement 2 for element in list: #branching statement 1 if(not(element == 0)): #branching statement 2 inverse_list += [1./element] #statement 3 else: #branching statement 3 inverse_list += [None] #statement 4 print(inverse_list) #statement 5 invertlistelements.py list = <flexible input> #parameter 1 inverse_list = [] #statement 2 for element in list: #branching statement 1 2
3 if(not(element == 0)): #branching statement 2 inverse_list += [1./element] #statement 3 else: #branching statement 3 inverse_list += [None] #statement 4 print(inverse_list) #statement 5 Intro To define a parameter, arguments can be passed to the script via the terminal (separated by one space). python3 /<path-to-script> program.py <argument 1> <argument 2>... <argument n> python3 /<path-to-script> invertlistelements.py [2., 1., 3., 4.] Module sys The module sys allows passing of arguments via the terminal. sys.argv is a list that contains all the command-line arguments in the order that they were passed to the script via the terminal (note that sys.argv[0] is reserved for the name of the script itself). Module sys - script import sys input_1 = sys.argv[1] input_2 = sys.argv[2]... input_n = sys.argv[n] 3
4 The module is imported with the statement "import sys"" at the top of the script. The arguments from the list sys.argv are stored in the variables input_1 to input_n. Parameters are defined by the names that appear in a function definition; they define what types of arguments a function can accept. - script import sys input_1 = sys.argv[1] #sys.argv[1] is parameter 1, assigned to the variable "input_1" input2 = sys.argv[2] #sys.argv[2] parameter 2, etc input_n = sys.argv[n] Arguments are the values actually passed to a function when calling it. Arguments are assigned to the named local variables in a function body. python3 /<path-to-script> program.py <argument 1> <argument 2>... <argument n> Module sys square.py import sys number = int(sys.argv[1]) number_squared = number*number print(str(number_squared)) python3 square.py
5 INPUT from stdin and OUTPUT to stdout STDIN input([prompt]) The built-in function input([prompt]) reads a user input and returns it as a string. The parameter "prompt" ist optional. You can insert any string, which will be displayed on the command-line to ask for user input. - script s = input("please enter any text: ") print('you wrote "' + s + '" in the terminal.') - command line: Please enter any text: Text, text, and more text You wrote "Text, text, and more text" in the terminal. STDOUT print([*objects], {sep, end, file}) The built-in function print writes the string-representation of the instances passed through objects to the data-stream file sep: Separator between the objects [standard: ""]. end: Character after the last object [standard: "\n"]. file: Stream where a program writes its output data [standard: sys.stdout, i.e., the text terminal which initiated the program]. guessingnumbers.py #import module sys import sys #assign the first argument to the variable "max_tries" via the parameter sys.argv[0] max_tries = int(sys.argv[1]) #define the secret number 5
6 secret_number=3124 #initiate the "guess" variable guess = 0 #branching statement 1 for counter in range(max_tries): #interactive: ask for user input guess = int(input("guess a number: ")) #branching statement 2 if(guess < secret_number): #print something to stdout print("too small", end="\n") # branching statement 3 elif(vguess > secret_number): #print something to stdout print("too big", end="\n") #branching statement 4 else: #print something to stdout print("great, you guessed correctly in ", str(counter), "tries!", sep=" ", end="\n") sys.exit() #exi program #All tries failed, print something to stdout print("pity,", str(max_tries), "were not enough!", sep=" ", end="\n") python3 guessingnumbers.py 10 Guess a number: 1000 too small Guess a number: 5000 too big Guess a number: 3124 Great, you guessed correctly in 2 tries! 6
7 File handling Intro Reading and writing files is a central concept in programming. Python uses file objects for reading and writing data. To get a file object, you use Python s built-in function open. To close the file object, you use Python s built-in function close. File objects open(filename, [mode, buffering]) *filename* is the absolute or relative path to the file that will be read/written. *mode* is an optional parameter; it defines the access mode for the file object (e.g. read, write,...). *buffering* is an optional parameter; it defines how the content of the file object should be buffered. File objects Reading File objects are iterable, i.e., you can use a for-loop to read (and modify) the file line-by-line. Example (file): testfile.fasta >DNA_fasta_header ATGGACGAGGACGACAATCCACGAGATGGCAATCGACGGGAAGATGGGGGT ACACCGGGTCCGGTGGCGTGGCTCCCGAGGATGACGTATCCGCCGAGGATA - script fasta_file = open("testfile.fasta", "r") #"r" for "read", see additional information for line in fasta_file: print(line, end='') fasta_file.close() 7
8 - output >DNA ATGGACGAGGACGACAATCCACGAGATGGCAATCGACGGGAAGATGGGGGT ACACCGGGTCCGGTGGCGTGGCTCCCGAGGATGACGTATCCGCCGAGGATA Careful: Every line in the file ends with a newline character ("\n"), which is invisible to the naked eye, but is read by the Python interpreter. To avoid empty lines, end is defined as empty string. File objects Reading - many paths lead to Rome - script fasta_file = open("testfile.fasta", "r") line = fasta_file.readline() while line: print(line, end="") line = fasta_file.readline() fasta_file.close() - output >DNA ATGGACGAGGACGACAATCCACGAGATGGCAATCGACGGGAAGATGGGGGT ACACCGGGTCCGGTGGCGTGGCTCCCGAGGATGACGTATCCGCCGAGGATA File objects Reading - many paths lead to Rome - script fasta_file = open("testfile.fasta", "r") lines = fasta_file.readlines() for line in lines: print(line, end="") fasta_file.close() 8
9 - output >DNA ATGGACGAGGACGACAATCCACGAGATGGCAATCGACGGGAAGATGGGGGT ACACCGGGTCCGGTGGCGTGGCTCCCGAGGATGACGTATCCGCCGAGGATA File objects Reading - many paths lead to Rome - script fasta_file = open("testfile.fasta", "r") print(fasta_file.read()) fasta_file.close() - output >DNA ATGGACGAGGACGACAATCCACGAGATGGCAATCGACGGGAAGATGGGGGT ACACCGGGTCCGGTGGCGTGGCTCCCGAGGATGACGTATCCGCCGAGGATA File objects Writing To write data to files, a file object is opened in the access mode "w" (see additional information). To write strings to a file object, you can use file.write(string), or file.writelines(list). File objects Writing Example (file): dbsnp.vcf 9
10 #CHROM POS ID REF ALT rs T C,G rs T A,C,G rs C T extendvcffile.py import sys dbsnp_filename = sys.argv[1] output_filename = sys.argv[2] dbsnp_file = open(dbsnp_filename, "r") output_file = open(output_filename, "w") for line in dbsnp_file: split_line = line.rstrip().split("\t") if(split_line[0] == "#CHROM"): output_file.write(line) else: alternative_bases = split_line[4].split(",") for alternative_base in alternative_bases: output_file.write("\t".join(split_line[:4]+... [alternative_base])+"\n") dbsnp_file.close() output_file.close() python3 extendvcffile.py dbsnp.vcf dbsnp.extended.vcf #CHROM POS ID REF ALT rs T C rs T G rs T A rs T C rs T G rs C T 10
11 Additional information Dateiobjekte (file objects) open - Zugriffsmodi (access modes) Modus "r" "w" "a" "x" Datei wird ausschliesslich zum Lesen geöffnet ("read"). Datei wird ausschliesslich zum Schreiben geöffnet. Eine evtl. schon bestehende Datei wird überschrieben ("write"). Datei wird ausschliesslich zum Schreiben geöffnet. Eine evtl. schon bestehende Datei wird erweitert ("append"). Datei wird ausschliesslich zum Schreiben geöffnet, sofern sie nich existiert. Wenn eine Datei gleichen Namens schon existiert, wird eine FileExistsError Exception geworfen. Dateiobjekte Wichtige Methoden Methode read([size]) readline([size]) readlines([sizehint]) Liest size Bytes der Datei ein. Sollte size nicht angegeben sein, wird die gesamte Datei eingelesen. Liest eine Zeile der Datei ein. Durch Angabe von size lässt sich die Anzahl der zu lesenden Bytes begrenzen. Liest alle Zeilen einer Datei ein und gibt sie in Form einer Liste von Strings zurück. Sollte sizehint angegeben sein, wird nur gelesen, bis sizehint Bytes gelesen wurden. Dateiobjekte Wichtige Methoden Methode next() seek(offset, [whence]) tell() Liest die nächste Zeile aus der Datei ein und gibt sie als String zurück. Setzt die aktuelle Schreib-/ Leseposition in der Datei auf offset. Liefert die aktuelle Schreib-/ Leseposition in der Datei. 11
12 Dateiobjekte Wichtige Methoden Methode write(str) writelines(iterable) close() Schreibt den String str in die Datei. Schreibt alle Strings aus iterable in die Datei, getrennt durch newline. Schliesst ein bestehendes Dateiobjekt. 12
13 Spezial- oder Kontrollzeichen Spezialzeichen erfüllen eine spezielle Funktion und werden daher nicht so wiedergegeben, wie sie erscheinen. Sie zeichnen sich üblicherweise dadurch aus, dass sie einen backslash vorangestellt haben. Spezial- oder Kontrollzeichen Zeichen \0 Null Zeichen \a Klingel \b Backspace (Löschen) \t Horizontaler Tab \n Newline \v Vertikaler Tab \f Form Feed (Springe zu nächster Seite) \r Carriage return Spezial, oder Kontroll Zeichen Zeichen \e Escape \" Doppelte Anführungszeichen \ Einfache Anführungszeichen \\ Backslash In : f = open("testfile.fasta", "r") lines = f.readlines() lines[:2] Out: ['>DNA\n', 'ATGGACGAGGACGACAATCCACGAGATGGCAATCGACGGGAAGATGGGGGT\n'] Jede Zeile endet mit einem "newline" Zeichen (\n). 13
14 String- und Listen- Methoden In der Bioinformatik ist man sehr oft mit dem Bearbeiten von Tabellen konfrontiert. Diese sind zumeist in Reintextdateien gespeichert. Die Spalten sind meist durch ein Tab ("\t") getrennt (der Spaltentrenner (separator, "sep") kann jedoch jedes beliebige Zeichen sein). Um Zeilen nach bestimmten Zeichen zu trennen und später wieder zusammenzufügen, gibt es besondere String- bzw. Listenmethoden. Wichtige Stringmethoden Methode string.split(str="") string.rstrip() string.join(list) Trennt einen String string nach einem bestimmten Trennzeichen str und gibt eine Liste von Unterstrings zurück (nämlich genau jene, welche zwischen den Trennzeichen standen). Entfernt alle Leerzeichen (" "), Tabs ("\t") und Zeilenumbrüche ("\n") vom Ende eines Strings string. Verbindet eine Liste von Strings list über ein Trennzeichen string und gibt den konkatenierten String zurück. Wichtige Stringmethoden Methode string.replace(str1, str2) string.upper() string.lower() Sucht nach allen Vorkommen von str1 in string und ersetzt diese durch str2. Konvertiert alle Zeichen in string zu Grossbuchstaben. Konvertiert alle Zeichen in string zu Kleinbuchstaben. 14
Programmieren in Python
% Vorlesung 4: Input/ Output und Filehandling % Matthias Bieg Programmieren in Python Interaktiver Modus Code wird Zeile für Zeile programmiert und direkt ausgeführt Vorteil: Das Verhalten von Codefragmenten
MehrVGM. VGM information. HAMBURG SÜD VGM WEB PORTAL - USER GUIDE June 2016
Overview The Hamburg Süd VGM-Portal is an application which enables to submit VGM information directly to Hamburg Süd via our e-portal web page. You can choose to insert VGM information directly, or download
MehrMitglied der Leibniz-Gemeinschaft
Methods of research into dictionary use: online questionnaires Annette Klosa (Institut für Deutsche Sprache, Mannheim) 5. Arbeitstreffen Netzwerk Internetlexikografie, Leiden, 25./26. März 2013 Content
MehrMATLAB driver for Spectrum boards
MATLAB driver for Spectrum boards User Manual deutsch/english SPECTRUM SYSTEMENTWICKLUNG MICROELECTRONIC GMBH AHRENSFELDER WEG 13-17 22927 GROSSHANSDORF GERMANY TEL.: +49 (0)4102-6956-0 FAX: +49 (0)4102-6956-66
MehrProgrammier-Befehle - Woche 10
Funktionen Rekursion Selbstaufruf einer Funktion Jeder rekursive Funktionsaufruf hat seine eigenen, unabhängigen Variablen und Argumente. Dies kann man sich sehr gut anhand des in der Vorlesung gezeigten
MehrPerlkurs Dateiverarbeitung. Dr. Marc Zapatka Deutsches Krebsforschungszentrum Molekulare Genetik Gruppenleiter Bioinformatik
Perlkurs Dateiverarbeitung Dr. Deutsches Krebsforschungszentrum Gruppenleiter Bioinformatik Umgang mit Dateien in Perl Dateitest- oder Prüfoperatoren um was für eine Art Datei handelt es sich? Durch Verzeichnisse
MehrExercise (Part II) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1
Exercise (Part II) Notes: The exercise is based on Microsoft Dynamics CRM Online. For all screenshots: Copyright Microsoft Corporation. The sign ## is you personal number to be used in all exercises. All
Mehr1. General information... 2 2. Login... 2 3. Home... 3 4. Current applications... 3
User Manual for Marketing Authorisation and Lifecycle Management of Medicines Inhalt: User Manual for Marketing Authorisation and Lifecycle Management of Medicines... 1 1. General information... 2 2. Login...
MehrNEWSLETTER. FileDirector Version 2.5 Novelties. Filing system designer. Filing system in WinClient
Filing system designer FileDirector Version 2.5 Novelties FileDirector offers an easy way to design the filing system in WinClient. The filing system provides an Explorer-like structure in WinClient. The
MehrTop Tipp. Ref. 08.05.23 DE. Verwenden externer Dateiinhalte in Disclaimern. (sowie: Verwenden von Images in RTF Disclaimern)
in Disclaimern (sowie: Verwenden von Images in RTF Disclaimern) Ref. 08.05.23 DE Exclaimer UK +44 (0) 845 050 2300 DE +49 2421 5919572 sales@exclaimer.de Das Problem Wir möchten in unseren Emails Werbung
MehrEinsatz einer Dokumentenverwaltungslösung zur Optimierung der unternehmensübergreifenden Kommunikation
Einsatz einer Dokumentenverwaltungslösung zur Optimierung der unternehmensübergreifenden Kommunikation Eine Betrachtung im Kontext der Ausgliederung von Chrysler Daniel Rheinbay Abstract Betriebliche Informationssysteme
MehrTechnical Support Information No. 123 Revision 2 June 2008
I IA Sensors and Communication - Process Analytics - Karlsruhe, Germany Page 6 of 10 Out Baking Of The MicroSAM Analytical Modules Preparatory Works The pre-adjustments and the following operations are
Mehrp^db=`oj===pìééçêíáåñçêã~íáçå=
p^db=`oj===pìééçêíáåñçêã~íáçå= How to Disable User Account Control (UAC) in Windows Vista You are attempting to install or uninstall ACT! when Windows does not allow you access to needed files or folders.
MehrTIn 1: Feedback Laboratories. Lecture 4 Data transfer. Question: What is the IP? Institut für Embedded Systems. Institut für Embedded Systems
Mitglied der Zürcher Fachhochschule TIn 1: Lecture 4 Data transfer Feedback Laboratories Question: What is the IP? Why do we NEED an IP? Lecture 3: Lernziele Moving data, the why s and wherefores Moving
MehrONLINE LICENCE GENERATOR
Index Introduction... 2 Change language of the User Interface... 3 Menubar... 4 Sold Software... 5 Explanations of the choices:... 5 Call of a licence:... 7 Last query step... 9 Call multiple licenses:...
MehrExercise (Part XI) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1
Exercise (Part XI) Notes: The exercise is based on Microsoft Dynamics CRM Online. For all screenshots: Copyright Microsoft Corporation. The sign ## is you personal number to be used in all exercises. All
MehrROOT Tutorial für HEPHY@CERN. D. Liko
ROOT Tutorial für HEPHY@CERN D. Liko Was ist ROOT? Am CERN entwickeltes Tool zur Analyse von Daten Funktionalität in vielen Bereichen Objekte C++ Skriptsprachen Was kann ROOT Verschiedene Aspekte C++ as
MehrFundamentals of Electrical Engineering 1 Grundlagen der Elektrotechnik 1
Fundamentals of Electrical Engineering 1 Grundlagen der Elektrotechnik 1 Chapter: Operational Amplifiers / Operationsverstärker Michael E. Auer Source of figures: Alexander/Sadiku: Fundamentals of Electric
MehrLevel 2 German, 2013
91126 911260 2SUPERVISOR S Level 2 German, 2013 91126 Demonstrate understanding of a variety of written and / or visual German text(s) on familiar matters 9.30 am Monday 11 November 2013 Credits: Five
Mehrp^db=`oj===pìééçêíáåñçêã~íáçå=
p^db=`oj===pìééçêíáåñçêã~íáçå= Error: "Could not connect to the SQL Server Instance" or "Failed to open a connection to the database." When you attempt to launch ACT! by Sage or ACT by Sage Premium for
MehrIngenics Project Portal
Version: 00; Status: E Seite: 1/6 This document is drawn to show the functions of the project portal developed by Ingenics AG. To use the portal enter the following URL in your Browser: https://projectportal.ingenics.de
MehrPrediction Market, 28th July 2012 Information and Instructions. Prognosemärkte Lehrstuhl für Betriebswirtschaftslehre insbes.
Prediction Market, 28th July 2012 Information and Instructions S. 1 Welcome, and thanks for your participation Sensational prices are waiting for you 1000 Euro in amazon vouchers: The winner has the chance
MehrHIR Method & Tools for Fit Gap analysis
HIR Method & Tools for Fit Gap analysis Based on a Powermax APML example 1 Base for all: The Processes HIR-Method for Template Checks, Fit Gap-Analysis, Change-, Quality- & Risk- Management etc. Main processes
MehrDHBW Stuttgart, Informatik, Advanced SW-Engineering Aug Programmierung
Inhalt Aufbau des Source Codes Dokumentation des Source Codes (Layout) Qualitätskriterien berücksichtigen: Verständlichkeit Namenskonventionen Wartbarkeit: Programmierrichtlinien für erlaubte Konstrukte,
MehrHow-To-Do. Communication to Siemens OPC Server via Ethernet
How-To-Do Communication to Siemens OPC Server via Content 1 General... 2 1.1 Information... 2 1.2 Reference... 2 2 Configuration of the PC Station... 3 2.1 Create a new Project... 3 2.2 Insert the PC Station...
MehrAber genau deshalb möchte ich Ihre Aufmehrsamkeit darauf lenken und Sie dazu animieren, der Eventualität durch geeignete Gegenmaßnahmen zu begegnen.
NetWorker - Allgemein Tip 618, Seite 1/5 Das Desaster Recovery (mmrecov) ist evtl. nicht mehr möglich, wenn der Boostrap Save Set auf einem AFTD Volume auf einem (Data Domain) CIFS Share gespeichert ist!
MehrEffizienz im Vor-Ort-Service
Installation: Anleitung SatWork Integrierte Auftragsabwicklung & -Disposition Februar 2012 Disposition & Auftragsabwicklung Effizienz im Vor-Ort-Service Disclaimer Vertraulichkeit Der Inhalt dieses Dokuments
MehrNVR Mobile Viewer for iphone/ipad/ipod Touch
NVR Mobile Viewer for iphone/ipad/ipod Touch Quick Installation Guide DN-16111 DN-16112 DN16113 2 DN-16111, DN-16112, DN-16113 for Mobile ios Quick Guide Table of Contents Download and Install the App...
MehrCNC ZUR STEUERUNG VON WERKZEUGMASCHINEN (GERMAN EDITION) BY TIM ROHR
(GERMAN EDITION) BY TIM ROHR READ ONLINE AND DOWNLOAD EBOOK : CNC ZUR STEUERUNG VON WERKZEUGMASCHINEN (GERMAN EDITION) BY TIM ROHR PDF Click button to download this ebook READ ONLINE AND DOWNLOAD CNC ZUR
MehrAngewandte IT-Sicherheit
Angewandte IT-Sicherheit Johannes Stüttgen Lehrstuhl für praktische Informatik I 30.11.2010 Lehrstuhl für praktische Informatik I Angewandte IT-Sicherheit 1 / 28 Aufgabe 1 Betrachten sie folgendes Programm:
MehrRestschmutzanalyse Residual Dirt Analysis
Q-App: Restschmutzanalyse Residual Dirt Analysis Differenzwägeapplikation, mit individueller Proben ID Differential weighing application with individual Sample ID Beschreibung Gravimetrische Bestimmung
MehrADD ON 1 MediBalance Pro-Software muss installiert sein. must be installed.
Befundung und Training Test and Training ADD ON 1 MediBalance Pro-Software muss installiert sein. must be installed. Gleichgewicht / Balance Schwindeltraining / vertigo training Koordination / Coordination
MehrLua - Erste Schritte in der Programmierung
Lua - Erste Schritte in der Programmierung Knut Lickert 7. März 2007 Dieser Text zeigt einige einfache Lua-Anweisungen und welchen Effekt sie haben. Weitere Informationen oder eine aktuelle Version dieses
MehrLevel 1 German, 2012
90886 908860 1SUPERVISOR S Level 1 German, 2012 90886 Demonstrate understanding of a variety of German texts on areas of most immediate relevance 9.30 am Tuesday 13 November 2012 Credits: Five Achievement
MehrDIE NEUORGANISATION IM BEREICH DES SGB II AUSWIRKUNGEN AUF DIE ZUSAMMENARBEIT VON BUND LNDERN UND KOMMUNEN
DIE NEUORGANISATION IM BEREICH DES SGB II AUSWIRKUNGEN AUF DIE ZUSAMMENARBEIT VON BUND LNDERN UND KOMMUNEN WWOM537-PDFDNIBDSIAADZVBLUK 106 Page File Size 4,077 KB 16 Feb, 2002 COPYRIGHT 2002, ALL RIGHT
MehrMul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 02 (Nebenfach)
Mul$media im Netz (Online Mul$media) Wintersemester 2014/15 Übung 02 (Nebenfach) Mul=media im Netz WS 2014/15 - Übung 2-1 Organiza$on: Language Mul=ple requests for English Slides Tutorial s=ll held in
MehrHow to use the large-capacity computer Lilli? IMPORTANT: Access only on JKU Campus!! Using Windows:
How to use the large-capacity computer Lilli? IMPORTANT: Access only on JKU Campus!! Using Windows: In order to connect to Lilli you need to install the program PUTTY. The program enables you to create
Mehr39 Object Request Brokers. 40 Components of an ORB. 40.1 Stubs and Skeletons. 40.1.1 Stub
39 Object Request Brokers 40.1 Stubs and s invoke methods at remote objects (objects that run in another JVM) Stub: Proxy for remote object example ORBs: RMI, JavaIDL : Invokes methods at remote object
MehrGeometrie und Bedeutung: Kap 5
: Kap 5 21. November 2011 Übersicht Der Begriff des Vektors Ähnlichkeits Distanzfunktionen für Vektoren Skalarprodukt Eukidische Distanz im R n What are vectors I Domininic: Maryl: Dollar Po Euro Yen 6
MehrHackerpraktikum SS 202
Hackerpraktikum SS 202 Philipp Schwarte, Lars Fischer Universität Siegen April 17, 2012 Philipp Schwarte, Lars Fischer 1/18 Organisation wöchentliche Übung mit Vorlesungsanteil alle zwei Wochen neue Aufgaben
MehrAugust Macke 1887-1914 Abschied, 1914 Museum Ludwig, Köln
August Macke 1887-1914 Abschied, 1914 Museum Ludwig, Köln Ideas for the classroom 1. Introductory activity wer?, was?, wo?, wann?, warum? 2. Look at how people say farewell in German. 3. Look at how people
MehrNachdem Sie die Datei (z.b. t330usbflashupdate.exe) heruntergeladen haben, führen Sie bitte einen Doppelklick mit der linken Maustaste darauf aus:
Deutsch 1.0 Vorbereitung für das Firmwareupdate Vergewissern Sie sich, dass Sie den USB-Treiber für Ihr Gerät installiert haben. Diesen können Sie auf unserer Internetseite unter www.testo.de downloaden.
MehrDie Datenmanipulationssprache SQL
Die Datenmanipulationssprache SQL Daten eingeben Daten ändern Datenbank-Inhalte aus Dateien laden Seite 1 Data Manipulation Language A DML statement is executed when you Add new rows to a table Modify
MehrFAQ - Häufig gestellte Fragen zur PC Software iks AQUASSOFT FAQ Frequently asked questions regarding the software iks AQUASSOFT
FAQ - Häufig gestellte Fragen zur PC Software iks AQUASSOFT FAQ Frequently asked questions regarding the software iks AQUASSOFT Mit welchen Versionen des iks Computers funktioniert AQUASSOFT? An Hand der
MehrEinführung in Python Teil I Grundlagen
Einführung in Python Teil I Grundlagen Valentin Flunkert Institut für Theoretische Physik Technische Universität Berlin Do. 27.5.2010 Nichtlineare Dynamik und Kontrolle SS2010 1 of 22 Diese Einführung
MehrDatabase Management. Prof. Dr. Oliver Günther und Steffan Baron Sommersemester 2002 (I)
HUMBOLDT UNIVERSITÄT ZU BERLIN Wirtschaftswissenschaftliche Fakultät Telefon: (030) 2093-5742 Institut für Wirtschaftsinformatik Telefax: (030) 2093-5741 Spandauer Str. 1 10178 Berlin E-mail: iwi@wiwi.hu-berlin.de
MehrGeneral info on using shopping carts with Ogone
Inhaltsverzeichnisses 1. Disclaimer 2. What is a PSPID? 3. What is an API user? How is it different from other users? 4. What is an operation code? And should I choose "Authorisation" or "Sale"? 5. What
MehrDynamische Programmiersprachen. David Schneider david.schneider@hhu.de STUPS - 25.12.02.50
Dynamische Programmiersprachen David Schneider david.schneider@hhu.de STUPS - 25.12.02.50 Organisatorisches Aufbau: Vorlesung 2 SWS Übung Kurzreferat Projekt Prüfung Übung wöchentliches Aufgabenblatt in
MehrInvitation - Benutzerhandbuch. User Manual. User Manual. I. Deutsch 2. 1. Produktübersicht 2. 1.1. Beschreibung... 2
Invitation - Inhaltsverzeichnis I. Deutsch 2 1. Produktübersicht 2 1.1. Beschreibung......................................... 2 2. Installation und Konfiguration 2 2.1. Installation...........................................
MehrMash-Up Personal Learning Environments. Dr. Hendrik Drachsler
Decision Support for Learners in Mash-Up Personal Learning Environments Dr. Hendrik Drachsler Personal Nowadays Environments Blog Reader More Information Providers Social Bookmarking Various Communities
MehrGraphische Benutzeroberflächen mit Matlab
Graphische Benutzeroberflächen mit Matlab 1 Die Aufgabenstellung Erstellung einer Benutzeroberfläche für das Plotten einer Funktion f(x) im Intervall [a, b]. Bestandteile: 1. Koordinatensystem 2. Editorfelder
MehrCABLE TESTER. Manual DN-14003
CABLE TESTER Manual DN-14003 Note: Please read and learn safety instructions before use or maintain the equipment This cable tester can t test any electrified product. 9V reduplicated battery is used in
MehrKurzinformation Brief information
AGU Planungsgesellschaft mbh Sm@rtLib V4.1 Kurzinformation Brief information Beispielprojekt Example project Sm@rtLib V4.1 Inhaltsverzeichnis Contents 1 Einleitung / Introduction... 3 1.1 Download aus
MehrThere are 10 weeks this summer vacation the weeks beginning: June 23, June 30, July 7, July 14, July 21, Jul 28, Aug 4, Aug 11, Aug 18, Aug 25
Name: AP Deutsch Sommerpaket 2014 The AP German exam is designed to test your language proficiency your ability to use the German language to speak, listen, read and write. All the grammar concepts and
MehrThe number of marks is given in brackets [ ] at the end of each question or part question.
Cambridge International Examinations Cambridge International Advanced Level *0123456789* GERMAN 9717/02 Paper 2 Reading and Writing For Examination from 2015 SPECIMEN PAPER 1 hour 45 minutes Candidates
MehrProgrammentwicklung ohne BlueJ
Objektorientierte Programmierung in - Eine praxisnahe Einführung mit Bluej Programmentwicklung BlueJ 1.0 Ein BlueJ-Projekt Ein BlueJ-Projekt ist der Inhalt eines Verzeichnisses. das Projektname heißt wie
MehrAnleitung zur Schnellinstallation TFM-560X YO.13
Anleitung zur Schnellinstallation TFM-560X YO.13 Table of Contents Deutsch 1 1. Bevor Sie anfangen 1 2. Installation 2 Troubleshooting 6 Version 06.08.2011 1. Bevor Sie anfangen Packungsinhalt ŸTFM-560X
MehrUWC 8801 / 8802 / 8803
Wandbedieneinheit Wall Panel UWC 8801 / 8802 / 8803 Bedienungsanleitung User Manual BDA V130601DE UWC 8801 Wandbedieneinheit Anschluss Vor dem Anschluss ist der UMM 8800 unbedingt auszuschalten. Die Übertragung
MehrETHISCHES ARGUMENTIEREN IN DER SCHULE: GESELLSCHAFTLICHE, PSYCHOLOGISCHE UND PHILOSOPHISCHE GRUNDLAGEN UND DIDAKTISCHE ANSTZE (GERMAN
ETHISCHES ARGUMENTIEREN IN DER SCHULE: GESELLSCHAFTLICHE, PSYCHOLOGISCHE UND PHILOSOPHISCHE GRUNDLAGEN UND DIDAKTISCHE ANSTZE (GERMAN READ ONLINE AND DOWNLOAD EBOOK : ETHISCHES ARGUMENTIEREN IN DER SCHULE:
MehrOO Programmiersprache vs relationales Model. DBIS/Dr. Karsten Tolle
OO Programmiersprache vs relationales Model Vorgehen bisher Erstellen eines ER-Diagramms Übersetzen in das relationale Datenmodell Zugriff auf das relationale Datenmodell aus z.b. Java ER rel. Modell OO
MehrProgrammierkurs Python
Programmierkurs Python Michaela Regneri & Stefan Thater Universität des Saarlandes FR 4.7 Allgemeine Linguistik (Computerlinguistik) Winter 2010/11 Übersicht Dateien Ein- und Ausgabe Mehr zu Strings Einige
MehrDokumentation für Popup (lightbox)
Dokumentation für Popup (lightbox) Für das Popup muss eine kleine Anpassung im wpshopgermany Plugin vorgenommen werden und zwar in der Datei../wp-content/plugins/wpshopgermany/controllers/WarenkorbController.class.php
MehrGetting started with MillPlus IT V530 Winshape
Getting started with MillPlus IT V530 Winshape Table of contents: Deutsche Bedienungshinweise zur MillPlus IT V530 Programmierplatz... 3 English user directions to the MillPlus IT V530 Programming Station...
MehrDAS ZUFRIEDENE GEHIRN: FREI VON DEPRESSIONEN, TRAUMATA, ADHS, SUCHT UND ANGST. MIT DER BRAIN-STATE-TECHNOLOGIE DAS LEBEN AUSBALANCIEREN (GE
DAS ZUFRIEDENE GEHIRN: FREI VON DEPRESSIONEN, TRAUMATA, ADHS, SUCHT UND ANGST. MIT DER BRAIN-STATE-TECHNOLOGIE DAS LEBEN AUSBALANCIEREN (GE READ ONLINE AND DOWNLOAD EBOOK : DAS ZUFRIEDENE GEHIRN: FREI
MehrXML Template Transfer Transfer project templates easily between systems
Transfer project templates easily between systems A PLM Consulting Solution Public The consulting solution XML Template Transfer enables you to easily reuse existing project templates in different PPM
MehrThe process runs automatically and the user is guided through it. Data acquisition and the evaluation are done automatically.
Q-App: UserCal Advanced Benutzerdefinierte Kalibrierroutine mit Auswertung über HTML (Q-Web) User defined calibration routine with evaluation over HTML (Q-Web) Beschreibung Der Workflow hat 2 Ebenen eine
MehrDie Dokumentation kann auf einem angeschlossenen Sartorius Messwertdrucker erfolgen.
Q-App: USP V2 Bestimmung des Arbeitsbereiches von Waagen gem. USP Kapitel 41. Determination of the operating range of balances acc. USP Chapter 41. Beschreibung Diese Q-App ist zur Bestimmung des Arbeitsbereiches
MehrHazards and measures against hazards by implementation of safe pneumatic circuits
Application of EN ISO 13849-1 in electro-pneumatic control systems Hazards and measures against hazards by implementation of safe pneumatic circuits These examples of switching circuits are offered free
Mehri Korrekturlauf mit Acrobat Reader - Correction workflow using Acrobat Reader i.1 Vorbereitung / Preparations
IPPS UND RICKS KORREKURLAUF MI ACROBA READER - CORRECION WORKFLOW USING ACROBA READER i Korrekturlauf mit Acrobat Reader - Correction workflow using Acrobat Reader i.1 Vorbereitung / Preparations VOREINSELLUNGEN
Mehr2 German sentence: write your English translation before looking at p. 3
page Edward Martin, Institut für Anglistik, Universität Koblenz-Landau, Campus Koblenz 2 German sentence: write your English translation before looking at p. 3 3 German sentence analysed in colour coding;
MehrRelease Notes BRICKware 7.5.4. Copyright 23. March 2010 Funkwerk Enterprise Communications GmbH Version 1.0
Release Notes BRICKware 7.5.4 Copyright 23. March 2010 Funkwerk Enterprise Communications GmbH Version 1.0 Purpose This document describes new features, changes, and solved problems of BRICKware 7.5.4.
MehrBA63 Zeichensätze/ Character sets
BA63 Zeichensätze/ Character sets Anhang/ Appendix We would like to know your opinion on this publication. Ihre Meinung/ Your opinion: Please send us a copy of this page if you have any contructive criticism.
MehrAlgorithms for graph visualization
Algorithms for graph visualization Project - Orthogonal Grid Layout with Small Area W INTER SEMESTER 2013/2014 Martin No llenburg KIT Universita t des Landes Baden-Wu rttemberg und nationales Forschungszentrum
MehrProzedurale Datenbank- Anwendungsprogrammierung
Idee: Erweiterung von SQL um Komponenten von prozeduralen Sprachen (Sequenz, bedingte Ausführung, Schleife) Bezeichnung: Prozedurale SQL-Erweiterung. In Oracle: PL/SQL, in Microsoft SQL Server: T-SQL.
MehrMeeting and TASK TOOL. Bedienungsanleitung / Manual. 2010 IQxperts GmbH. Alle Rechte vorbehalten.
2010 IQxperts GmbH. Alle Rechte vorbehalten. Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche
MehrEmployment and Salary Verification in the Internet (PA-PA-US)
Employment and Salary Verification in the Internet (PA-PA-US) HELP.PYUS Release 4.6C Employment and Salary Verification in the Internet (PA-PA-US SAP AG Copyright Copyright 2001 SAP AG. Alle Rechte vorbehalten.
MehrDATA ANALYSIS AND REPRESENTATION FOR SOFTWARE SYSTEMS
DATA ANALYSIS AND REPRESENTATION FOR SOFTWARE SYSTEMS Master Seminar Empirical Software Engineering Anuradha Ganapathi Rathnachalam Institut für Informatik Software & Systems Engineering Agenda Introduction
MehrLehrstuhl für Allgemeine BWL Strategisches und Internationales Management Prof. Dr. Mike Geppert Carl-Zeiß-Str. 3 07743 Jena
Lehrstuhl für Allgemeine BWL Strategisches und Internationales Management Prof. Dr. Mike Geppert Carl-Zeiß-Str. 3 07743 Jena http://www.im.uni-jena.de Contents I. Learning Objectives II. III. IV. Recap
Mehr<body> <h1>testseite für HTML-Parameter-Übergabe<br>50 Parameter werden übergeben</h1>
Demo-Programme Parameterübergabe an PHP Testseite für HTML-Parameter-Übergabe (Datei get_param_test.html) testseite für
MehrApplication Example. AC500 Scalable PLC for Individual Automation. PM583-ETH V2.1 Send Email Via SMTP. abb
Application Example AC500 Scalable PLC for Individual Automation PM583-ETH V2.1 Send Email Via SMTP abb Content 1 Disclaimer...2 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz außerhalb
MehrNetzwerksicherheit Musterlösung Übungsblatt 4: Viren
Institut für Informatik Alina Barendt und Philipp Hagemeister Netzwerksicherheit Musterlösung Übungsblatt 4: Viren 1 Vorbereitung msg db "Virus" mov ah, 40h mov bx, 1 mov cx, $5 mov dx, msg int 21h ; Write
MehrInstallation MySQL Replikationsserver 5.6.12
Ergänzen Konfigurationsdatei my.ini auf Master-Server:!!! softgate gmbh!!! Master und Slave binary logging format - mixed recommended binlog_format = ROW Enabling this option causes the master to write
MehrExtracting Business Rules from PL/SQL-Code
Extracting Business Rules from PL/SQL-Code Version 7, 13.07.03 Michael Rabben Knowledge Engineer Semantec GmbH, Germany Why? Where are the business rules? Business Rules are already hidden as logic in
MehrParameter-Updatesoftware PF-12 Plus
Parameter-Updatesoftware PF-12 Plus Mai / May 2015 Inhalt 1. Durchführung des Parameter-Updates... 2 2. Kontakt... 6 Content 1. Performance of the parameter-update... 4 2. Contact... 6 1. Durchführung
MehrFensterHai. - Integration von eigenen Modulen -
FensterHai - Integration von eigenen Modulen - Autor: Erik Adameit Email: erik.adameit@i-tribe.de Datum: 09.04.2015 1 Inhalt 1. Übersicht... 3 2. Integration des Sourcecodes des Moduls... 3 2.1 Einschränkungen...
MehrHör auf zu ziehen! Erziehungsleine Training Leash
Hör auf zu ziehen! Erziehungsleine Training Leash 1 2 3 4 5 6 7 Erziehungsleine Hör auf zu ziehen Ihr Hund zieht an der Leine, und Sie können ihm dieses Verhalten einfach nicht abgewöhnen? Die Erziehungsleine
MehrReadMe zur Installation der BRICKware for Windows, Version 6.1.2. ReadMe on Installing BRICKware for Windows, Version 6.1.2
ReadMe zur Installation der BRICKware for Windows, Version 6.1.2 Seiten 2-4 ReadMe on Installing BRICKware for Windows, Version 6.1.2 Pages 5/6 BRICKware for Windows ReadMe 1 1 BRICKware for Windows, Version
MehrIntegration of Subsystems in PROFINET. Generation of downloadable objects
Sibas PN Integration of Subsystems in PROFINET Generation of downloadable objects First version: As at: Document version: Document ID: November 19, 2009 January 18, 2010 0.2 No. of pages: 7 A2B00073919K
MehrSELF-STUDY DIARY (or Lerntagebuch) GER102
SELF-STUDY DIARY (or Lerntagebuch) GER102 This diary has several aims: To show evidence of your independent work by using an electronic Portfolio (i.e. the Mahara e-portfolio) To motivate you to work regularly
MehrJ RG IMMENDORFF STANDORT F R KRITIK MALEREI UND INSPIRATION ERSCHEINT ZUR AUSSTELLUNG IM MUSEUM LU
J RG IMMENDORFF STANDORT F R KRITIK MALEREI UND INSPIRATION ERSCHEINT ZUR AUSSTELLUNG IM MUSEUM LU 8 Feb, 2016 JRISFRKMUIEZAIMLAPOM-PDF33-0 File 4,455 KB 96 Page If you want to possess a one-stop search
Mehr6 Ein- und Ausgabe. Bisher war unsere (Bildschirm-) Ausgabe leichtflüchtig (
6 Ein- und Ausgabe Bisher war unsere (Bildschirm-) Ausgabe leichtflüchtig ( Drucken war hoffnungslos übertrieben); heute lernen wir, wie wir die Ergebnisse unserer Programme abspeichern können, um sie
MehrInformationslogistik Unit 1: Introduction
Informationslogistik Unit 1: Introduction 18. II. 2014 Eine Frage zum Einstieg Eine Frage Wie stellen Sie sich Ihren Arbeitsalltag als LogistikerIn vor? Eine Frage zum Einstieg Eine Frage Wie stellen Sie
MehrUnterspezifikation in der Semantik Hole Semantics
in der Semantik Hole Semantics Laura Heinrich-Heine-Universität Düsseldorf Wintersemester 2011/2012 Idee (1) Reyle s approach was developed for DRT. Hole Semantics extends this to any logic. Distinction
MehrHow to create a Gift Certificate Wie man ein Gift Certificate (Gutschein) erstellt
1) Login www.lopoca.com Username, Password 2) Click My Finances Gift Certificates Summary: Overview of your Gift Certificates Übersicht Ihrer Gift Certificates Create new: Create new Gift Certificate Neues
MehrAbteilung Internationales CampusCenter
Abteilung Internationales CampusCenter Instructions for the STiNE Online Enrollment Application for Exchange Students 1. Please go to www.uni-hamburg.de/online-bewerbung and click on Bewerberaccount anlegen
MehrThemen des Kapitels. 2 Grundlagen von PL/SQL. PL/SQL Blöcke Kommentare Bezeichner Variablen Operatoren. 2.1 Übersicht. Grundelemente von PL/SQL.
2 Grundlagen von PL/SQL Grundelemente von PL/SQL. 2.1 Übersicht Themen des Kapitels Grundlagen von PL/SQL Themen des Kapitels PL/SQL Blöcke Kommentare Bezeichner Variablen Operatoren Im Kapitel Grundlagen
MehrInformatik I. Informatik I. 6.1 Programme. 6.2 Programme schreiben. 6.3 Programme starten. 6.4 Programme entwickeln. 6.1 Programme.
Informatik I 05. November 2013 6. Python-, kommentieren, starten und entwickeln Informatik I 6. Python-, kommentieren, starten und entwickeln Bernhard Nebel Albert-Ludwigs-Universität Freiburg 05. November
MehrExercise (Part I) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1
Exercise (Part I) Notes: The exercise is based on Microsoft Dynamics CRM Online. For all screenshots: Copyright Microsoft Corporation. The sign ## is you personal number to be used in all exercises. All
Mehrwww.infoplc.net AC500 Application Example Scalable PLC for Individual Automation AC500-eCo Modbus TCP/IP Data Exchange between two AC500-eCo CPUs
Application Example AC500 Scalable PLC for Individual Automation AC500-eCo Modbus TCP/IP Data Exchange between two AC500-eCo CPUs Content 1 Disclaimer...2 1.1 For customers domiciled outside Germany /
MehrHow-To-Do. Hardware Configuration of the CC03 via SIMATIC Manager from Siemens
How-To-Do Hardware Configuration of the CC03 via SIMATIC Manager from Siemens Content Hardware Configuration of the CC03 via SIMATIC Manager from Siemens... 1 1 General... 2 1.1 Information... 2 1.2 Reference...
Mehr