OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1:...

4
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction

Transcript of OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1:...

Page 1: OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.

OCR GCSE Computing © Hodder Education 2013 Slide 1

OCR GCSE Computing

Python programming1: Introduction

Page 2: OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.

OCR GCSE Computing © Hodder Education 2013 Slide 2

Index to topics: Installing PythonThe command prompt and operatorsBuilt in functionsWriting programs Input and outputVariables and constantsProgram flow controlFun with stringsTuples and listsFilesWriting your own functions

Page 3: OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.

OCR GCSE Computing © Hodder Education 2013 Slide 3

Python 1: Introduction

Why learn Python?• simple to learn;• clear syntax;• a real language used by many large organisations;• modular – there are many plug-in modules that

extend the power of the language, such as graphical interfaces;

• interpreted – no need to compile and link;• easy to write short programs – you need less code to

write a Python program than in many other languages;

• readable.

Page 4: OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.

OCR GCSE Computing © Hodder Education 2013 Slide 4

Python 1: Introduction• http://www.python.org/getit/• Make sure to get Python 3;• Choose the command line to experiment;• Choose the GUI for writing programs.