Re: [BangPypers] checking return status of 'ping' in windows

2012-01-22 Thread Senthil Kumaran
On Mon, Jan 23, 2012 at 11:12:38AM +0530, Mandar Vaze / मंदार वझे wrote: > If OP has requirements to run the code on non-english OS setup (Japanese, Did he mention about it ? If he did, then I might have missed it and yeah, true some other strategy has to be adopted. Moreover, dealing with non-eng

Re: [BangPypers] Setting Network settings from Python/Django

2012-01-22 Thread Mandar Vaze / मंदार वझे
> > I realize that I can could just overwrite the config files in linux but I > was wondering if there is a more "Python" way of doing it. > > I want any ready to use module is there, please guide me. > See if Fabric http://docs.fabfile.org/en/1.3.4/index.html is of any help. -Mandar

Re: [BangPypers] checking return status of 'ping' in windows

2012-01-22 Thread Mandar Vaze / मंदार वझे
> > Why don't you parse the output of the ping instead of the checking the > output status? When the interpretation of output status can be > If OP has requirements to run the code on non-english OS setup (Japanese, say) Then parsing for the output text may be problematic. Python implementation o

Re: [BangPypers] Fwd: Invitation for FOSSMeet 2012 at NIT Calicut

2012-01-22 Thread kracekumar ramaraju
Hi Speaking engagement at this event in Calicut, Kerala. Interested > folks can check it out. > > --Anand > > -- Forwarded message -- > From: Speakers Team > Date: Sat, Jan 21, 2012 at 5:03 PM > Subject: Invitation for FOSSMeet 2012 at NIT Calicut > To: abpil...@gmail.com > > > De

[BangPypers] Fwd: Invitation for FOSSMeet 2012 at NIT Calicut

2012-01-22 Thread Anand Balachandran Pillai
Speaking engagement at this event in Calicut, Kerala. Interested folks can check it out. --Anand -- Forwarded message -- From: Speakers Team Date: Sat, Jan 21, 2012 at 5:03 PM Subject: Invitation for FOSSMeet 2012 at NIT Calicut To: abpil...@gmail.com Dear Sir/Madam, We are

Re: [BangPypers] checking return status of 'ping' in windows

2012-01-22 Thread Senthil Kumaran
On Sat, Jan 21, 2012 at 11:59:40PM +0530, Nikunj Badjatya wrote: > How do I make my snippet to work as desired. i.e even if destination host > is unreachable, 'status' should hold '1' and hold '0' only when it gets > reply from that ip address.?? You are doing it right with subprocess and you can

[BangPypers] Reportlab Tool for dynamic reports

2012-01-22 Thread Asif Jamadar
Dear All, I'm using django and reportlab tool generate Dynamic PDF reports. All the data in report is coming from database. I'm generating dynamic PDF report using reportlab which consist of the data from database. My problem is whenever I restart apache server my PDF reports data is changing.

[BangPypers] Setting Network settings from Python/Django

2012-01-22 Thread Ganesh Kumar
Hi guys I'm working on a simple web interface for an embedded computer. The computer will ship with a static default ip that will then need to be updated by the install tech who may not be tech/linux savvy. Basicly I need to change the following system settings from a Django app. 1. IP Addres