You can use py2exe's "bundle my files" parameter. That adds the zip
file to the exe. Browse around in the py2exe docs and examples, it'll
tell you how to do it and how to get a file pointer back out.
-FM
On Fri, Jan 2, 2009 at 4:45 PM, Noah Kantrowitz wrote:
>
> On Jan 2, 2009, at 5:39 PM, Ian
On Jan 2, 2009, at 5:39 PM, Ian Mallett wrote:
Yes, I've gotten it to work that way, but I want the file to be
inside the .exe itself, not just in the same folder ;)
http://code.google.com/p/pefile/ can access the resource fields of an
executable. You will either need to buffer the data in
Yes, I've gotten it to work that way, but I want the file to be inside the
.exe itself, not just in the same folder ;)
first sorry for my english.
you can put the file .mpg in folder dist created by py2exe, and in your code
you call the movie. Will be that?
On Fri, Jan 2, 2009 at 6:49 PM, Ian Mallett wrote:
> Hi,
>
> I have a .mpg movie that I want to play in a .exe, but I also want the
> movie file to be inc
Hi,
I have a .mpg movie that I want to play in a .exe, but I also want the movie
file to be included inside the .exe itself. I came up with two solutions:
1. Supposedly, this is possible with py2exe, but I don't know how. I looked
at http://www.py2exe.org/index.cgi/CustomDataInExe, I couldn't fi
Weeble -
You nailed it! Thanks for your help - it is very much appreciated.
Michael
Michael Phipps:
> Anyway, if someone wants to take a look, the code is attached...
In this line:
blocksprite = self.makenewblocksprite(group)
You create a new sprite and add it to "group", but you do not remove
the old one. So you end up with a group filled with many sprites. The
reason you do
On Thu, Jan 1, 2009 at 15:57, Bill Seitz wrote:
> I'd like to get my sons (age 10 and 8) programming, but the only hook
> that I think will get them started is the ability to make a kinda cool
> game.
>
> Ideally, I'd like to see a tutorial that leads them down the path of
> making a starter non-
>As for the splitting the sprites, I considered that. The problem is that when
>a row is complete (just like in >Tetris), a whole piece that fell wouldn't
>necessarily disappear, but only part of one. I guess I could separate >each
>piece into multiple sprites, but that would involve dozens of s