Re: [BangPypers] using IPython from pdb

2010-02-04 Thread Senthil Kumaran
On Thu, Feb 04, 2010 at 12:55:08PM +0530, steve wrote: > than the standard python interface, I would recommend trying out bpython: > > http://bpython-interpreter.org/ This is cool. Thanks for pointing out. -- Senthil If you just try long enough and hard enough, you can always manage to boot your

[BangPypers] Help -- Python with C

2010-02-04 Thread VIJAY KUMAR
Hi ,     I wanted to call the function defined in C in to python module.   C filedummy_c_module.c contains below      int dummy_c_function(int value)     {    int ret;    ret = value + 5;    return ret;        }     I have Python module  dummy_p_module.py

Re: [BangPypers] Help -- Python with C

2010-02-04 Thread Madhusudhan sunkara
here is good starting point : http://superjared.com/entry/anatomy-python-c-module/ On Thu, Feb 4, 2010 at 2:29 PM, VIJAY KUMAR wrote: > Hi , > I wanted to call the function defined in C in to python module. > > C filedummy_c_module.c contains below > >int dummy_c_function(int v

Re: [BangPypers] Help -- Python with C

2010-02-04 Thread Senthil Kumaran
On Thu, Feb 04, 2010 at 02:29:29PM +0530, VIJAY KUMAR wrote: >     I wanted to call the function defined in C in to python module. Follow the examples given here: http://nedbatchelder.com/text/whirlext.html You should be able to convert you C function into a proper python module. -- Senthil I

Re: [BangPypers] Help -- Python with C

2010-02-04 Thread Noufal Ibrahim
On Thu, Feb 4, 2010 at 2:29 PM, VIJAY KUMAR wrote: > Hi , >     I wanted to call the function defined in C in to python module. > > C filedummy_c_module.c contains below > >    int dummy_c_function(int value) >     { >    int ret; >    ret = value + 5; >    ret

[BangPypers] execute any .exe at remote system !

2010-02-04 Thread aßlเίlαslเ
Hi I want to execute a python program in my local system, by that I can run any .exe file at a remote system. How to go about ?? -- aßlเίlαslเ ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] execute any .exe at remote system !

2010-02-04 Thread Senthil Kumaran
On Thu, Feb 04, 2010 at 11:26:03PM +0530, aßlเίlαslเ wrote: > I want to execute a python program in my local system, by that I can run > any .exe file at a remote system. > How to go about ?? Execute it through ssh. man ssh and wrap it around python. -- Senthil Remember that there is an

[BangPypers] [OT] Read how twitter is using Scala.

2010-02-04 Thread Srinivas Reddy Thatiparthy
http://www.artima.com/scalazine/articles/twitter_on_scala.html Regards, ~ Srini T ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] execute any .exe at remote system !

2010-02-04 Thread Anand Balachandran Pillai
On Fri, Feb 5, 2010 at 8:18 AM, Senthil Kumaran wrote: > On Thu, Feb 04, 2010 at 11:26:03PM +0530, aßlเίlαslเ wrote: > > I want to execute a python program in my local system, by that I can > run > > any .exe file at a remote system. > > How to go about ?? > > Execute it through ssh. man

Re: [BangPypers] execute any .exe at remote system !

2010-02-04 Thread Senthil Kumaran
On Fri, Feb 5, 2010 at 11:17 AM, Anand Balachandran Pillai < abpil...@gmail.com> wrote: > > There are a few Python solutions to this. You can try paramiko, > pydsh and the like. > > Yeah Paramiko would be more pythonic, but please be aware that it has its own share of limitations. I guess SSH 1 i