Description:
The Python computer language.
|
|
|
About py2exe "bundle_files" setting?
|
|
Hi Guys,
Now I met an issue to use py2exe when I use bundle_files = 1.As the statement by py2exe,it means it will generate standalone EXE in stead of lots of ".dll & .pyc".But it crash when I use bundle_files = 1 or bundle_files = 2,if I use =3 it is okey.I 've search this issue by google, it is not the Individual case only by me!!! Any guru have the advice for this?I use python 2.7.4 and the py2exe version is 0.6.9(latest).If anyone have the direction I'll share my full package.... more »
|
|
socket programming
|
|
I'm writing a simple app that uses socket programming, I'm using the following from tutorialspoint as a framework but I'm having a couple of issues implementing it. First - this code constantly loops around an open socket. Is there a way to use something like an interrupt so I don't have to loop constantly to monitor the socket?... more »
|
|
Collision of Two Rect
|
|
When rect A collides with rect B they stick when I am wanting A to bounce off of B. I have tried different methods, but none seem to work. My source is here: [link]
The collision code itself is below:
------
...if paddle_rect.colliderect(ball_r ect):
y_vel*=-1
x_vel*=-1... more »
|
|
|