Source

pygamegsoc12 / alchemymadness / resources.py

Full commit
import pygame
import skelutil

background = None
block = None
sblock = None

def init():
    global background, block, sblock
    background = pygame.image.load(skelutil.data_dir("bg.png")).convert_alpha()
    block = pygame.image.load(skelutil.data_dir("block.png")).convert_alpha()
    sblock = pygame.transform.scale(block, (int(block.get_rect()[2]/2), int(block.get_rect()[3])))
    print block, sblock