Re: Adding a 'struct' into new python type

2015-03-08 Thread Lakshmipathi.G
Hi Jason, Thanks for the response. Okay, Will try to convert 'struct test' into new python object (say 'PyStructTest') and include it inside CountDictType as pyobject instead of 'struct'. Will post details here, If i encounter any issues. Cheers,

Adding a 'struct' into new python type

2015-03-07 Thread Lakshmipathi.G
unt; char c; struct test t1; //?? how to add this } CountDict; How to do achieve this? (Due to legacy code dependency, I can't use ctype/cpython etc). thanks for any help/pointers. Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in/readme.html -- https://mail.python.org/mailman/listinfo/python-list

Re: how avoid delay while returning from C-python api?

2014-05-30 Thread Lakshmipathi.G
Yes, Cython looks easier but the problem its a very old code ( 6 or 7 years ). Almost entire code base uses plain python-c api. Thanks for the example, will use Cython or Ctypes way for side-projects! Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in/readme.html -- https

Re: how avoid delay while returning from C-python api?

2014-05-28 Thread Lakshmipathi.G
Thanks! Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- https://mail.python.org/mailman/listinfo/python-list

how avoid delay while returning from C-python api?

2014-05-28 Thread Lakshmipathi.G
lay time? Thanks for any help/pointers! Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- https://mail.python.org/mailman/listinfo/python-list

Re: Reading c struct via python

2013-11-13 Thread Lakshmipathi.G
ee Bieber AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ > > -- > https://mail.python.org/mailman/listinfo/python-list > -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- https://mail.python.org/mailman/listinfo/python-list

Reading c struct via python

2013-11-11 Thread Lakshmipathi.G
cussed often, please redirect me to that thread. -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- https://mail.python.org/mailman/listinfo/python-list

Re: Reg secure python environment with web terminal emulator

2013-08-08 Thread Lakshmipathi.G
ore about running process as an isolated box. Thanks for the suggestions and inputs. -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- http://mail.python.org/mailman/listinfo/python-list

Re: Reg secure python environment with web terminal emulator

2013-08-07 Thread Lakshmipathi.G
f user invokes subprocess or os.system('sudo') calls due to system constraints. Could you please share more info about creating raw binary executable and its potential problem. Thanks for your response. -- ---- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- http://mail.pyt

Re: Reg secure python environment with web terminal emulator

2013-08-07 Thread Lakshmipathi.G
ties) 3- Keep only very basic modules under /usr/lib/python<>/site-packages and delete the others. Thanks. -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in On Wed, Aug 7, 2013 at 11:35 AM, dieter wrote: > "Lakshmipathi.G" writes: > >> We have a ser

Re: pexpect, loading an entry field

2013-08-07 Thread Lakshmipathi.G
pect.EOF,timeout=20) Execute above program (change remote ip and password) - If it works then its not an issue with pexpect or python environment. -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in On Tue, Aug 6, 2013 at 11:33 PM, inq1ltd wrote: > > >> pexpect

Re: pexpect, loading an entry field

2013-08-06 Thread Lakshmipathi.G
pexpect looks simple to use. Please check this example http://www.pythonforbeginners.com/systems-programming/how-to-use-the-pexpect-module-in-python/ -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in On Tue, Aug 6, 2013 at 8:35 PM, inq1ltd wrote: > python help; > > >

Reg secure python environment with web terminal emulator

2013-08-06 Thread Lakshmipathi.G
right one. Thanks for any help. -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- http://mail.python.org/mailman/listinfo/python-list