A question of style .....

Discussion in 'Python' started by tuxagb, Jul 15, 2009.

  1. tuxagb

    tuxagb Guest

    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!
    tuxagb, Jul 15, 2009
    #1
    1. Advertising

  2. tuxagb

    Bearophile Guest

    tuxagb:
    > 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?


    What do you think about using Cython?

    Bye,
    bearophile
    Bearophile, Jul 15, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Nicholson
    Replies:
    3
    Views:
    722
    Rob Nicholson
    May 28, 2005
  2. Replies:
    0
    Views:
    2,454
  3. Replies:
    1
    Views:
    788
    Bertilo Wennergren
    Nov 24, 2003
  4. Hardeep Rakhra
    Replies:
    8
    Views:
    641
    Hardeep Rakhra
    Jan 15, 2004
  5. Ken Varn
    Replies:
    0
    Views:
    446
    Ken Varn
    Apr 26, 2004
Loading...

Share This Page