[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] something ive done...



Am Sam, 2002-05-25 um 02.12 schrieb tomten:
> >
> Nice, and OpenGL to!
> Seams to have good potential of being the best vertical pygame shooter, 
> even though I've only been abel to view it in slowmo as my Linux GL 
> drivers don't work. Could you give a hint about what's keeping it from 
> working on windows? Also I noticed that indentation is a mixture of tabs 
> and spaces kept me from editing it in Pythonwin. I made a tabyfied 
> version if you want it.
> Keep it coming!

thanx, but I tabyfied it myself now, and deleted some dead code and
inserted some comments.
the problems with windows will be that the Filenames will be wrong ("/"
instead of "\" etc...) 

to fix this I thought I could write something like that:

def fn(filename):
	return os.path.join(string.split(filename, '/'))

but it seems that os.path.join only works with tuples and not with
lists. can anyone tell me how to convert a list to a tuple?

> Cheers.
> Fredrik C
> 
> 
Ciao Jan


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org