View gist:f9d0bff85b58a889b48a58fa4a4fe249
from sys import exit
import pygame
from pygame.locals import *
SCREEN_SIZE = (1280, 960)
pygame.init()
screen = pygame.display.set_mode(SCREEN_SIZE, RESIZABLE, 32)
View bigfin.json
{
"slug": "txmn_bigfin",
"name_trans": "txmn_bigfin_name",
"description_trans": "txmn_bigfin_descr",
"category_trans": "txmn_bigfin_category",
"slug": "txmn_bigfin",
"name_trans": "txmn_bigfin_name",
"description_trans": "txmn_bigfin_descr",
"category_trans": "txmn_bigfin_category",
View gist:1785face7c5684916cde
static PyObject*
surf_blit_list (PyObject* self, PyObject* args)
{
SDL_Surface *src, *dest = PySurface_AsSurface (self);
GAME_Rect *src_rect, temp;
PyObject *srcobject, *argrect = NULL;
SDL_Rect dest_rect, sdlsrc_rect;
int result;
View gist:cbb6dba134fcd6edd96c
def set_position(self, x, y):
"""Set the X and Y coordinates of the sprite simultaneously.
:Parameters:
`x` : int
X coordinate of the sprite.
`y` : int
Y coordinate of the sprite.
"""
View flaskt_test.py
from glob import glob
from flask import Flask, jsonify
app = Flask(__name__)
scan_dir = 'c:\\*'
@app.route('/files')
def get_files():