Programming on the Raspberry Pi – Program in python

How to create a window in Python 2.7: Open Python 2.7 (Idle) from the programming menu and type in the following: import pygame pygame.init() screen = pygame.display.set_mode([640, 480]) pygame.display.set_caption("Hello Python World!") NOTE: You can change the title to whatever you want the window to be called. Save and press F5 on the keyboard. Our Window: … Continue reading Programming on the Raspberry Pi – Program in python

Teleporter for Minecraft Pi! Raspbian Jessie!!!!

I wanted to do a feature for Raspbian Jessie users for Minecraft Pi Teleporting. My Wheezy Teleporter is here: https://coolchasgamer.wordpress.com/2016/05/23/teleporter-for-minecraft-pi-raspbian-wheezy-tutorial/ The Jessie Teleporter: Make a new file called teleporter.py in /home/Pi and copy the following text and post it into geany (type gksu into LXTerminal and then type apt-get install geany if you don't have geany … Continue reading Teleporter for Minecraft Pi! Raspbian Jessie!!!!

Teleporter for Minecraft Pi! Raspbian Wheezy Tutorial!

Use a teleporter in Minecraft Pi on Raspbian Wheezy by opening LXTerminal and typing cd mcpi/api/python/mcpi and then typing in nano teleporter.py. The code is below. from minecraft import Minecraft from time import sleep mc = Minecraft.create() x, y, z = mc.player.getPos() sleep(5) mc.postToChat("Teleporting in 3s") sleep(1) mc.postToChat("2s") sleep(1) mc.postToChat("1s") sleep(1) mc.postToChat("Wooooooooooo!") mc.setPos(x, y+1000, z) … Continue reading Teleporter for Minecraft Pi! Raspbian Wheezy Tutorial!

Raspbian Jessie, NOOBS and Raspberry Pi 3!

Today I got my RPi 3 and was SOOOOOOOOOOOOOOOOOOOOOOOO excited to see what was new. I inserted a microSD card with NOOBS on it. Then Raspbian Jessie acually worked and booted. It was slow at first but booted. I was logged in automaticly as pi and when Jessie's interface loaded I was sooooo excited! LibreOffice! … Continue reading Raspbian Jessie, NOOBS and Raspberry Pi 3!