SlideShare una empresa de Scribd logo
1 de 22
An Introduction To Software
Development Using Python
Spring Semester, 2015
Class #2:
Python, Print()
An Example Python Job Description
• Python Developer (Icreon Tech Inc, NYC, NY, 1 month ago)
• Job Description: Title: Python Developer Location: Remote Work
• Responsibilities:
– Have to code, debug, and unit test systems per requirements and technical design.
– Ensuring quality of the deliverables
– Understanding client requirements & functional specifications
– Communicating the project status and updates regularly and clearly.
– Keeping Track of effort spend on tasks assigned to him.
– Work with TEAM to develop complex web-based applications
– Support, refactor and enhance an existing application/ system.
• Requirement:
– Proven application development experience using (Python with MySQL/Postgre
SQL/Couchbase/MongoDB)
– Understanding of MVC Architecture, OOPS, REST, SOA, SaaS, NoSQL Database, Unit
Testing Framework Like PyUnit, Version control ( Like SVN,GIT), Sphinx, Redis, PyLint,
Deployment and maintenance tools such as SaltStack, Chef, Puppet.
What Is Programming?
• The term programming means to create (or develop) software, which is
also called a program.
• In basic terms, software contains the instructions that tell a computer—or
a computerized device—what to do.
• Software is all around you, even in devices that you might not think would
need it. Of course, you expect to find and use software on a personal
computer, but software also plays a role in running airplanes, cars, cell
phones, and even toasters.
• On a personal computer, you use word processors to write documents,
Web browsers to explore the Internet, and e-mail programs to send
messages. These programs are all examples of software.
Image Credit: www.fotosearch.com
Programming Languages
• This course teaches you how to create programs by using the Python programming
language. There are many programming languages, some of which are decades old.
Each language was invented for a specific purpose—to build on the strengths of a
previous language, for example, or to give the programmer a new and unique set of
tools. Knowing that there are so many programming languages available, it would be
natural for you to wonder which one is best.
• But, in truth, there is no “best” language. Each one has its own strengths and
weaknesses. Experienced programmers know that one language might work well in
some situations, whereas a different language may be more appropriate in other
situations.
• For this reason, seasoned programmers try to master as many different programming
languages as they can, giving them access to a vast arsenal of software-development
tools.
• If you learn to program using one language, you should find it easy to pick up other
languages. The key is to learn how to solve problems using a programming approach.
That is the main theme of this course.
Image Credit: ubergizmo
What We’ll Be Using In This Class
Your laptop
(or a university computer)
The Python computer language
(free!)
Who Created Python?
• The Python language was conceived in the late 1980s
and its implementation was started in December 1989
by Guido van Rossum at CWI in the Netherlands
• Van Rossum needed to carry out repetitive tasks for
administering computer systems. He was dissatisfied
with other available languages that were optimized for
writing large and fast programs.
• He needed to write smaller programs that didn’t have
to run at optimum speed. It was important to him that
he could author the programs quickly and update them
quickly as his needs changed.
• Therefore, he designed a language that made it very
easy to work with complex data.
The History Of Python
• Python 2.0 was released on October 16, 2000. With this
release the development process was changed and became
more transparent and community-backed.
• Python 3.0 (also called Python 3000 or py3k), a major,
backwards-incompatible release, was released on December
3, 2008 after a long period of testing. Many of its major
features have been backported to the backwards-compatible
Python 2.6 and 2.7.
• Python 2.x is very popular right now, we'll be learning Python
3.x because it's the future of Python.
Top 30 Programming Languages
What Is Python?
• Python is a widely used general-purpose, high-level
programming language.
• Its design philosophy emphasizes code readability,
and its syntax allows programmers to express
concepts in fewer lines of code than would be
possible in languages such as C++ or Java.
• Python supports multiple programming paradigms,
including object-oriented, imperative and functional
programming.
Where Can I Run Python Programs?
• Python interpreters are available for installation on many operating
systems, allowing Python code execution on a majority of systems.
• Python code can be packaged into stand-alone executable programs for
some of the most popular operating systems, allowing for the distribution
of Python-based software for use on those environments without
requiring the installation of a Python interpreter.
• CPython, the reference implementation of Python, is free and open-
source software and has a community-based development model, as do
nearly all of its alternative implementations. CPython is managed by the
non-profit Python Software Foundation.
Image Credit: Logo Database,
Why Do People Like Python?
• Python has a much simpler and cleaner syntax than
other popular languages such as Java, C, and C++,
which makes it easier to learn.
• You can try out short Python programs in an
interactive environment, which encourages
experimentation and rapid turnaround.
• Python is also very portable between computer
systems. The same Python program will run, without
change, on Windows, UNIX, Linux, or Macintosh.
Image Credit: Hans-Jörg Aleff
Let’s Get A Copy Of Python
Go to the Python Software Foundation’s website:
https://www.python.org/
Let’s Get A Copy Of Python
Say Hello To IDLE
• IDLE (Integrated DeveLopment Environment)
is an integrated development environment for
Python.
• IDLE is intended to be a simple IDE and
suitable for beginners, especially in an
educational environment.
• Since van Rossum named the language
Python partly to honor British comedy
group Monty Python, the name IDLE was
probably also chosen partly to honor
Eric Idle, one of Monty Python's founding
members.
How The Python Interpreter Works
Our First Program: Hello World!
• Python is case sensitive. You must enter
upper- and lowercase letters exactly as they
appear in a program listing.
• You cannot type Print or PRINT.
Image Credit: ClipArt Best
A Closer Look At Our First Program
• # My first Python program.
– This is a comment – it’s for you, not the computer
– Comments begin with # and are not statements.
• print("Hello, World!")
– displays a line of text, namely “Hello, World!”.
– We call a function named print and pass it the information to be
displayed.
– A function is a collection of programming instructions that carry
out a particular task.
– It is part of the Python language.
Print Function Syntax
Your First Python Assignment
1. Write a Python program to print a happy face to the screen
2. Grab a copy of the screen
3. Print it out
4. Bring it to the next class
5. Show it to Dr. Anderson
What’s In Your Python Toolbox?
print()
What We Covered Today
1. Learned who invented Python
and why.
2. Came to understand what
Python is good at doing.
3. Downloaded and installed a
copy of the Python
interpreter.
4. Discovered the built-in IDLE
IDE.
5. Used our first BIF: print()
Image Credit: http://www.tswdj.com/blog/2011/05/17/the-grooms-checklist/
What We’ll Be Covering Next Time
1. Variables
2. Math!
Image Credit: http://merchantblog.thefind.com/2011/01/merchant-newsletter/resolve-to-take-advantage-of-these-5-e-commerce-trends/attachment/crystal-ball-fullsize/

Más contenido relacionado

La actualidad más candente

The Medusa Project
The Medusa ProjectThe Medusa Project
The Medusa ProjectRahul Dé
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | EdurekaEdureka!
 
The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180 The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180 Mahmoud Samir Fayed
 
2018 20 best id es for python programming
2018 20 best id es for python programming2018 20 best id es for python programming
2018 20 best id es for python programmingSyedBrothersRealEsta
 
Creating a compiler for your own language
Creating a compiler for your own languageCreating a compiler for your own language
Creating a compiler for your own languageAndrea Tino
 
GUIDE TO PROGRAMMING WITH PYTHON
GUIDE TO PROGRAMMING WITH PYTHONGUIDE TO PROGRAMMING WITH PYTHON
GUIDE TO PROGRAMMING WITH PYTHONLebogang Modise
 
Natural language identification
Natural language identificationNatural language identification
Natural language identificationShaktiTaneja
 
Introduction to Python IDLE | IDLE Tutorial | Edureka
Introduction to Python IDLE | IDLE Tutorial | EdurekaIntroduction to Python IDLE | IDLE Tutorial | Edureka
Introduction to Python IDLE | IDLE Tutorial | EdurekaEdureka!
 
Python as Web Development
Python as Web Development Python as Web Development
Python as Web Development SamWas1
 
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning StudioIntroduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning StudioMuralidharan Deenathayalan
 
Can Python Overthrow Java? | Java vs Python | Edureka
Can Python Overthrow Java? | Java vs Python | EdurekaCan Python Overthrow Java? | Java vs Python | Edureka
Can Python Overthrow Java? | Java vs Python | EdurekaEdureka!
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonSoba Arjun
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics ProgrammingRaveendra R
 
The Ring programming language version 1.5.1 book - Part 4 of 180
The Ring programming language version 1.5.1 book - Part 4 of 180The Ring programming language version 1.5.1 book - Part 4 of 180
The Ring programming language version 1.5.1 book - Part 4 of 180Mahmoud Samir Fayed
 

La actualidad más candente (20)

The Medusa Project
The Medusa ProjectThe Medusa Project
The Medusa Project
 
What is Python? | Edureka
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | Edureka
 
Introduction to the Python
Introduction to the PythonIntroduction to the Python
Introduction to the Python
 
The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180 The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180
 
2018 20 best id es for python programming
2018 20 best id es for python programming2018 20 best id es for python programming
2018 20 best id es for python programming
 
Creating a compiler for your own language
Creating a compiler for your own languageCreating a compiler for your own language
Creating a compiler for your own language
 
GUIDE TO PROGRAMMING WITH PYTHON
GUIDE TO PROGRAMMING WITH PYTHONGUIDE TO PROGRAMMING WITH PYTHON
GUIDE TO PROGRAMMING WITH PYTHON
 
Natural language identification
Natural language identificationNatural language identification
Natural language identification
 
Introduction to Python IDLE | IDLE Tutorial | Edureka
Introduction to Python IDLE | IDLE Tutorial | EdurekaIntroduction to Python IDLE | IDLE Tutorial | Edureka
Introduction to Python IDLE | IDLE Tutorial | Edureka
 
Python as Web Development
Python as Web Development Python as Web Development
Python as Web Development
 
resume
resumeresume
resume
 
BDACA - Tutorial1
BDACA - Tutorial1BDACA - Tutorial1
BDACA - Tutorial1
 
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning StudioIntroduction to Jupyter notebook and MS Azure Machine Learning Studio
Introduction to Jupyter notebook and MS Azure Machine Learning Studio
 
Can Python Overthrow Java? | Java vs Python | Edureka
Can Python Overthrow Java? | Java vs Python | EdurekaCan Python Overthrow Java? | Java vs Python | Edureka
Can Python Overthrow Java? | Java vs Python | Edureka
 
Python Assignment Help
Python Assignment HelpPython Assignment Help
Python Assignment Help
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
resume
resumeresume
resume
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics Programming
 
The Ring programming language version 1.5.1 book - Part 4 of 180
The Ring programming language version 1.5.1 book - Part 4 of 180The Ring programming language version 1.5.1 book - Part 4 of 180
The Ring programming language version 1.5.1 book - Part 4 of 180
 

Destacado

An Introduction To Python - Variables, Math
An Introduction To Python - Variables, MathAn Introduction To Python - Variables, Math
An Introduction To Python - Variables, MathBlue Elephant Consulting
 
An Introduction To Software Development - Architecture & Detailed Design
An Introduction To Software Development - Architecture & Detailed DesignAn Introduction To Software Development - Architecture & Detailed Design
An Introduction To Software Development - Architecture & Detailed DesignBlue Elephant Consulting
 
An Introduction To Python - Python Midterm Review
An Introduction To Python - Python Midterm ReviewAn Introduction To Python - Python Midterm Review
An Introduction To Python - Python Midterm ReviewBlue Elephant Consulting
 
An Introduction To Python - Tables, List Algorithms
An Introduction To Python - Tables, List AlgorithmsAn Introduction To Python - Tables, List Algorithms
An Introduction To Python - Tables, List AlgorithmsBlue Elephant Consulting
 
An Introduction To Python - Functions, Part 2
An Introduction To Python - Functions, Part 2An Introduction To Python - Functions, Part 2
An Introduction To Python - Functions, Part 2Blue Elephant Consulting
 
An Introduction To Software Development - Software Support and Maintenance
An Introduction To Software Development - Software Support and MaintenanceAn Introduction To Software Development - Software Support and Maintenance
An Introduction To Software Development - Software Support and MaintenanceBlue Elephant Consulting
 
An Introduction To Python - Nested Branches, Multiple Alternatives
An Introduction To Python - Nested Branches, Multiple AlternativesAn Introduction To Python - Nested Branches, Multiple Alternatives
An Introduction To Python - Nested Branches, Multiple AlternativesBlue Elephant Consulting
 
An Introduction To Python - Working With Data
An Introduction To Python - Working With DataAn Introduction To Python - Working With Data
An Introduction To Python - Working With DataBlue Elephant Consulting
 
An Introduction To Software Development - Implementation
An Introduction To Software Development - ImplementationAn Introduction To Software Development - Implementation
An Introduction To Software Development - ImplementationBlue Elephant Consulting
 

Destacado (16)

An Introduction To Python - Variables, Math
An Introduction To Python - Variables, MathAn Introduction To Python - Variables, Math
An Introduction To Python - Variables, Math
 
An Introduction To Python - Graphics
An Introduction To Python - GraphicsAn Introduction To Python - Graphics
An Introduction To Python - Graphics
 
An Introduction To Python - FOR Loop
An Introduction To Python - FOR LoopAn Introduction To Python - FOR Loop
An Introduction To Python - FOR Loop
 
An Introduction To Software Development - Architecture & Detailed Design
An Introduction To Software Development - Architecture & Detailed DesignAn Introduction To Software Development - Architecture & Detailed Design
An Introduction To Software Development - Architecture & Detailed Design
 
An Introduction To Python - Dictionaries
An Introduction To Python - DictionariesAn Introduction To Python - Dictionaries
An Introduction To Python - Dictionaries
 
An Introduction To Python - Python Midterm Review
An Introduction To Python - Python Midterm ReviewAn Introduction To Python - Python Midterm Review
An Introduction To Python - Python Midterm Review
 
An Introduction To Python - WHILE Loop
An Introduction To  Python - WHILE LoopAn Introduction To  Python - WHILE Loop
An Introduction To Python - WHILE Loop
 
An Introduction To Python - Tables, List Algorithms
An Introduction To Python - Tables, List AlgorithmsAn Introduction To Python - Tables, List Algorithms
An Introduction To Python - Tables, List Algorithms
 
An Introduction To Python - Functions, Part 2
An Introduction To Python - Functions, Part 2An Introduction To Python - Functions, Part 2
An Introduction To Python - Functions, Part 2
 
An Introduction To Software Development - Software Support and Maintenance
An Introduction To Software Development - Software Support and MaintenanceAn Introduction To Software Development - Software Support and Maintenance
An Introduction To Software Development - Software Support and Maintenance
 
An Introduction To Python - Lists, Part 1
An Introduction To Python - Lists, Part 1An Introduction To Python - Lists, Part 1
An Introduction To Python - Lists, Part 1
 
An Introduction To Python - Nested Branches, Multiple Alternatives
An Introduction To Python - Nested Branches, Multiple AlternativesAn Introduction To Python - Nested Branches, Multiple Alternatives
An Introduction To Python - Nested Branches, Multiple Alternatives
 
An Introduction To Python - Lists, Part 2
An Introduction To Python - Lists, Part 2An Introduction To Python - Lists, Part 2
An Introduction To Python - Lists, Part 2
 
An Introduction To Python - Working With Data
An Introduction To Python - Working With DataAn Introduction To Python - Working With Data
An Introduction To Python - Working With Data
 
An Introduction To Software Development - Implementation
An Introduction To Software Development - ImplementationAn Introduction To Software Development - Implementation
An Introduction To Software Development - Implementation
 
An Introduction To Python - Files, Part 1
An Introduction To Python - Files, Part 1An Introduction To Python - Files, Part 1
An Introduction To Python - Files, Part 1
 

Similar a An Introduction To Python - Python, Print()

Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming BasicsDhana malar
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1Kanchilug
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)guobichrng
 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechRamanamurthy Banda
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil EngineeringRushikesh Kolhe
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptxnagendrasai12
 
Presentation (1).pdf
Presentation (1).pdfPresentation (1).pdf
Presentation (1).pdfnaganeparth06
 
Introduction to Python Programming language.pptx
Introduction to Python Programming language.pptxIntroduction to Python Programming language.pptx
Introduction to Python Programming language.pptxBharathYusha1
 
Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxAditya Patel
 
Agile Languages for Rapid Prototyping
Agile Languages for Rapid PrototypingAgile Languages for Rapid Prototyping
Agile Languages for Rapid PrototypingTharindu Weerasinghe
 
How to start Python? - lesson 1
How to start Python? - lesson 1How to start Python? - lesson 1
How to start Python? - lesson 1Shohel Rana
 
Python.pptx
Python.pptxPython.pptx
Python.pptxabclara
 

Similar a An Introduction To Python - Python, Print() (20)

Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming Basics
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Python Programming Part 1.pdf
Python Programming Part 1.pdfPython Programming Part 1.pdf
Python Programming Part 1.pdf
 
Python Programming Part 1.pdf
Python Programming Part 1.pdfPython Programming Part 1.pdf
Python Programming Part 1.pdf
 
Python Programming Part 1.pdf
Python Programming Part 1.pdfPython Programming Part 1.pdf
Python Programming Part 1.pdf
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Python
PythonPython
Python
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
PYTHON UNIT 1
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Presentation (1).pdf
Presentation (1).pdfPresentation (1).pdf
Presentation (1).pdf
 
Introduction to Python Programming language.pptx
Introduction to Python Programming language.pptxIntroduction to Python Programming language.pptx
Introduction to Python Programming language.pptx
 
Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptx
 
Agile Languages for Rapid Prototyping
Agile Languages for Rapid PrototypingAgile Languages for Rapid Prototyping
Agile Languages for Rapid Prototyping
 
How to start Python? - lesson 1
How to start Python? - lesson 1How to start Python? - lesson 1
How to start Python? - lesson 1
 
Python.pptx
Python.pptxPython.pptx
Python.pptx
 

Último

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Último (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

An Introduction To Python - Python, Print()

  • 1. An Introduction To Software Development Using Python Spring Semester, 2015 Class #2: Python, Print()
  • 2. An Example Python Job Description • Python Developer (Icreon Tech Inc, NYC, NY, 1 month ago) • Job Description: Title: Python Developer Location: Remote Work • Responsibilities: – Have to code, debug, and unit test systems per requirements and technical design. – Ensuring quality of the deliverables – Understanding client requirements & functional specifications – Communicating the project status and updates regularly and clearly. – Keeping Track of effort spend on tasks assigned to him. – Work with TEAM to develop complex web-based applications – Support, refactor and enhance an existing application/ system. • Requirement: – Proven application development experience using (Python with MySQL/Postgre SQL/Couchbase/MongoDB) – Understanding of MVC Architecture, OOPS, REST, SOA, SaaS, NoSQL Database, Unit Testing Framework Like PyUnit, Version control ( Like SVN,GIT), Sphinx, Redis, PyLint, Deployment and maintenance tools such as SaltStack, Chef, Puppet.
  • 3. What Is Programming? • The term programming means to create (or develop) software, which is also called a program. • In basic terms, software contains the instructions that tell a computer—or a computerized device—what to do. • Software is all around you, even in devices that you might not think would need it. Of course, you expect to find and use software on a personal computer, but software also plays a role in running airplanes, cars, cell phones, and even toasters. • On a personal computer, you use word processors to write documents, Web browsers to explore the Internet, and e-mail programs to send messages. These programs are all examples of software. Image Credit: www.fotosearch.com
  • 4. Programming Languages • This course teaches you how to create programs by using the Python programming language. There are many programming languages, some of which are decades old. Each language was invented for a specific purpose—to build on the strengths of a previous language, for example, or to give the programmer a new and unique set of tools. Knowing that there are so many programming languages available, it would be natural for you to wonder which one is best. • But, in truth, there is no “best” language. Each one has its own strengths and weaknesses. Experienced programmers know that one language might work well in some situations, whereas a different language may be more appropriate in other situations. • For this reason, seasoned programmers try to master as many different programming languages as they can, giving them access to a vast arsenal of software-development tools. • If you learn to program using one language, you should find it easy to pick up other languages. The key is to learn how to solve problems using a programming approach. That is the main theme of this course. Image Credit: ubergizmo
  • 5. What We’ll Be Using In This Class Your laptop (or a university computer) The Python computer language (free!)
  • 6. Who Created Python? • The Python language was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the Netherlands • Van Rossum needed to carry out repetitive tasks for administering computer systems. He was dissatisfied with other available languages that were optimized for writing large and fast programs. • He needed to write smaller programs that didn’t have to run at optimum speed. It was important to him that he could author the programs quickly and update them quickly as his needs changed. • Therefore, he designed a language that made it very easy to work with complex data.
  • 7. The History Of Python • Python 2.0 was released on October 16, 2000. With this release the development process was changed and became more transparent and community-backed. • Python 3.0 (also called Python 3000 or py3k), a major, backwards-incompatible release, was released on December 3, 2008 after a long period of testing. Many of its major features have been backported to the backwards-compatible Python 2.6 and 2.7. • Python 2.x is very popular right now, we'll be learning Python 3.x because it's the future of Python.
  • 8. Top 30 Programming Languages
  • 9. What Is Python? • Python is a widely used general-purpose, high-level programming language. • Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. • Python supports multiple programming paradigms, including object-oriented, imperative and functional programming.
  • 10. Where Can I Run Python Programs? • Python interpreters are available for installation on many operating systems, allowing Python code execution on a majority of systems. • Python code can be packaged into stand-alone executable programs for some of the most popular operating systems, allowing for the distribution of Python-based software for use on those environments without requiring the installation of a Python interpreter. • CPython, the reference implementation of Python, is free and open- source software and has a community-based development model, as do nearly all of its alternative implementations. CPython is managed by the non-profit Python Software Foundation. Image Credit: Logo Database,
  • 11. Why Do People Like Python? • Python has a much simpler and cleaner syntax than other popular languages such as Java, C, and C++, which makes it easier to learn. • You can try out short Python programs in an interactive environment, which encourages experimentation and rapid turnaround. • Python is also very portable between computer systems. The same Python program will run, without change, on Windows, UNIX, Linux, or Macintosh. Image Credit: Hans-Jörg Aleff
  • 12. Let’s Get A Copy Of Python Go to the Python Software Foundation’s website: https://www.python.org/
  • 13. Let’s Get A Copy Of Python
  • 14. Say Hello To IDLE • IDLE (Integrated DeveLopment Environment) is an integrated development environment for Python. • IDLE is intended to be a simple IDE and suitable for beginners, especially in an educational environment. • Since van Rossum named the language Python partly to honor British comedy group Monty Python, the name IDLE was probably also chosen partly to honor Eric Idle, one of Monty Python's founding members.
  • 15. How The Python Interpreter Works
  • 16. Our First Program: Hello World! • Python is case sensitive. You must enter upper- and lowercase letters exactly as they appear in a program listing. • You cannot type Print or PRINT. Image Credit: ClipArt Best
  • 17. A Closer Look At Our First Program • # My first Python program. – This is a comment – it’s for you, not the computer – Comments begin with # and are not statements. • print("Hello, World!") – displays a line of text, namely “Hello, World!”. – We call a function named print and pass it the information to be displayed. – A function is a collection of programming instructions that carry out a particular task. – It is part of the Python language.
  • 19. Your First Python Assignment 1. Write a Python program to print a happy face to the screen 2. Grab a copy of the screen 3. Print it out 4. Bring it to the next class 5. Show it to Dr. Anderson
  • 20. What’s In Your Python Toolbox? print()
  • 21. What We Covered Today 1. Learned who invented Python and why. 2. Came to understand what Python is good at doing. 3. Downloaded and installed a copy of the Python interpreter. 4. Discovered the built-in IDLE IDE. 5. Used our first BIF: print() Image Credit: http://www.tswdj.com/blog/2011/05/17/the-grooms-checklist/
  • 22. What We’ll Be Covering Next Time 1. Variables 2. Math! Image Credit: http://merchantblog.thefind.com/2011/01/merchant-newsletter/resolve-to-take-advantage-of-these-5-e-commerce-trends/attachment/crystal-ball-fullsize/

Notas del editor

  1. New name for the class I know what this means Technical professionals are who get hired This means much more than just having a narrow vertical knowledge of some subject area. It means that you know how to produce an outcome that I value. I’m willing to pay you to do that.