Re: [BangPypers] Commenting code regions and indentation (Emacs, Python)

2011-12-08 Thread Vikas BN
Noufal, On Fri, Dec 9, 2011 at 12:22 PM, Noufal Ibrahim wrote: > The mode that's *not* part of Emacs. Correct? Yes, because I'm stuck with 21.1 :( > could try those. python-honour-comment-indentation mainly. Thanks! I'll try that out. -Vikas _

[BangPypers] Commenting code regions and indentation (Emacs, Python)

2011-12-08 Thread Vikas BN
Hi All,   I use Emacs for my editing and python-mode.el specifically for python editing.   However, I want to change the default behaviour of commenting regions in Emacs.   Currently, when I select a region and hit M-; Emacs comments out the region like so: def main():    if cond: #       a = b

Re: [BangPypers] ElementTree object instance evaluates to False?

2011-12-05 Thread Vikas BN
Hi Navin, On Tue, Dec 6, 2011 at 9:54 AM, Navin Kabra wrote: > On Tue, Dec 6, 2011 at 9:49 AM, Vikas BN wrote: >>    I'm working on a script to parse XML files and am using > > Any object that has a __len__ defined will evaulate to False in a > boolean context if __len

[BangPypers] ElementTree object instance evaluates to False?

2011-12-05 Thread Vikas BN
Hi All,    I'm working on a script to parse XML files and am using cElementTree for the same. However,    I was under the impression that anything that's a None type or 0 or "" would evaluate to False    and the rest would be True (incl an instance of an object).    That doesn't seem to work with

[BangPypers] [JOB] Sr. Software Engineer - Builds, CM and Product Delivery

2011-02-01 Thread Vikas BN
Hi All,   We at Xilinx are looking for a candidate who is conversant with Python/Perl and  has worked on developing   software on the Unix platform.   Location: Xilinx, Hyderabad   Summary: This exciting and challenging position involves the design, development and maintenance of a cutting edge

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Vikas BN
one that I know of is flickr. About the power of the language there are others on this list who can better articulate. -Vikas Sent from my mobile device On Dec 1, 2010 5:25 PM, "sreedhar ambati" wrote: Hi I am new to Python. I am from PHP,Microsoft .net background. Can you tell me the real pow

Re: [BangPypers] Live update of cmdline output on browser?

2010-06-14 Thread Vikas BN
Thanks all, I'll see how this goes and report back! On Tue, Jun 15, 2010 at 7:08 AM, Elvis Joel D'Souza wrote: > On Mon, Jun 14, 2010 at 8:53 PM, Noufal Ibrahim wrote: > > > On Mon, Jun 14, 2010 at 8:06 PM, Vikas BN wrote: > > [..] > > > Is there a way t

[BangPypers] Live update of cmdline output on browser?

2010-06-14 Thread Vikas BN
Hi All, I'm writing a django-based web app. One of the components involve executing a cmd-line script on the server. This script takes quite a bit of time (anywhere between a minute to about 20minutes) and is quite verbose. Is there a way to 'tail' the output of this script to the browser

Re: [BangPypers] XML manipulation using ElementTree

2010-05-07 Thread Vikas BN
Can you paste the traceback of the error you are getting? On Fri, May 7, 2010 at 4:32 PM, Keith Chapman wrote: >request.set( >"http://services.samples/xsd";> > > " + symbol + " > >" >) >return request > Aside, you might want to

Re: [BangPypers] [OT] Venue for PyCon India 2010

2010-05-03 Thread Vikas BN
On Tue, May 4, 2010 at 9:18 AM, Noufal Ibrahim wrote: > On Tue, May 4, 2010 at 9:14 AM, Vivek Khurana > wrote: > [..] > > Based on my experience on organizing conferences in colloeges, you > > should never rely on students. Best way is to contact the HOD of some > > department or even better ha

Re: [BangPypers] Cheap hosting

2010-04-14 Thread Vikas BN
On Wed, Apr 14, 2010 at 12:33 PM, Kenneth Gonsalves wrote: > On Wednesday 14 Apr 2010 12:02:01 pm Venkatraman S wrote: > > Am looking for some cheap site hosting solutions with reasonable > > performance. Any recos? > > > > webfaction - is shared hosting, utterly reliable and gives an almost root