1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus

Slides:



Advertisements
Similar presentations
COMPANY LOGO HERE Getting Started 1. Download the setup file: Go to Click on the Visit Setup Page link (includes Java.
Advertisements

COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Click Here for Download the Installation Files Click Here for Guide How to Extract Installation Files.
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Winmail.dat what it is and what to do with it This guide tells you all about winmail.dat files and the WMDecode decoder Instructions for installing WMDecode.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Scite Scintilla integrated text editor. Click here.
This is your desktop. Open a browser and Click on this link.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
What Is Malwarebytes? Malwarebytes is a free anti- malware program. Anti-malware programs are specifically designed to find and remove malware on your.
How to install the Zelle graphics package
Microsoft Office 2013 ®® Appendix A Introduction to Cloud Computing.
The Online Guide to Creating Podcasts Presented by The Portland Public Schools Multimedia Library Downloading and Installing the Software.
PYTHON: LESSON 1 Catherine and Annie. WHAT IS PYTHON ANYWAY?  Python is a programming language.  But what’s a programming language?  It’s a language.
Chapter 1: Python Basics CSCI-UA 0002 – Introduction to Computer Programming Mr. Joel Kemp.
Agenda What is Computer Programming? The Programming Process
What is GAMS?.
Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,
Module 6 Using the Internet for Working & Learning.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Download Dropbox Download should start immediately Save download file:
Introduction to Programming Workshop 1 PHYS1101 Discovery Skills in Physics Dr. Nigel Dipper Room 125d
 We are going to learn about programming in general…How to think logically and problem solve. The programming language we will use is Python. This is.
(1) A Beginner’s Quick Start to SIMICS. (2) Disclaimer This is a quick start document to help users get set up quickly Does not replace the user guide.
Itty Bitty Computer Directions on how to install Linux on your flash drive and have the smallest computer you can afford right now!
Python From the book “Think Python”
Intro to Google Docs Table of Contents Video What is Google Docs? What can you do with it? Creating a new document Uploading an existing document.
How to Download Sermons from the LBC Sermon Website To Download or to listen then please follow the instructions in the boxes (similar to this one) that.
Loading Audacity and the LAME encoder for MP3 exports.
Instructor: Chris Trenkov Hands-on Course Python for Absolute Beginners (Spring 2015) Class #001 (January 17, 2015)
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
Make a dice challenge! This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Copy the code below in.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
You Need an Interpreter!. Closing the GAP Thus far, we’ve been struggling to speak to computers in “their” language, maybe its time we spoke to them in.
 Linux Mint is a computer operating system designed to work on most modern systems, including typical x86 and x64 PC’s. Linux Mint can be thought of.
ENDNOTE Installation Guide. E ENDNOTE ON LIBRARY PAGE ( Scroll down to see download instructions.
Installing NVU A full-featured web page editor. NVU has two great virtues: 1. It’s good 2. Its’ free!
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
5. Loops 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Let’s Learn 3. Modules Saenthong School, January – February 2016
Computer Eng. Software Lab II , Semester 2, Who I am: Andrew Davison CoE, WiG Lab Office Functional Programming.
ENDNOTE Installation Guide. E ENDNOTE ON LIBRARY PAGE ( Scroll down to see download instructions.
we are going to write our Assembly language program as sample ex01.asm. So that we can attempt our assigment.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
HOW TO FIX MSVCR100. DLL IS MISSING ERROR? missing-error.
Trend Micro Support for Installing the Latest Version Security 2016.
Intro to Google Docs 2014.
Let’s Learn 12. Packaging a Game Saengthong School, June – August 2016
Development Environment
CST 1101 Problem Solving Using Computers
Technology Staff Development, April 2011
A Playful Introduction to Programming by Jason R. Briggs
Let’s Learn 2. Installing Pygame
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
How to Install an old version of Adobe Reader on Mac OS.
What are variables? Using input()
Let's Learn Python and Pygame
Week 1 Computer Programming Year 9 – Unit 9.04
8. Starting Pygame Let's Learn Python and Pygame
Let's Learn Python and Pygame
BSc in Digital Media, PSUIC
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
What are variables? Using input()
Introduction In today’s lesson we will look at: why Python?
Mendeley Download Instructions
What are variables? Using input()
HOW TO CREATE BIBLIOGRAPHY:
Presentation transcript:

1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus

 A computer is a machine that stores data.  A program is a set of instructions that tells a computer what to do with the data. 0. Computers and Programs 2

Why Learn to Program?  Makes you a clever user of computers  It's fun!  You make stuff (programs) that do things  Helps you learn problem solving skills  Programmers get jobs 3

Why Learn Python?  The Python programming language is aimed at beginners  It's easy to learn and use  Powerful  Lots of program libraries  Free  Runs on everything  Lots of users; lots of help online  Used in the real world

 1. Go to the Python webpage  2. Download version (or higher)  3. Wait a while...  4. Start Installer  5. Click PATH and press "Install Now"  6. Click "Close" at end  7. Check the Menu for Python 1. Installing Python on your PC 6

Python Webpage click here 7

Python Download Page click here 8

Wait for Installer to Appear on your PC 9

Start Installer click here 10

Click PATH & Press "Install Now" 11

Setup in Progress 12

Press Close at End of Installer 13

Check the Menu for Python 14

 There are lots of ways of starting Python 1.from the Python menu, start IDLE (a Python editor) 2.from the Python menu, start Python 3.start Python from the Windows command line  (2) and (3) start the same Python 2. Starting Python 15 The easiest

2.1. Start IDLE (a Python editor) 16

Inside IDLE I typed help() and to start "help" I typed quit to leave "help" but still be in IDLE 17

Get Python to do Things I typed these and 18

Some Math Operations 19 and (... ) around the maths, if you want

Some Maths to Try 20

Leaving IDLE and Python 21

22 Other Ways to Leave IDLE >>>exit() >>>quit() >>> CtrlD+ Any one of these

2.2. Start Python (but no editor) 23

Inside Python I typed help() and to start "help" I typed quit to leave "help" but still be in Python I typed ctrl-Z and to leave Python 24

Start Python from Windows Command Line Start Windows "Command Prompt" program 25

2.3. Start Python in the Command Window I typed python and to start "python" 26

Leaving Python in the Command Window I typed help() and to start "help" I typed quit to leave "help" but still be in Python I typed ctrl-Z and to leave Python but still be in the Command Window 27

3. Programming with Python in IDLE 28

29

 1. Start IDLE  2. Create a new program file  3. Write a Python program into the file  4. Save the program file.  give the file a name, e.g. test1  5. Check the file is on your PC 4. Writing a Python Program 30

Create a new Program File 31

Write a Program into the File 32

Save the program file 33

Type in a File name I'm saving the file as "test1" on the Desktop 34

Check the file is on your PC The file is called "test1.py" on the Desktop 35

 Two ways:  run your program inside IDLE  run your program in the Command Window 5. Running your Program 36

5.1. Running your Program in IDLE 37

Open (Load) test1.py 38

Run the program using "Run Module" (F5) 39

Python Runs (Executes) your Program 40

5.2. Run from the Command Prompt I typed cd Desktop to move to the desktop I typed python test1.py to run the program This is the program running. 41

6. Python Documentation (docs) 42

Or from Help in IDLE 43

The First Doc Page 44