Showing results for "Python"
Showing 65 results
This learning resource is an introduction to programming with Python. Versions are included for Python 2.7 and Python 3. The fundamentals of programming are covered: • Arithmetic operations • Data types • Control flow As well as some more advanced techniciques including the use of: • Regular Expressions • Files •...
The aim of this workbook, written by Ali Mulla, is to provide a simple introduction for students to programming in the language Python. The book contains examples, tasks for students to complete and space for students to write their observations and answers to questions posed. The topics covered are: dealing with...
This activity in the Rapid Router series takes children further in their transition to text-based programming in Python.
By creating Blockly programs and comparing them to the automatically-generated Python code, children are encouraged to identify code which matches. The complexity of the problems is...
This lesson activity further develops Python programming ability by introducing additional commands such as WHILE, IF, ELSE and ELIF. Debugging of programs is featured, and extension activities lead to the writing of functions that use COUNT IN RANGE() to control repetition. Students are also encouraged to mark-up...
In this Rapid Router activity, children progress from block-based programming to the textual environment of Python. In doing so they learn about the nature of text-based coding, including the need for precise syntax and how it is structured.
The progression is handled gently, with code compared in both...
Following on from the Key Stage 1 and Key Stage 2 Blockly activities using Rapid Router, this teacher guide introduces Python textual programming. The difficulty of the algorithm challenges and the coding required is raised to new levels, but adequate support is provided in the guides. This resource makes use of...
This activity makes the leap from Blockly to Python programming. The 'grocery van driving challenge' is reduced from previous lessons to allow students to concentrate on syntax and correct coding using a limited set of instructions. Matching of Blockly and Python code is encouraged to assist the transition.
...This resource includes two activities, demonstrating how to read and write to and from external text files. The first example shows how to use Python to create a html web page, which is then opened in a browser. The second program displays fading titles pulling data from an external text file, in this case a '...
This activity goes further into Python programming by expanding the range of repetition and selection commands used. Students also practice debugging of code.
Variables are explained before making use of incremented variables to solve challenges in Python.
Other programming practices, including...
This edition of the Computing at School newsletter contains articles covering:
*Increasing the number of girls studying computing
*Inclusion in computing
*Network of Excellence and CAS Hubs
*Learning about programming through knitting
*Programming with GameMaker
*...
In this project students learn to build a robot buggy using a Raspberry Pi. It contains detailed tutorials that cover:
- How to setup a motor controller board with two motors
- How to control motors using Python
- How to build a robot chassis
These activities are aimed at ...
Python can launch sub-processes that function separately. Using this approach it is possible to create any number of desktop widgets. This resource includes instructions to create two widgets: a simple RSS news reader and an image downloader for Astronomy Picture of the Day. Some additional Python modules must be...
This fully working Python project demonstrates a method of creating a gradient fill, to add depth to flat looking rectangles. It also shows how to use transparency effects to change the shape of gradient filled surfaces, how to plot points of a circle, and some examples of why you would want to do so. The activity...
Two documents cover the topics of functions and recursion. Students are provided with Python code and need to think through exactly what the code will do.