Lorenz Quack wrote:
I guess, using PyQt4 lately I followed their convention.
Also using methods makes it more explicit that the values are read-only.
I think that in a pure Python library it's more important to
follow Python conventions than those of some other language
or library. If PyQT has
That would be great can you please send me your script for reference
Thanks
Ian
On 30 Oct 2014 09:15, "diliup gabadamudalige" wrote:
> I use py2ex.
> I pack sound, images and fonts as data into py files so that py2exe
> produces only 1 exe file with no other files or folders. workds only
> wind
Hi Diliup,
I am interested in seeing your py2exe script.
Thank you,
Noel
On Thu, Oct 30, 2014 at 5:15 AM, diliup gabadamudalige
wrote:
> I use py2ex.
> I pack sound, images and fonts as data into py files so that py2exe
> produces only 1 exe file with no other files or folders. workds only
> w
Hi,
I implemented something similar in pure python if you're interested:
https://github.com/vxgmichel/pygame-mvctools/blob/master/mvctools/common.py
It is called "xytuple" and subclasses namedtuple("xytuple",("x","y")).
It overrides base operation methods (such as __add__) to make it
term-to-term
Hi Christopher,
good question.
Currently the Vector types are implemented in a C-extension and I'm not sure how to subclass from a pure python object
in C. I'm sure it's possible just that I've never done it before.
But I am afraid that you would have to go through the Python API to access any a
On 29/10/14 21:36, Greg Ewing wrote:
Lorenz Quack wrote:
* you cannot access the components x/y/z directly...
> use ... new accessor methods x()/y()/z()
Is this change really necessary? It will be a big backward
step for code readability.
There shouldn't be any reason you can't provide rea
I have added the announcement to the News section on pygame.org. Thanks,
Michael.
Jason
On Wed, Oct 29, 2014 at 9:44 PM, Michael Dale Long
wrote:
> Hello,
>
> This is more PySDL2 related news than it is PyGame related, but this list
> seems to be the best place to post it. I've created a simpl
I use py2ex.
I pack sound, images and fonts as data into py files so that py2exe
produces only 1 exe file with no other files or folders. workds only
windows.
if you like i can send you my py2exe script.
On Wed, Oct 29, 2014 at 11:12 PM, Ian Dickinson
wrote:
> Thanks thats great
>
> On 29 Octob