Re: freakin out over C++ module in python

2006-04-20 Thread nephish
sounds cool, most stuff i write is strife with try - except thanks for the tip -sk -- http://mail.python.org/mailman/listinfo/python-list

Re: freakin out over C++ module in python

2006-04-19 Thread Serge Orlov
[EMAIL PROTECTED] wrote: > wow , thanks for the tips and the link.. i can at least see whats going > on here. > this project is beginning to look believable to me. > > i have another question.. later , in this same class, after it goes > thru some error handling, it returns like this > return COM_

Re: freakin out over C++ module in python

2006-04-19 Thread nephish
wow , thanks for the tips and the link.. i can at least see whats going on here. this project is beginning to look believable to me. i have another question.. later , in this same class, after it goes thru some error handling, it returns like this return COM_SUCCESS; but i cannot find where COM_SU

Re: freakin out over C++ module in python

2006-04-19 Thread Serge Orlov
[EMAIL PROTECTED] wrote: > pyconstruct looks cool. i dont know if the classes are using the plain > berkely-ish code. i couldn't find anything in it that pointed to send() > recv(), & such. i found other stuff like SetSocketOpt() and so on like > this : > > long CClientSocket::ConnectToServer(LPCTS

Re: freakin out over C++ module in python

2006-04-18 Thread nephish
pyconstruct looks cool. i dont know if the classes are using the plain berkely-ish code. i couldn't find anything in it that pointed to send() recv(), & such. i found other stuff like SetSocketOpt() and so on like this : long CClientSocket::ConnectToServer(LPCTSTR serverAddr, UINT port) {

Re: freakin out over C++ module in python

2006-04-18 Thread Michael Ekstrand
[EMAIL PROTECTED] wrote: > i would go thru it line by line, but i just dont know enough about C++, > how it pulls off a socket connection, etc.. and some of the things i > dont know how to do in python. like how to make an unsigned long init. The networking code in C++ should be at least vaguely s

Re: freakin out over C++ module in python

2006-04-18 Thread Jay Parlar
On Apr 18, 2006, at 4:43 AM, [EMAIL PROTECTED] wrote: > ok, well enough, looked at struct and it does seem to be what i am > after. for that anyway. > thanks, guess i will just have to take the time and pull it apart. > I recommend you also take a look at http://pyconstruct.sourceforge.net/ I

Re: freakin out over C++ module in python

2006-04-18 Thread nephish
ok, well enough, looked at struct and it does seem to be what i am after. for that anyway. thanks, guess i will just have to take the time and pull it apart. cheers sk -- http://mail.python.org/mailman/listinfo/python-list

Re: freakin out over C++ module in python

2006-04-18 Thread Diez B. Roggisch
> and so, i guess the main question i have is is there a module or > program that will parse these classes and duplicate them for a python > module ? Some kind of code translator ? Or is that just way out there? No, there isn't. > i would go thru it line by line, but i just dont know enough a