Re: How to solve this problem

2011-08-09 Thread Katriel Cohn-Gordon
Unless you have the router configured to allow connections through to your local client, you will need the client to connect *outwards*, either to you or to an intermediate server. On Tue, Aug 9, 2011 at 12:10 PM, Johny wrote: > I have a client that is a part of a local network.This client has

Re: Embedded python console and FILE* in python 3.2

2011-08-08 Thread Katriel Cohn-Gordon
Is the `code` module (http://docs.python.org/library/code.html) an insufficiently exact copy of an interpreter for you? On Mon, Aug 8, 2011 at 4:17 PM, Francis Labarre wrote: > Hello everyone, > > I'm currently trying to port some embedded code from python 2.7 to python > 3.2. > > The current co

Re: making my extensions work together

2011-08-04 Thread Katriel Cohn-Gordon
Wrap your 3rd party library with a Python interface module, and run all calls from foo and goo through your interface. On Thu, Aug 4, 2011 at 2:48 PM, Mathew wrote: > more info. I have a large 3rd party library with a function that looks > like > this > void dumbfunc() { > static int statevar=0

Re: Syntactic sugar for assignment statements: one value to multiple targets?

2011-08-03 Thread Katriel Cohn-Gordon
On Wed, Aug 3, 2011 at 9:25 AM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > gc wrote: > > > Target lists using comma separation are great, but they don't work > > very well for this task. What I want is something like > > > > a,b,c,d,e = *dict() > > a, b, c, d, e = [dict() for