If I have to write an extension module with many objects, how can I
organizing the code?
I think: every object in a separate file, and a last file with the
PyInit_. function. But is unmenageable .
Solutions?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
On 28 Apr, 17:09, Astley Le Jasper wrote:
> Hi,
>
> I've just stumbled over this (http://showmedo.com/) and being the very
> visual person I am, it seems like it could be a good way to learn
> about python. However, before I smack down $60, I wondered if anyone
> had any opinions on it. My gut fee
On 28 Apr, 17:24, Li Wang wrote:
> 2009/4/29 Tim Chase :
>
> > Li Wang wrote:
>
> >> Hi:
>
> >> If I use an integer to represent bits:
> >> e.g. 99 represents '1100011'
>
> >> How can I locate, say the second bit of 99(i.e. '1')?
>
> >> Although bin(99)[4] could be used to locate it, this transfor
On 28 Apr, 17:02, Brock wrote:
> Hi Everyone,
>
> I know this is most likely a basic question and you will roll your
> eyes, but I am just starting out with Python (hobbyist) and I see many
> tutorials on the web referring to the use of external modules.
>
> However, when I locate them, they often
On 28 Apr, 16:36, Li Wang wrote:
> Hi:
>
> If I use an integer to represent bits:
> e.g. 99 represents '1100011'
>
> How can I locate, say the second bit of 99(i.e. '1')?
>
> Although bin(99)[4] could be used to locate it, this transform cost
> too much memory (99 only needs 2Bytes, while string '
On 28 Apr, 15:01, Stef Mientki wrote:
> hello,
>
> I have a class, derived from some user defined class
> (User_Defined_Ancestor) and some basic class (Basic_Ancestor).
>
> One of the major tasks of the Basic_Ancestor,
> is to hide all kinds of implementation details for the user,
> so the user ca