Skip to content

Instantly share code, notes, and snippets.

View python4d's full-sized avatar

Python4D python4d

  • Python4D
  • Chalon sur Saône
View GitHub Profile
@python4d
python4d / grosse_lettre.py
Last active December 18, 2020 13:31 — forked from vampjaz/letters.py
Print out large ASCII block letters using python
letters = { "a":[ "####","# #", "####", "# #", "# #"], "b":[ "###", "# #","###","# #","###"], "c":[ "###", "#", "#", "#", "###"], "d":[ "##", "# #", "# #", "# #", "##"], "e":[ "###", "#", "###", "#", "###"], "f":[ "###", "#", "###", "#", "#"], "g":[ "###", "# #", "###", " #", "###"], "h":[ "# #", "# #", "###", "# #", "# #"], "i":[ "###", " #", " #", " #", "###"], "j":[ "###", " #", " #", " #", "##"], "k":[ "# #", "##", "#", "##", "# #"], "l":[ "#", "#", "#", "#", "###"], "m":[ "# #", "###", "###", "# #", "# #"], "n":[ "###", "# #", "# #", "# #", "# #"], "o":[ "###", "# #", "# #", "# #", "###"], "p":[ "###", "# #", "###", "#", "#"], "q":[ "###", "# #", "###", " #", " #"], "r":[ "###", "# #", "##", "# #", "# #"], "s":[ "###", "#", "###", " #", "###"], "t":[ "###", " #", " #", " #", " #"], "u":[ "# #", "# #", "# #", "# #", "###"], "v":[ "# #", "# #", "# #", "# #", " #"], "w":[ "# #", "# #", "# #", "###", "###"], "x":[ "# #", " #", " #", " #", "# #"], "y":[ "# #", "# #", "###", " #", "###"], "z":[ "###"
@python4d
python4d / Box2D_test.py
Created October 4, 2012 16:26
Simple game code which uses Module Box2D pour Python
#!/usr/bin/python
# -*- coding: iso-8859-15 -*-
'''
Created on 22 fvr. 2012
@author: damien samain
'''
import random
import pygame
from Box2D import *