C++ equivalent of comp.lang.python?

2008-01-03 Thread brzrkr0
Hopefully this isn't too OT. One thing I like about comp.lang.python is the breadth of topics discussed here. People can ask about Python installation and configuration issues on specific platforms, compare third party libraries, ask for book recommendations, and discuss current Python projects.

Re: Code Management

2007-11-20 Thread brzrkr0
On Nov 20, 4:09 pm, Jens <[EMAIL PROTECTED]> wrote: > Dear Reader, > > I'm writing some modules in Python, and I'm also using unittests. I'm > wondering about some things: I'd love to hear how others manage this sort of thing as well. I'll describe what I've found works best for me, and if others

Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread brzrkr0
On Nov 8, 4:07 am, [EMAIL PROTECTED] wrote: > I tried to change the code above (just for fun) so in both cases i'll > use python25.lib and in debug compilation I got linker errors on > unresolved externals. seems like the debug version exports more > methods than the release version. I usually jus

Re: Tracebacks for `exec`ed code?

2007-04-30 Thread brzrkr0
On Apr 29, 2:40 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Adam Atlas schrieb: > > > Is it possible to make more traceback information available for > > exceptions code dynamically run via `exec`? Normally it just says > > things like "File '', line 3, in ?", which is not very > > helpful.

Re: comparison with None

2007-04-18 Thread brzrkr0
On Apr 18, 3:19 pm, Steven Howe <[EMAIL PROTECTED]> wrote: > I've read and found that 'None' comparisons is not always a good idea. > Better to: > from types import NoneType > > x = None > if type( x ) == NoneType: > # true > < code > > else: > # false; do something else. > < more c

Re: Newbie - needs help

2007-04-04 Thread brzrkr0
On Apr 3, 4:28 pm, "7stud" <[EMAIL PROTECTED]> wrote: > "Learning Python" can be purchased at amazon.com. Or, not as good: > "Beginning Python: From Novice to Professional". If you get the > second one, you'll need "Python in a Nutshell: A Desktop Quick > Reference" to fill in all the gaps. If y