0% found this document useful (0 votes)
39 views

PYTHON CHAP 1 - Introduction To Python (IDLE Shell)

This document introduces Python programming. It explains that a computer program consists of instructions given to a computer to perform tasks. Programming languages like Python allow humans to give those instructions in a language computers understand. Python is a quick, efficient, and user-friendly first programming language for beginners that has interactive shells and modules for graphics, games, and more. The document outlines how to get started with Python by installing it and using the IDLE editor to type and run code using the >>> prompt.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

PYTHON CHAP 1 - Introduction To Python (IDLE Shell)

This document introduces Python programming. It explains that a computer program consists of instructions given to a computer to perform tasks. Programming languages like Python allow humans to give those instructions in a language computers understand. Python is a quick, efficient, and user-friendly first programming language for beginners that has interactive shells and modules for graphics, games, and more. The document outlines how to get started with Python by installing it and using the IDLE editor to type and run code using the >>> prompt.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Introduction

to Python
Chapter1

11:11PM
Computer
program
A computer program is
actually a set of
instruction that WE give
to a computer to tell it
what to do.

Back
Computer
program
without instruction
computer is dump peace
of hardware. It does not
know what to do ifself.

Back
WHAT KIND OF
COMMAND !!
1. Web page
2. Create games
3. Help you with Homeworks

Back
Computer
Language
give instruction to the
computer in a language they
understand

Back
Progarmming
Language

Back
Doesn't require the use of
a lot of complicated
WHY Quick & Efficient
symbols
$//$
PYTHON ?
Its has interactive shell
User Friendly
can enter & run them

Turtle module for kids


fun for kids
learning

TKinter for
OTHER SERVICED
animations & graphics
n Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section H

How to Code
1. Install the Python

Back

n Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section H
https://www.python.org/downloads/
n Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section H

search IDLE application


to open editor window

n Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section H
-type your code & save it

why editor copy-paste

window ? -help with coding syntax.


it makes sure you write in
the correct python format

Back
>>> prompt
you can start give command

11:11PM
>>>print("Hello world")
this line is responsible for printing whatever is
placed inside the double quotes.

11:11PM
11:11PM
at the end you can save the file.

11:11PM
n Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section H

Thank You
next class: variables &
strings
Back to Agenda Page

n Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section Header • Section H

You might also like