Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(71)  |  Call(27)  |  Derive(0)  |  Import(44)

src/u/l/UlDunAd-HEAD/src/scenes/Dungeon/Field.py   UlDunAd(Download)
from OpenGL.GL import *
from OpenGL.GLU import *
from Cell import Cell
                    h = getHeight(line[x])
                    if h > 0:
                        self.grid[(x+1,y-1)] = Cell(scene.engine, path, h)
            #2 lines after the grid is the player's position
            elif y == self.dimensions[1] + 3:

src/p/y/python-roguelike-HEAD/Level.py   python-roguelike(Download)
	def __init__(self, numberOfRooms):
		self.dungeon = NewDungeonGenerator.Dungeon(numberOfRooms) 
		self.width = self.dungeon.mapWidth
		self.height = self.dungeon.mapHeight
		self.cells = [[Cell.Cell(self, (x, y)) for x in range(self.width)] for y in range(self.height)]

src/p/y/PyVerilog-HEAD/Module.py   PyVerilog(Download)
    def new_cell(self, cellAttr):
        cellAttr["module"] = self
        # create new cell here     
        cell = Cell.Cell(cellAttr)
        self.__cells[cell.name] = cell

src/s/p/SpiffWikiMarkup-0.4.0/src/SpiffWikiMarkup/Html2Wiki.py   SpiffWikiMarkup(Download)
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
import HTMLParser, re, sys
from Cell import Cell
class Html2Wiki(HTMLParser.HTMLParser):
    def start_td(self, attrs):
        self.in_td = True
        cell       = Cell()
        for key, value in attrs: