Advance Python for Data Science

Total Page:16

File Type:pdf, Size:1020Kb

Advance Python for Data Science CSIT Advance Python for Data Science A.Andrew Bergeran M.Sc.,B.Ed.,M.B.A [email protected] 9444473301 1 Table of Contents Index Description Page. No Python Introduction Chapter 1 Python Environment 3 Technology Specifications Chapter 2 Python Data Types 14 Chapter 3 Decision Making and Loops 18 Chapter 4 String, Tuples, Sets, Dictionaries 20 Functions Chapter 5 27 ZIP, MAP, Filter, Lambda Chapter 6 File Handling and Exception Handling 31 Chapter 7 Object Oriented Programming 33 Chapter 8 Regular Expression 34 Chapter 9 CGI – Common Gateway Interface 38 Chapter 10 SQLite DB , JSON 40 Data Science Chapter 11 Pandas - Data structures and analysis 43 Chapter 12 NumPy - Numerical Computing 45 Matplotlib - 2D/3D plotting Chapter 13 46 Excel - Data Visualization Chapter 14 SciPy - Scientific Computing 51 Chapter 15 SymPy - Symbolic mathematics 52 Chapter 16 SciKit - Machine Learning 53 Beautiful Soup - HTML/XML Parser Chapter 17 56 Web Scraping 2 Introduction Chapter 1 Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python‟s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. Developed by Guido van Rossum. The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, https://www.python.org and may be freely distributed. The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications. Python is a general purpose Interpreted programming language that is often applied in scripting roles. So Python is language as well as scripting. Python is a readable , dynamic, pleasant, flexible, fast, and powerful language. Multi-Purpose ( Web, GUI, Scripting, etc. ). Python is a Platform Independent Language. Open Source. OOP Python is widely used in Artificial Intelligence, Machine Learning; Data Analytics Python has very powerful statistical and visualization libraries. Python has efficient for high-level Data Structures and Data Science. 3 History Chapter 1 Invented in the Netherlands, early 90s by Guido van Rossum. Python was conceived in the late 1980s and its implementation was started in December 1989 . Rossum is fan of „Monty Python‟s Flying Circus‟, this is a famous TV show in Netherlands, Named after Monty Python. Python 1.0 releases in 1994 1.x Python 2.0 releases in 2000 2.x Python 3.0 releases in 2008 3.x Python 3.5 releases in 2015 Python Features Interpreted Language - Interpreter reads the source code of the program, line by line, parses the source code, and interprets the instructions. Python Interpreters are available for many operating systems. Object-oriented programming language. Python is an open source scripting language. Large standard libraries to solve common tasks. Cross Platform Language. Python provides no braces to indicate blocks of code for class and function definitions or flow control. Blocks of code are denoted by line indentation. Python has a very simple and elegant syntax. It's much easier to read and write Python programs compared to other languages like: C++, Java, C#. Interpreted, Object Oriented, Open Source, Cross Platform, Line Indentation Large Standard Libraries, Very simple and Elegant Syntax, Automatic memory management, Support third party utilities, Mixable 4 Scope Chapter 1 • Scientific and Numeric • System Programming • Web Applications • Testing Scripts • Graphical User Interface Programming • Component Integration • Database Application • Network Programming • Game Development Users of Python Google –Web Spider and Search Engine NASA – Scientific Calculations Intel, Cisco, Hewlett-Packard, Seagate, IBM use python for hardware testing ESRI – Environmental Systems Research Institute GIS – Geographic information systems mapping products You Tube – Video Sharing Research Scalars Statistics Projects Data Scientists 5 Compiling and Interpreting Chapter 1 Many languages require compiling your program into a form that the machine understands. Compiled Program is executed. Python is instead directly interpreted into machine instructions. Interpreter executes the program directly without Compile Python Interpreter The Python code we write must always be run by the Interpreter. (Source code can execute instructions directly) Source code is translated to byte code, which is then run by the Python Virtual Machine. Your Code is Automatically Compiled Compilation is a translation step, and the byte code is a low-level platform- independent. Note that the Python byte code is not binary machine code. 6 Installation & Configuration Chapter 1 Software Requirements: Key Points • OS : Windows 7 Service Pack1 / Windows 8/ 10 • Python 3.6.2 (Optional IDE) • JDK 1.7 • NetBeans IDE 8.0.2 • Python Plugins for NetBeans 8.0 • Install IIS and configure CGI • DB Browser for SQLite Run the downloaded file Python 3.6.2. This brings up the Python install wizard, just accept the default settings, and wait until the install is finished. IDLE - Integrated Development and Learning Environment Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) Go to https://www.python.org/downloads/ 7 Installation & Configuration Chapter 1 IDLE - Integrated Development and Learning Environment 8 Chapter 1 Python Environment Mode Python Interpreter can be used in Interactive Mode and Scripting mode. Interactive Mode: Quickly interact with python on a Command Line Interface. Scripting mode: Write multiple line coding to be save & execute as a program. Python script source code in a file with the .py extension. 9 Integrated Development Environments for Python Chapter 1 • Atom, an open source cross-platform IDE with autocomplete. • Eclipse with the Pydev plug-in. • Eric an IDE for Python and Ruby. • Koding a free online development environment. • IDE an IDE for Python, Perl, PHP and Ruby. Komodo • NetBeans is written in Java and runs everywhere where a JVM is installed. • PIDA open source IDE. • PyCharm, a proprietary and Open Source IDE. • PyScripter Free and open-source software Python IDE. • Python Tools for Visual Studio Free and open-source plug-in for Visual Studio. Python Standard Library Numeric and Mathematical Modules numbers,math,cmath,decimal, fractions,random,statistics File and Directory Access pathlib, os.path, fileinput, filecmp Data Persistence sqlite3, pickle Data Compression and Archiving zlib, gzip, bz2, zipfile, tarfile File Formats csv Cryptographic Services hashlib, hmac, secrets 10 Operating System Services Chapter 1 os,io,time Concurrent Execution threading Networking socket,ssl Internet Data Handling email,json,base64 Structured Markup Processing Tools html, xml.dom Internet Protocols cgi,urllib,http https://docs.python.org/3/library/ Python Libraries for Data Science Numerical libraries - NumPy, SciPy, SymPy NumPy = Numerical Python (Array Package) advance math functionalities SciPy = Scientific Python. It is a library of algorithms and mathematical tool SymPy = Symbolic Mathematics. (algebraic evaluation, complex numbers ) 11 Mathematical libraries - Matplotlib, NumPy, SymPy Chapter 1 Matplotlib = powerful visualizations (2d Plotting). Data Structure and Analysis - Pandas Pandas = data manipulation, aggregation, and visualization. Scientific Computing - SciPy, Scikit SciPy, Scikit-learn (Machine Learning) Web Scraping BeautifulSoup - xml and html parsing library Scrapy - Scrapy is a library for making crawling programs NLTK - Natural Language Toolkit, (Linguistics, Cognitive Science, Artificial Intelligence) Graphics Frameworks Panda3d, PyGame UI Frameworks PyGTK, PyQt,Tkinter pip Package Manager pip, a package manager used to install and manage Python software packages pip install <Package Name> pip list # displays the list of currently installed modules pip uninstall <Package Name> umpy (1.14.0) bs4 (0.0.1) pip (9.0.1) pyexcel (0.5.7) Goto Command Prompt pyexcel-io (0.5.6) pyexcel-xls (0.5.5) C:\Users\Admin>cd\ requests (2.18.4) setuptools (28.8.0) C:\>cd Python simplejson (3.13.2) urllib3 (1.22) C:\Python>cd Scripts xlrd (1.1.0) XlsxWriter (1.0.2) C:\Python\Scripts> pip list xlwt (1.3.0) beautifulsoup4 (4.6.0) 12 Chapter 1 Python Keywords Keywords are the reserved words in Python. We cannot use a keyword as variable name, function name or any other identifier. They are used to define the syntax and structure of the Python language. Keywords are case sensitive. Each keyword have a special meaning and a specific operation. There are 33 keywords in Python 3.6.4 >>> import keyword >>> keyword.kwlist [import, as , from, and, or, not, True, False, None, if else, elif, for, in, while, with, break, continue, class def, pass, return ,del, global, try, except, finally, raise lambda, nonlocal, is, assert, yield] #this is a comment //Single Line Comment. #is treated as a comment. """This is // Multi line Comment Multi-line comments""" Python Simple Programs print ("Hello World") a=5 b=5 c=a+b print ("Ans: ",c) Runtime Input from console a=input("Enter A :") print (a) 13 Python Data Types: Chapter 2 Numbers, Strings, Tuple, Set, List, Dictionaries Python data types are different in some aspects from other programming languages. Python interpreter can determine which type of data are storing, so no need to define the data type of memory location. There are many native (built-in) data types available in Python. Numbers: int, float, Long, Complex Literals: Any number or a string value. Literals can be defined as a data that is given in a variable or constant. Variables Variable is a name which is used to refer memory location. A user defined container that can hold a literal value. The equal sign (=) is used to assign values to variables. a = 10 //Int b = 15.20 //float c = "Python" //String print (a) 1. Assigning single value to multiple variables x=y=z=50 2. Assigning multiple values to multiple variables: a, b, c=5,10,15 Identifiers Identifier is the name given to entities like class, object, functions, and variables.
Recommended publications
  • Instruction Manual Model 34988NI-SL
    Instruction Manual (Original Instructions) Model 34988NI-SL Recover, Recycle, Recharge Machine for R-134a A/C Systems ROBINAIR.COM 800.533.6127 (en-US) Description: Recover, recycle, and recharge machine for use with R-134a equipped air conditioning systems. PRODUCT INFORMATION Record the serial number and year of manufacture of this unit for future reference. Refer to the product identification label on the unit for information. Serial Number: _______________________________Year of Manufacture: ____________ DISCLAIMER: Information, illustrations, and specifications contained in this manual are based on the latest information available at the time of publication. The right is reserved to make changes at any time without obligation to notify any person or organization of such revisions or changes. Further, ROBINAIR shall not be liable for errors contained herein or for incidental or consequential damages (including lost profits) in connection with the furnishing, performance, or use of this material. If necessary, obtain additional health and safety information from the appropriate government agencies, and the vehicle, refrigerant, and lubricant manufacturers. Table of Contents Safety Precautions . 2 Maintenance . 26 Explanation of Safety Signal Words . 2 Maintenance Schedule. 26 Explanation of Safety Decals. 2 Load Language. 27 Protective Devices. 4 Adjust Background Fill Target. 28 Refrigerant Tank Test. 4 Tank Fill. 28 Filter Maintenance. 29 Introduction . 5 Check Remaining Filter Capacity. 29 Technical Specifications . 5 Replace the Filter. 30 Features . 6 Calibration Check . 31 Control Panel Functions . 8 Change Vacuum Pump Oil . 32 Icon Legend. 9 Leak Check. 33 Setup Menu Functions. 10 Edit Print Header. 34 Initial Setup . 11 Replace Printer Paper. 34 Unpack the Machine.
    [Show full text]
  • Ejercicios Resueltos En Pascal Que Parten Del Nivel Más Básico Hasta Llegar a Estructuras De Datos Más Complejas
    Ejercicios de Pascal METODOLOGÍA DE LA PROGRAMACIÓN. Programación en Pascal El objetivo de este documento es proveer de una gran batería de ejercicios resueltos en Pascal que parten del nivel más básico hasta llegar a estructuras de datos más complejas. ☺Escribir un programa en Pascal que sume dos números: a = 4 b = 3 PROGRAM EJER01; {Autor: Victor Sanchez Sanchez email: [email protected]} var a,b,c:INTEGER; BEGIN {Empezamos con lo básico, un programa que escribe la suma de 2 numeros en pantalla} a:=4; b:=3; {Se asigna un valor cualquiera a las variables "a" y "b"} c:=a+b; WRITE (c); {Muestra en pantalla el valor de la suma} END. PROGRAM EJER1B; {Autor: Victor Sanchez Sanchez email: [email protected]} USES CRT; VAR a,b,c:INTEGER; BEGIN ClrScr; WRITELN ('Este programa suma dos numeros:'); WRITELN (' '); WRITE ('Introduzca un numero: '); READLN (a); WRITE ('Introduzca otro numero: ' ); READLN (b); WRITELN (' '); c:=a+b; WRITE ('EL RESULTADO ES: '); WRITE (c); END. PROGRAM EJER01; var a,b,c:INTEGER; BEGIN a:=4; b:=3; c:=a+b; WRITE(c); END. 1 Ejercicios de Pascal ☺Escribir un programa en Pascal que sume, reste, multiplique y divida dos números: x = 10 y = 2 PROGRAM EJER02; {Autor: Victor Sanchez Sanchez email: [email protected]} USES CRT; {Nos va a permitir limpiar la pantalla junto con ClrScr} VAR x,y:INTEGER; VAR suma,rest,mult,divi:INTEGER; BEGIN x:=10; y:=2; suma:=x + y; rest:=x - y; mult:=x * y; divi:=x div y; {Con estas 4 variables realizamos las cuatro operaciones aritméticas fundamentales: suma, resta, multiplicación y división} ClrScr; {Limpia la pantalla} WRITE ('SUMA:'); WRITELN (suma); WRITE ('RESTA:'); WRITELN (rest); WRITE ('MULTIPLICACION:'); WRITELN (mult); WRITE ('DIVISION:'); WRITE (divi); END.
    [Show full text]
  • 4.6.X Branch That Affect Python 2 Users
    pytest Documentation Release 4.6 holger krekel, trainer and consultant, http://merlinux.eu Nov 25, 2020 Contents 1 Installation and Getting Started3 1.1 Install pytest ..............................................3 1.2 Create your first test...........................................3 1.3 Run multiple tests............................................4 1.4 Assert that a certain exception is raised.................................4 1.5 Group multiple tests in a class......................................5 1.6 Request a unique temporary directory for functional tests........................5 1.7 Continue reading.............................................6 2 Usage and Invocations 7 2.1 Calling pytest through python -m pytest .............................7 2.2 Possible exit codes............................................7 2.3 Getting help on version, option names, environment variables.....................7 2.4 Stopping after the first (or N) failures..................................8 2.5 Specifying tests / selecting tests.....................................8 2.6 Modifying Python traceback printing..................................9 2.7 Detailed summary report.........................................9 2.8 Dropping to PDB (Python Debugger) on failures............................ 12 2.9 Dropping to PDB (Python Debugger) at the start of a test........................ 12 2.10 Setting breakpoints............................................ 12 2.11 Using the builtin breakpoint function.................................. 13 2.12 Profiling test
    [Show full text]
  • Pygtk GUI Programming Pygtk GUI Programming Table of Contents Pygtk GUI Programming
    PyGTK GUI programming PyGTK GUI programming Table of Contents PyGTK GUI programming...............................................................................................................................1 Chapter 1. Introduzione....................................................................................................................................2 1.1. Primo approccio...............................................................................................................................2 1.2. Il toolkit PyGTK..............................................................................................................................2 1.3. PyGTK e Glade................................................................................................................................2 1.4. IDE o editor......................................................................................................................................4 1.5. Installazione.....................................................................................................................................6 1.5.1. Installazione su piattaforma GNU/Linux...............................................................................6 1.5.2. Installazione su piattaforma Windows...................................................................................6 1.6. Supporto e help................................................................................................................................6 Chapter 2. I Widget, le classi ed un
    [Show full text]
  • Pygtk 2.0 Tutorial
    PyGTK 2.0 Tutorial John Finlay October 7, 2012 PyGTK 2.0 Tutorial by John Finlay Published March 2, 2006 ii Contents 1 Introduction 1 1.1 Exploring PyGTK . .2 2 Getting Started 5 2.1 Hello World in PyGTK . .7 2.2 Theory of Signals and Callbacks . .9 2.3 Events . 10 2.4 Stepping Through Hello World . 11 3 Moving On 15 3.1 More on Signal Handlers . 15 3.2 An Upgraded Hello World . 15 4 Packing Widgets 19 4.1 Theory of Packing Boxes . 19 4.2 Details of Boxes . 20 4.3 Packing Demonstration Program . 22 4.4 Packing Using Tables . 27 4.5 Table Packing Example . 28 5 Widget Overview 31 5.1 Widget Hierarchy . 31 5.2 Widgets Without Windows . 34 6 The Button Widget 35 6.1 Normal Buttons . 35 6.2 Toggle Buttons . 38 6.3 Check Buttons . 40 6.4 Radio Buttons . 42 7 Adjustments 45 7.1 Creating an Adjustment . 45 7.2 Using Adjustments the Easy Way . 45 7.3 Adjustment Internals . 46 8 Range Widgets 49 8.1 Scrollbar Widgets . 49 8.2 Scale Widgets . 49 8.2.1 Creating a Scale Widget . 49 8.2.2 Methods and Signals (well, methods, at least) . 50 8.3 Common Range Methods . 50 8.3.1 Setting the Update Policy . 50 8.3.2 Getting and Setting Adjustments . 51 8.4 Key and Mouse Bindings . 51 8.5 Range Widget Example . 51 9 Miscellaneous Widgets 57 9.1 Labels . 57 9.2 Arrows . 60 9.3 The Tooltips Object .
    [Show full text]
  • Create User Interfaces with Glade 9/29/09 7:18 AM
    Create User Interfaces with Glade 9/29/09 7:18 AM Home Topics Community Forums Magazine Shop Buyer's Guide Archive CD Search Home Create User Interfaces with Glade Subscribe Renew Free Issue Customer service July 1st, 2001 by Mitch Chapman in Software Mitch shows how to use gnome-python's libglade binding to build Python-based GUI applications with little manual coding. Digg submit Average: Your rating: None Average: 2.3 (3 votes) Glade is a GUI builder for the Gtk+ toolkit. Glade makes it easy to create user interfaces interactively, and it can generate source code for those interfaces as well as stubs for user interface callbacks. The libglade library allows programs to instantiate widget hierarchies defined in Glade project files easily. It includes a way to bind callbacks named in the project file to program-supplied callback routines. The Latest James Henstridge maintains both libglade and the gnome-python package, which is a Python binding to the Gtk+ toolkit, the GNOME user interface libraries and libglade itself. Using libglade Without Free Software, Open Source Would Lose Sep-28- binding to build Python-based GUI applications can provide significant savings in development and its Meaning 09 maintenance costs. Sep-25- Flip Flops Are Evil 09 All code examples in this article have been developed using Glade 0.5.11, gnome-python 1.0.53 Sep-24- and Python 2.1b1 running on Mandrake Linux 7.2. The Linux Desktop - The View from LinuxCon 09 Running Glade Sep-24- Create Image Galleries With Konqueror 09 When launched, Glade displays three top-level windows (see Figure 1).
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • Front Matter Template
    Copyright by Marcelo Arturo Somos Valenzuela 2014 The Dissertation Committee for Marcelo Arturo Somos Valenzuela Certifies that this is the approved version of the following dissertation: Vulnerability and Decision Risk Analysis in Glacier Lake Outburst Floods (GLOF). Case Studies: Quillcay Sub Basin in the Cordillera Blanca in Peru and Dudh Koshi Sub Basin in the Everest Region in Nepal Committee: Daene C. McKinney, Supervisor David R. Maidment Ben R. Hodges Ginny A. Catania Randall J. Charbeneau Vulnerability and Decision Risk Analysis in Glacier Lake Outburst Floods (GLOF). Case Studies: Quillcay Sub Basin in the Cordillera Blanca in Peru and Dudh Koshi Sub Basin in the Everest Region in Nepal by Marcelo Arturo Somos Valenzuela, B.S; M.S.E. DISSERTATION Presented to the Faculty of the Graduate School of The University of Texas at Austin in Partial Fulfillment of the Requirements for the Degree of DOCTOR OF PHILOSOPHY THE UNIVERSITY OF TEXAS AT AUSTIN AUGUST, 2014 Dedication To my mother Marina Victoria Valenzuela Reyes for showing me that I could always achieve a little more. A mi madre Marina Victoria Valenzuela Reyes por mostrarme que siempre podia lograr un poco mas. Acknowledgements There are many people to whom I want to thank for this achievement. I start with my children Sebastian and Antonia for their patience and unconditional love despite the difficult times we have experienced in the last 5 years, I hope that someday this achievement will lead to better opportunities for you and justify to be apart for all these years. Thank to my fiancée, Stephanie, for her love, for her tenacity and intelligence that inspire me, but most of all for giving me our beautiful son Julian whose smile makes us happy every day.
    [Show full text]
  • Geanypy Documentation Release 1.0
    GeanyPy Documentation Release 1.0 Matthew Brush <[email protected]> February 17, 2017 Contents 1 Introduction 3 2 Installation 5 2.1 Getting the Source............................................5 2.2 Dependencies and where to get them..................................5 2.3 And finally ... installing GeanyPy....................................7 3 Getting Started 9 3.1 What the heck is GeanyPy, really?....................................9 3.2 Python Console..............................................9 3.3 Future Plans............................................... 10 4 Writing a Plugin - Quick Start Guide 11 4.1 The Plugin Interface........................................... 11 4.2 Real-world Example........................................... 12 4.3 Logging.................................................. 13 5 API Documentation 15 5.1 The app module............................................. 15 5.2 The dialogs module.......................................... 16 5.3 The document module......................................... 17 5.4 The geany package and module.................................... 19 6 Indices and tables 21 Python Module Index 23 i ii GeanyPy Documentation, Release 1.0 Contents: Contents 1 GeanyPy Documentation, Release 1.0 2 Contents CHAPTER 1 Introduction GeanyPy allows people to write their Geany plugins in Python making authoring a plugin much more accessible to non C programmers. What follows is a description of installing and using the GeanyPy plugin, paving the way for the rest of the documentation to covert the details of programming with the GeanyPy bindings of the Geany API. 3 GeanyPy Documentation, Release 1.0 4 Chapter 1. Introduction CHAPTER 2 Installation Currently there are no binary packages available for installing GeanyPy so it must be installed from source. The following instructions will describe how to do this. Getting the Source The best way currently to get GeanyPy is to check it out from it’s repository on GitHub.com.
    [Show full text]
  • (Iowa City, Iowa), 1955-04-05
    .' 1,200 (au nty~~'c ~· h~i ~1 ~_re~' A_" M~a~y! ---:·G~e~t ~P_e_1 i.o--':---Sh-----"---o_fs IfCommiHee The Weather S U~htl, cooler, eo .....er­ OK's able elolld1Mss ioda,. au Resulls toDlehL Rich Wa, •• ~ 45. Low 3Z to II. Putl, "loud, aDd mild WHD,.· Of '54 Tesls OWQ·n day. 1868 - lease~ Tuesday, April By DON McQUILLEN Est. AP Wire. Wirephoto - Five Cents Iowa City. Iowa. 5, 1955 A'bout 1,200 Johnson eounty children In the first and second S I 'u -, .~ . ,, ~ l i A t l-~ I: 1i m.. -:I, I!l f ~fi.f1:~~t§~Mn~ ays ' owa · (lion '-i;Ol1!lpe,;es I v~; lI ; H " \1!!; ~lr ' ~ Atfis 'aurants proved by the polio evaluation The Iowa City Restaurant as- - ------------ committee, Ann Arbor, Mich. soclation Monday accused the ThQ Union, he charged, has things which make the Union a trying to gd a bill inu'oduced lions or the slate, voted not to with the intention or bringing dghts. The Junior Chamber at Announcement of the plans Iowa Memorial Union for what violated the lows which control competitive body," he claimed. in~o the leigslature which would endorse the bill, Albaugh said. Iowa City restaurant ownerS Commerce ha~, in the past, sold W3! made Monday by Dr. an association spokesman termed it. "It Is a known tact tnnt they Frnnk Albau¥h, president of a. k fOI' nn enforc ment of the "We are a comparatively new closer together so the y could box lunches at sam e football Franklin H.
    [Show full text]
  • Debian and Ubuntu
    Debian and Ubuntu Lucas Nussbaum lucas@{debian.org,ubuntu.com} lucas@{debian.org,ubuntu.com} Debian and Ubuntu 1 / 28 Why I am qualified to give this talk Debian Developer and Ubuntu Developer since 2006 Involved in improving collaboration between both projects Developed/Initiated : Multidistrotools, ubuntu usertag on the BTS, improvements to the merge process, Ubuntu box on the PTS, Ubuntu column on DDPO, . Attended Debconf and UDS Friends in both communities lucas@{debian.org,ubuntu.com} Debian and Ubuntu 2 / 28 What’s in this talk ? Ubuntu development process, and how it relates to Debian Discussion of the current state of affairs "OK, what should we do now ?" lucas@{debian.org,ubuntu.com} Debian and Ubuntu 3 / 28 The Ubuntu Development Process lucas@{debian.org,ubuntu.com} Debian and Ubuntu 4 / 28 Linux distributions 101 Take software developed by upstream projects Linux, X.org, GNOME, KDE, . Put it all nicely together Standardization / Integration Quality Assurance Support Get all the fame Ubuntu has one special upstream : Debian lucas@{debian.org,ubuntu.com} Debian and Ubuntu 5 / 28 Ubuntu’s upstreams Not that simple : changes required, sometimes Toolchain changes Bugfixes Integration (Launchpad) Newer releases Often not possible to do work in Debian first lucas@{debian.org,ubuntu.com} Debian and Ubuntu 6 / 28 Ubuntu Packages Workflow lucas@{debian.org,ubuntu.com} Debian and Ubuntu 7 / 28 Ubuntu Packages Workflow Ubuntu Karmic Excluding specific packages language-(support|pack)-*, kde-l10n-*, *ubuntu*, *launchpad* Missing 4% : Newer upstream
    [Show full text]
  • Pygobject for Beginners
    Graduating to GUI PyGObject for Beginners Presented by Paul W. Frields Red Hat, Inc. / Fedora Project Copyright © 2011 Paul W. Frields. This work is licensed under a Creative Commons Attri ution !.0 "icense. Today's Topics 1. #etting started 2. #$bject introspection 3. Classes, inheritance, hierarchy 4. Signals 5. Putting it together: Simple e+ample Do you know the way to GTK? Tools Python Py#$bject ,- 2.2. #T/0 ,- 3.0 Te+t editor of choice glade! devhelp Getting tools Reasonably simple on all distributions – use your distro4s package manager to easily install the proper collection For e+ample, on Fedora or open(5(6* Use Add7Remove Software tool to add gtk3-devel, gtk3-devel-docs, pygobject2 Workflow #lade to design 58 (as GtkBuilder) Saved as <=" 1ile Can e tweaked in #lade or any editor Python code loads the <=" file as a resource 8nteractive elements assigned to o %ects Functions called based on interaction I still have that other gir Who died & left you king? Every time #T/0 changed, Py#T/ had to e updated too Using #$bject introspection 9#8), that’s no longer necessary The #8 repository 9#8R) for a library makes it simple to generate indings for many languages Py#T/ is the old stuff, Py#$ ject is the new hotness and where things are going GObject introspection So what? So... well, nothing really, unless you need to port e+isting code 3 not covering that here :eginners should e aware PyGT/ code on the intarwe > is in danger of becoming obsolete, or just plain wrong 9gasp?; 9(ee earlier version of this talk for specific Py#T/ guidance, 52" on last page; A Chair( ) is still a Chair( ) GTK object model :ased on classes and inheritance Each object can have its own special properties and methods Real-life e+ample: AChair” object, has a location property FoldingChair adds fold( ) 1unction SwivelChair adds rotate( ) 1unction GTK object hierarchy #tkButton: push utton widget, subclass o1..
    [Show full text]