Python tutorial – How to create basic functions

In Python, a function is a block of code that only runs when it is called later on in the code. Data can be passed into the functions too. One example of a function is print. It runs when it is called in the code, and the text you put inside the bracket is theContinue reading “Python tutorial – How to create basic functions”

Rate This

Python tutorials #1 – basic calculator

This is the first of my Python tutorials! Python is a programming language but unlike C++ and Java, is easier to learn but can still be used to create amazing programs such as web browsers, calculators, word processors, and more. But unlike Scratch, a GUI used to make games and other projects aimed at beginnersContinue reading “Python tutorials #1 – basic calculator”

Rate This

One lovely blog award – who are my favourite bloggers?

This challenge has spread across the internet like fire (I didn’t create this challenge) so I have decided to do one. Basically, I have to tell you 7 things about my character. And up to 15 bloggers I enjoy. I have over 40 followers, but as there are limits (a few don’t have blogs) andContinue reading “One lovely blog award – who are my favourite bloggers?”

Rate This

Python, GTK and WebKit – creating a web browser – Part 2

IF YOU HAVE NOT YET, PLEASE READ PART 1 BEFORE CONTINUING! In Part 1, I showed you how to create a very basic web browser in Python with WebKit and GTK. It is a great example of Python’s power, but there was no refresh button. Part 2 focuses on adding this feature so you can refreshContinue reading “Python, GTK and WebKit – creating a web browser – Part 2”

Rate This

Unofficial Raspberry Pi Clock Application

Hi guys. Today I have been experimenting with Python and Pygame. I managed to make a clock application for the Raspberry Pi. Here is the code: import pygame, sys, time pygame.init() screen = pygame.display.set_mode((1184, 624), pygame.FULLSCREEN) pygame.display.set_caption(“Raspberry Pi Clock”) clockFont = pygame.font.Font(None, 72) clock = pygame.time.Clock() ##COLOURS WHITE = (255, 255, 255) RED = (255,Continue reading “Unofficial Raspberry Pi Clock Application”

Rate This

MCPE Multiplayer with Minecraft Pi Edition

The Pi Edition is based on an old version of MCPE, isn’t it. Can you play multiplayer between the two? If you download a 0.6.1 APK you can play multiplayer by opening a world on the Pi Edition and pressing Join Game on the Pocket Edition. Amazing!      

Rate This