Showing results for "Python"

Showing 71 results

Show
results per page

This full program code demonstrates how arguments can be passed to Python programs at the command line. The program dynamically generates graphics, and the user can change parameters for the graphics using command line arguments. Suggestions for additional challenges are also included.

This intermediate-level guide shows how BASH scripts can be used to handle files and to integrate other programming languages such as Perl. String manipulation features heavily in the exercises. A challenge is set to use a Python program along with a shell script.

It is a valuable experience for students to experience coding in a variety of languages. This worksheet introduces the functional paradigm and compares functional coding in Python and Haskell. The resource is a useful introduction to the Haskell language.

This activity can be used to introduce pupils to, or consolidate understanding of computing programming. Pupils will learn how programming is used on Mars and to understand the importance of this before using the programme ‘Python’ to complete their own computer code. This activity as part of the ‘Roving with...

This article includes all the code needed to make a simple game which captures keyboard events and uses multimedia. It uses the Pygame library, and includes graphics control and basic collision detection.

The activity is suitable as an introduction to programming with Python, or as a fully working program...

This activity follows on from a previous graphics surface project. Previously a single graphics surface was created - this Python program uses multiple surfaces to build more complex graphics and to create effective animations.

Students are encouraged to experiment with the behaviour of the program, and to...

This resource is designed as an introduction to activities available using a Raspberry Pi computer. The introduction explains:
*what a Raspberry Pi is: a small, affordable yet powerful computer
*what can be learnt from this manual: how to perform simple programming and the basics of computer science...

The BrickPi is an interface between the Raspberry Pi and LEGO Mindstorms or EV3 sensors and motors, a portable power source for the Raspberry Pi, and a case that allows you to attach LEGO motors, beams, sensors, and other parts.

This resource includes guidance on setting up and programming the Raspberry Pi...

A highly technical overview of how sound is represented in a computer, how digitising sound changes the quality of it and how reducing the sample rates can effect the resulting audio. The resource also comes with a number of sound samples to illustrate these concepts, along with both Python and Scratch programs to...

In this, the final activity of a sequence of eight, children are asked to use their knowledge to create a challenge using Rapid Router, solvable using Python. It will ask their partner to use procedures, increment variables and apply different methods of control flow.

The resource includes an overview of...

This project, exploring basic encryption, is a useful introduction to data security as well as iterating through strings to manipulate them. The program create a ‘substitution cipher’, one of the most basic forms of encryption. It also demonstrates that, for more complex chained commands, Scratch becomes rather...

This collection of resources supports computing and computer science in upper secondary schools. The resources offer in-depth learning opportunities covering programming with Python as well as other aspects of the curriculum.

The copyright for the collection is owned by Axlesoft Ltd and is available for use...

In this activity, part of a group of Python inspired resources,  students will learn how to write a Python program telling people all about you.

...

This presentation guides students through an explanation & coded simulation of Bubble Sort. Students can add to this later by adding another option for Merge Sort with the potential to then measure the time taken for each algorithm to form a...

This edition of the Computing at School newsletter focuses on Computational Thinking, and contains articles covering:

*The importance of computational thinking

*...

Pages