Python Programming (13A05806)

Total Page:16

File Type:pdf, Size:1020Kb

Python Programming (13A05806) 13A05806 Python Programming DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING PYTHON PROGRAMMING (13A05806) YEAR / SEM: IV / II PREPARED BY: Mr. P. Rama Rao Department of CSE-GPCET 13A05806 Python Programming (13A05806) PYTHON PROGRAMMING UNIT – I: Introduction:History of Python, Need of Python Programming, Applications Basics of Python Programming Using the REPL(Shell), Running Python Scripts, Variables, Assignment, Keywords, Input-Output, Indentation. Types - Integers, Strings, Booleans; UNIT – II: Operators and Expressions: Operators- Arithmetic Operators, Comparison (Relational) Operators, Assignment Operators, Logical Operators, Bitwise Operators, Membership Operators, Identity Operators, Expressions and order of evaluations. Data Structures Lists - Operations, Slicing, Methods; Tuples, Sets, Dictionaries, Sequences. Comprehensions. UNIT – III: Control Flow - if, if-elif-else, for, while, break, continue, pass Functions - Defining Functions, Calling Functions, Passing Arguments, Keyword Arguments, Default Arguments, Variable-length arguments, Anonymous Functions, Fruitful Functions(Function Returning Values), Scope of the Variables in a Function - Global and Local Variables. UNIT – IV: Modules: Creating modules, import statement, from ..import statement, name spacing, Python packages, Introduction to PIP, Installing Packages via PIP, Using Python Packages Error and Exceptions: Difference between an error and Exception, Handling Exception, try except block, Raising Exceptions, User Defined Exceptions . Object Oriented Programming OOP in Python: Classes, 'self variable', Methods, Constructor Method, Inheritance, Overriding Methods, Data Hiding, UNIT – V: Brief Tour of the Standard Library - Operating System Interface - String Pattern Matching, Mathematics, Internet Access, Dates and Times, Data Compression, Multi Threading, GUI Programming, Turtle Graphics. Testing: Why testing is required ?, Basic concepts of testing, Unit testing in Python, Writing Test cases, Running Tests. TEXT BOOKS 1. Python Programming: A Modern Approach, Vamsi Kurama, Pearson 2. Learning Python, Mark Lutz, Orielly Reference Books: 1. Think Python, Allen Downey, Green Tea Press 2. Core Python Programming, W.Chun, Pearson. 3. Introduction to Python, Kenneth A. Lambert, Cengage Department of CSE-GPCET 13A05806 Python Programming UNIT – I 1. History of Python Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991. An interpreted language, Python has a design philosophy which emphasizes code readability, and a syntax which allows programmers to express concepts in fewer lines of code than possible in languages such as C++ or Java. The language provides constructs intended to enable writing clear programs on both a small and large scale. Python features a dynamic type system and automatic memory management and supports multiple programming paradigms, including object-oriented, imperative, functional programming, and procedural styles. It has a large and comprehensive standard library. Python interpreters are available for many operating systems, allowing Python code to run on a wide variety of systems. CPython, the reference implementation of Python, is open source software and has a community-based development model, as do nearly all of its variant implementations. CPython is managed by the non-profit Python Software Foundation. Python was conceived in the late 1980s, and its implementation began in December 1989 by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands as a successor to the ABC language capable of exception handling and interfacing with the operating system Amoeba. Van Rossum is Python's principal author, and his continuing central role in deciding the direction of Python is reflected in the title given to him by the Python community, benevolent dictator for life (BDFL). About the origin of Python, Van Rossum wrote in 1996: Over six years ago, in December 1989, I was looking for a "hobby" programming project that would keep me occupied during the week around Christmas. My office ... would be closed, but I had a home computer, and not much else on my hands. I decided to write an interpreter for the new scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python's Flying Circus). Python 2.0 was released on 16 October 2000 and had many major new features, including a cycle- detecting garbage collector and support for Unicode. With this release the development process was changed and became more transparent and community-backed. Python 3.0 (which early in its development was commonly referred to as Python 3000 or py3k), a major, backwards-incompatible release, was released on 3 December 2008 after a long period of testing. Many of its major features have been back ported to the backwards-compatible Python 2.6.x and 2.7.x version series. The End Of Life date (EOL, sunset date) for Python 2.7 was initially set at 2015, then postponed to 2020 out of concern that a large body of existing code cannot easily be forward-ported to Python 3. In January 2017 Google announced work on a Python 2.7 to Go transcompiler, which The Register speculated was in response to Python 2.7's planned end-of-life. Python is a multi-paradigm programming language: object-oriented programming and structured programming are fully supported, and many language features support functional programming Department of CSE-GPCET 13A05806 Python Programming and aspect-oriented programming. Many other paradigms are supported via extensions, including design by contract and logic programming. Python uses dynamic typing and a mix of reference counting and a cycle-detecting garbage collector for memory management. An important feature of Python is dynamic name resolution (late binding), which binds method and variable names during program execution. The design of Python offers some support for functional programming in the Lisp tradition. The language has map(), reduce() and filter() functions; list comprehensions, dictionaries, and sets; and generator expressions. The standard library has two modules (itertools and functools) that implement functional tools borrowed from Haskell and Standard ML. Rather than requiring all desired functionality to be built into the language's core, Python was designed to be highly extensible. Python can also be embedded in existing applications that need a programmable interface. This design of a small core language with a large standard library and an easily extensible interpreter was intended by Van Rossum from the start because of his frustrations with ABC, which espoused the opposite mindset. Python's developers strive to avoid premature optimization, and moreover, reject patches to non- critical parts of CPython that would offer a marginal increase in speed at the cost of clarity.[46] When speed is important, a Python programmer can move time-critical functions to extension modules written in languages such as C, or try using PyPy, a just-in-time compiler. Cython is also available, which translates a Python script into C and makes direct C-level API calls into the Python interpreter. An important goal of Python's developers is making it fun to use. This is reflected in the origin of the name, which comes from Monty Python, and in an occasionally playful approach to tutorials and reference materials, such as using examples that refer to spam and eggs instead of the standard foo and bar. A common neologism in the Python community is pythonic, which can have a wide range of meanings related to program style. To say that code is pythonic is to say that it uses Python idioms well, that it is natural or shows fluency in the language, that it conforms with Python's minimalist philosophy and emphasis on readability. In contrast, code that is difficult to understand or reads like a rough transcription from another programming language is called unpythonic. Users and admirers of Python, especially those considered knowledgeable or experienced, are often referred to as Pythonists, Pythonistas, and Pythoneers. Paradigm multi-paradigm: object-oriented, imperative, functional, procedural, reflective Designed by: Guido van Rossum Developer: Python Software Foundation First appeared: 20 February 1991; 25 years ago[1] Stable release 3.6.0 / 23 December 2016; 55 days ago[2] 2.7.13 / 17 December 2016; 61 days ago[3] OS: Cross-platform Department of CSE-GPCET 13A05806 Python Programming License: Python Software Foundation License Filename extensions: .py, .pyc, .pyd, .pyo (prior to 3.5).pyw, .pyz (since 3.5) Major implementations CPython, IronPython, Jython, MicroPython, PyPy Dialects Cython, RPython, Stackless Python Influenced by ABC,ALGOL 68, C,C++,Dylan,Haskell,Icon,Java,Lisp,Modula3, Perl 2. Need of Python Programming Software quality For many, Python‘s focus on readability, coherence, and software quality in general sets it apart from other tools in the scripting world. Python code is designed to be readable, and hence reusable and maintainable—much more so than traditional scripting languages. The uniformity of Python code makes it easy to understand, even if you did not write it. In addition, Python has deep support for more advanced software reuse mechanisms, such as object-oriented (OO) and function programming. Developer productivity Python boosts developer productivity
Recommended publications
  • Expert Python Programming Third Edition
    Expert Python Programming Third Edition Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7 Michał Jaworski Tarek Ziadé BIRMINGHAM - MUMBAI Expert Python Programming Third Edition Copyright © 2019 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Commissioning Editor: Kunal Chaudhari Acquisition Editor: Chaitanya Nair Content Development Editor: Zeeyan Pinheiro Technical Editor: Ketan Kamble Copy Editor: Safis Editing Project Coordinator: Vaidehi Sawant Proofreader: Safis Editing Indexer: Priyanka Dhadke Graphics: Alishon Mendonsa Production Coordinator: Shraddha Falebhai First published: September 2008 Second edition: May 2016 Third edition: April 2019 Production reference: 1270419 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78980-889-6 www.packtpub.com To my beloved wife, Oliwia, for her love, inspiration, and her endless patience.
    [Show full text]
  • Op E N So U R C E Yea R B O O K 2 0
    OPEN SOURCE YEARBOOK 2016 ..... ........ .... ... .. .... .. .. ... .. OPENSOURCE.COM Opensource.com publishes stories about creating, adopting, and sharing open source solutions. Visit Opensource.com to learn more about how the open source way is improving technologies, education, business, government, health, law, entertainment, humanitarian efforts, and more. Submit a story idea: https://opensource.com/story Email us: [email protected] Chat with us in Freenode IRC: #opensource.com . OPEN SOURCE YEARBOOK 2016 . OPENSOURCE.COM 3 ...... ........ .. .. .. ... .... AUTOGRAPHS . ... .. .... .. .. ... .. ........ ...... ........ .. .. .. ... .... AUTOGRAPHS . ... .. .... .. .. ... .. ........ OPENSOURCE.COM...... ........ .. .. .. ... .... ........ WRITE FOR US ..... .. .. .. ... .... 7 big reasons to contribute to Opensource.com: Career benefits: “I probably would not have gotten my most recent job if it had not been for my articles on 1 Opensource.com.” Raise awareness: “The platform and publicity that is available through Opensource.com is extremely 2 valuable.” Grow your network: “I met a lot of interesting people after that, boosted my blog stats immediately, and 3 even got some business offers!” Contribute back to open source communities: “Writing for Opensource.com has allowed me to give 4 back to a community of users and developers from whom I have truly benefited for many years.” Receive free, professional editing services: “The team helps me, through feedback, on improving my 5 writing skills.” We’re loveable: “I love the Opensource.com team. I have known some of them for years and they are 6 good people.” 7 Writing for us is easy: “I couldn't have been more pleased with my writing experience.” Email us to learn more or to share your feedback about writing for us: https://opensource.com/story Visit our Participate page to more about joining in the Opensource.com community: https://opensource.com/participate Find our editorial team, moderators, authors, and readers on Freenode IRC at #opensource.com: https://opensource.com/irc .
    [Show full text]
  • Python Libraries.Pdf
    Astronomy ESFRI & Research Infrastructure Cluster ASTERICS - 653477 2nd ASTERICS-OBELICS International School 4-8 June 2018, Annecy, France. H2020-Astronomy ESFRI and Research Infrastructure Cluster (Grant Agreement number: 653477). ASTERICS-OBELICS School 2018 / Annecy PYTHON LIBRARIES Tamás Gál [email protected] https:/github.com/tamasgal @tamasgal OVERVIEW • Who is this clown? • Python Introduction • Basic Python Internals • Libraries and Tools for Scientific Computing • NumPy • Numba Make it faster! • NumExpr } • SciPy • AstroPy • Pandas • SymPy Tools for scientists! • Matplotlib • Jupyter } • IPython WHO IS THIS CLOWN? • Tamás Gál, born 1985 in Debrecen (Hungary) • PhD candidate in astro particle physics at Erlangen Centre for Astroparticle Physics (ECAP) working on the KM3NeT project • Programming background: • Coding enthusiast since ~1993 • First real application written in Amiga Basic (toilet manager, tons of GOTOs ;) • Python, Julia, JavaScript and C/C+/Obj-C for work • Haskell for fun • Earlier also Java, Perl, PHP, Delphi, MATLAB, whatsoever… • I also like playing around with integrated circuits and Arduino • Some related projects: KM3Pipe (analysis framework in the KM3NeT experiment), RainbowAlga (interactive 3D neutrino event display), ROyWeb (interactive realtime visualisation/graphing) 4 PYTHON BRIEF HISTORY OF PYTHON • Rough idea in the late 1980s • Meant to descend the ABC language • First line of code in December 1989 by Guido van Rossum • Python 2.0 in October 2000 • Python 3.0 in December 2008 6 PYTHONS POPULARITY “Programming language of the year” in 2007 and 2010. 7 POPULAR LANGUAGES (MAY 2017) Python is the fourth most popular language and rocks the top 10 since 2003. 8 POPULAR LANGUAGES (MAY 2018) May 2017 Python is still the fourth most popular language and rocks the top 10 since 2003.
    [Show full text]
  • Comparative Studies of Six Programming Languages
    Comparative Studies of Six Programming Languages Zakaria Alomari Oualid El Halimi Kaushik Sivaprasad Chitrang Pandit Concordia University Concordia University Concordia University Concordia University Montreal, Canada Montreal, Canada Montreal, Canada Montreal, Canada [email protected] [email protected] [email protected] [email protected] Abstract Comparison of programming languages is a common topic of discussion among software engineers. Multiple programming languages are designed, specified, and implemented every year in order to keep up with the changing programming paradigms, hardware evolution, etc. In this paper we present a comparative study between six programming languages: C++, PHP, C#, Java, Python, VB ; These languages are compared under the characteristics of reusability, reliability, portability, availability of compilers and tools, readability, efficiency, familiarity and expressiveness. 1. Introduction: Programming languages are fascinating and interesting field of study. Computer scientists tend to create new programming language. Thousand different languages have been created in the last few years. Some languages enjoy wide popularity and others introduce new features. Each language has its advantages and drawbacks. The present work provides a comparison of various properties, paradigms, and features used by a couple of popular programming languages: C++, PHP, C#, Java, Python, VB. With these variety of languages and their widespread use, software designer and programmers should to be aware
    [Show full text]
  • A Brief Overview of Functional Programming Languages
    electronic Journal of Computer Science and Information Technology (eJCSIT), Vol. 6, No. 1, 2016 A Brief Overview of Functional Programming Languages Jagatheesan Kunasaikaran1, Azlan Iqbal2 1ZALORA Malaysia, Jalan Dua, Chan Sow Lin, Kuala Lumpur, Malaysia e-mail: [email protected] 2College of Computer Science and Information Technology, Universiti Tenaga Nasional, Putrajaya Campus, Selangor, Malaysia e-mail: [email protected] Abstract – Functional programming is an important Common programming paradigms are procedural, object- programming paradigm. It is based on a branch of oriented and functional. Figure 1 illustrates conceptually mathematics known as lambda calculus. In this article, we the differences between the common programming provide a brief overview, aimed at those new to the field, and language paradigms [1]. Procedural and object-oriented explain the progress of functional programming since its paradigms mutate or alter the data along program inception. A selection of functional languages are provided as examples. We also suggest some improvements and speculate execution. On the other hand, in pure functional style, the on the potential future directions of this paradigm. data does not exist by itself or independently. A composition of function calls with a set of arguments Keywords – functional, programming languages, LISP, Python; generates the final result that is expected. Each function is Javascript,Java, Elm, Haskell ‘atomic’ as it only executes operations defined in it to the input data and returns the result of the computation to the ‘callee’. I. INTRODUCTION II. FUNCTIONAL LANGUAGES Programming languages can be classified into the style of programming each language supports. There are multiple Functional programming is based on mathematical logic.
    [Show full text]
  • International Journal of Advance Engineering and Research
    International Journal of Advance Engineering and Research Development Scientific Journal of Impact Factor (SJIF): 4.72 Special Issue SIEICON-2017,April -2017 e-ISSN : 2348-4470 p-ISSN : 2348-6406 Python Programming-Applications and Future Kalyani Adawadkar1 1Head of Department, Department of Information Technology, Sigma Institute of Engineering Abstract — Python is a high-level and powerful object-oriented programming language created by Guido van Rossum. Because of its simple syntax, it is a very good choice for those who are learning programming for the first time. It is used in vast number of applications due to the various standard libraries that come along with it and its capacity to integrate with other languages and use their features. This paper describes the main features of Python programming. It lists out the difference between Python and other language with the help of some code. This paper then discusses applications of Python programming. To end with we will see a few good examples where python programming is being used. Keywords-programming, open source, object-oriented, interoperability, sockets I. INTRODUCTION Python was conceived in late 1980s, while its implementation began in late 1989 by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands. It was implemented as a successor of ABC language capable of exception handling and interfacing with the operating system Amoeba. Van Rossum is Python's principal author, and his continuing central role in deciding the road to development of Python is reflected in the title given to him by the Python community, benevolent dictator for life (BDFL) [4,5,6].
    [Show full text]
  • Learn Python in 7 Days
    Learn Python in 7 Days Get up-and-running with Python Mohit Bhaskar N. Das BIRMINGHAM - MUMBAI Learn Python in 7 Days Copyright © 2017 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: May 2017 Production reference: 1190517 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78728-838-6 www.packtpub.com Credits Authors Copy Editor Mohit Muktikant Garimella Bhaskar N. Das Reviewer Project Coordinator Rejah Rehim Ulhas Kambali Commissioning Editor Proofreader Kunal Parikh Safis Editing Acquisition Editor Indexer Denim Pinto Pratik Shirodkar Content Development Editor Graphics Anurag Ghogre Abhinash Sahu Technical Editor Production Coordinator Hussain Kanchwala Deepika Naik About the Authors Mohit ([email protected]) is a Python programmer with a keen interest in the field of information security.
    [Show full text]
  • Python Tutorial by Bernd Klein
    Python Tutorial by Bernd Klein bodenseo © 2021 Bernd Klein All rights reserved. No portion of this book may be reproduced or used in any manner without written permission from the copyright owner. For more information, contact address: [email protected] www.python-course.eu Python Course Python Tutorial by Bernd Klein Strings.......................................................................................................................................10 Execute a Python script ............................................................................................................11 Start a Python program.............................................................................................................12 Loops ......................................................................................................................................136 Iterators and Iterables .............................................................................................................150 Coffee, Dictionary and a Loop ...............................................................................................171 Parameters and Arguments.....................................................................................................226 Global, Local and nonlocal Variables.....................................................................................237 Regular Expressions ...............................................................................................................305 Lambda, filter, reduce
    [Show full text]
  • R Programming Module Overview Learning Objectives Learning
    R Programming Module Overview The following module comprises of R programming basics and application of several Statistical Techniques using it. The module aims to provide exposure in terms of Statistical Analysis, Hypothesis Testing, Regression and Correlation using R programming language. Learning Objectives The objective of this module to make students exercise the fundamentals of statistical analysis in R environment. They would be able to analysis data for the purpose of exploration using Descriptive and Inferential Statistics. Students will understand Probability and Sampling Distributions and learn the creative application of Linear Regression in multivariate context for predictive purpose. Learning Outcomes After the successful completion of this module, students will be able to: • Install, Code and Use R Programming Language in R Studio IDE to perform basic tasks on Vectors, Matrices and Data frames. • Describe key terminologies, concepts and techniques employed in Statistical Analysis. • Define, Calculate, Implement Probability and Probability Distributions to solve a wide variety of problems. • Conduct and Interpret a variety of Hypothesis Tests to aid Decision Making. • Understand, Analyse, Interpret Correlation and Regression to analyse the underlying relationships between different variables. Unit I Introduction to R Programming R and R Studio, Logical Arguments, Missing Values, Characters, Factors and Numeric, Help in R, Vector to Matrix, Matrix Access, Data Frames, Data Frame Access, Basic Data Manipulation Techniques, Usage of various apply functions – apply, lapply, sapply and tapply, Outliers treatment. Unit II Descriptive Statistics Types of Data, Nominal, Ordinal, Scale and Ratio, Measures of Central Tendency, Mean, Mode and Median, Bar Chart, Pie Chart and Box Plot, Measures of Variability, Range, Inter-Quartile- Range, Standard Deviation, Skewness and Kurtosis, Histogram, Stem and Leaf Diagram, Standard Error of Mean and Confidence Intervals.
    [Show full text]
  • The Official Ubuntu Book, 7Th Edition.Pdf
    ptg8126969 Praise for Previous Editions of The Official Ubuntu Book “The Official Ubuntu Book is a great way to get you started with Ubuntu, giving you enough information to be productive without overloading you.” —John Stevenson, DZone book reviewer “OUB is one of the best books I’ve seen for beginners.” —Bill Blinn, TechByter Worldwide “This book is the perfect companion for users new to Linux and Ubuntu. It covers the basics in a concise and well-organized manner. General use is covered separately from troubleshooting and error-handling, making the book well-suited both for the beginner as well as the user that needs extended help.” —Thomas Petrucha, Austria Ubuntu User Group “I have recommended this book to several users who I instruct regularly on ptg8126969 the use of Ubuntu. All of them have been satisfied with their purchase and have even been able to use it to help them in their journey along the way.” —Chris Crisafulli, Ubuntu LoCo Council, Florida Local Community Team “This text demystifies a very powerful Linux operating system . In just a few weeks of having it, I’ve used it as a quick reference a half-dozen times, which saved me the time I would have spent scouring the Ubuntu forums online.” —Darren Frey, Member, Houston Local User Group This page intentionally left blank ptg8126969 The Official Ubuntu Book Seventh Edition ptg8126969 This page intentionally left blank ptg8126969 The Official Ubuntu Book Seventh Edition Matthew Helmke Amber Graner With Kyle Rankin, Benjamin Mako Hill, ptg8126969 and Jono Bacon Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
    [Show full text]
  • Why Python Rocks for Research...???
    International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 09 | Sep 2019 www.irjet.net p-ISSN: 2395-0072 WHY PYTHON ROCKS FOR RESEARCH....??? Kapish Kumar Student of B.Tech CSE Department, IIMT College of Engg. , Gr.Noida(U.P.)India. ---------------------------------------------------------------------***---------------------------------------------------------------------- Abstract - Python is a high-level and powerful object- documenting the design decisions that have gone into oriented programming language created by Guido van Python. Outstanding PEPs are commented and reviewed by Rossum. Because of its simple syntax, it is a very good choice the Python Community. for those who are learning programming for the first time. It is used in vast number of applications due to the various As of March 2017, Python is the fifth most popular language. standard libraries that come along with it and its capacity to A study carried out on Python found it to be more productive integrate with other languages and use their features. This than conventional languages for problem solving involving paper describes the main features of Python programming. It string manipulation and search in a dictionary. The social lists out the difference between Python and other language news networking site Reddit is written entirely in Python. with the help of some code. This paper then discusses Python has been used in Artificial Intelligence tasks. Python applications of Python programming. To end with we will is often used for Natural Language processing tasks. Many see a few good examples where python programming is Linux distributions use installers written in Python. Python being used. has also extensive use in Information Security Industry.
    [Show full text]
  • Python Python Was Designed by Guido Van Rossum in the Late 80'S and Early 90'S
    CS520 Principles of Programming Languages Dr. Christian Collberg Final Exam May 14th, 2008 Raquel Torres Peralta Federico Miguel Cirett Galán History of Python Python was designed by Guido van Rossum in the late 80's and early 90's. The name 'Python' is based on the famous BBC TV series of the 70's Monty Python Flying Circus . 1 Guido is a fan of this long ousted show, and the code examples in the documentation and tutorials of Python have plenty of references to it. Rossum worked in the mid 80's in the programming language ABC, which targets computer-illiterate students, with a syntax that is easy to write. However, it was designed to write trivial programs. It had no I/O interactivity and no extensibility. By 1986, van Rossum was working in the Amoeba distributed operating system project at CWI ( Centrum voor Wiskunde en Informatics), and by the end of the decade, he realized that the project needed a merger between ABC and a shell script to do some administrative tasks in the Amoeba OS, since neither sufficed alone. So, in the Christmas break of 1989, he wrote the first draft of Python in only two weeks, borrowing some ideas from ABC, Modula-2 and Modula- 3, with the goal in mind of a general-purpose scripting language that would help him with the Amoeba tasks. 2 It took him over a year to have a working kit and in 1991 he released Python 0.90 to the USENET with a General Public License (GPL). Python Python is a very high level scripting multi-paradigm programming language; it supports object-oriented programming, structured programming, and functional programming.
    [Show full text]