Re: [BangPypers] Parsing and updating XML files with python

2011-11-17 Thread Balachandran Sivakumar
Hi, On Thu, Nov 17, 2011 at 7:27 PM, Gora Mohanty wrote: > On Thu, Nov 17, 2011 at 4:47 PM, Balachandran Sivakumar > wrote: > > To update an element, just assign a value to it, e.g., >  myelem.text = "New value" > You can then save the modified XML to a new file. > Please see http://infohost.nmt

[BangPypers] python to work with DPX image file

2011-11-17 Thread aßlเίlαslเ
Hello Friends, Can any one please let me know how to get the height and width of a .dpx format image? Any python module that can work with dpx file format? Thanks, -- aßlเίlαslเ ___ BangPypers mailing list BangPypers@python.org http://mail.p

Re: [BangPypers] Parsing and updating XML files with python

2011-11-17 Thread Gora Mohanty
On Thu, Nov 17, 2011 at 4:47 PM, Balachandran Sivakumar wrote: > Hi, > >             I have to parse an xml file, get to a spefic node, and > set it to a different value and write it back to the file. What is the > best way to do it ? The xml file can be a few hundred lines(with > proper formattin

[BangPypers] Parsing and updating XML files with python

2011-11-17 Thread Balachandran Sivakumar
Hi, I have to parse an xml file, get to a spefic node, and set it to a different value and write it back to the file. What is the best way to do it ? The xml file can be a few hundred lines(with proper formatting). For parsing, I use lxml with xpath. I am doing something like this.

[BangPypers] ProgressBar - Python and Powershell

2011-11-17 Thread Nikunj.Badjatya
Hi All, I am using Python 2.7, windows Env. I have an Installer written in Python(45%) and Powershell(55%) which is used to install Virtual Machines at specific locations. It is single threaded. I am trying to implement a ProgressBar for this installer. So that the user will come to know the p

Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-17 Thread Gora Mohanty
On Thu, Nov 17, 2011 at 7:03 AM, kracekumar ramaraju wrote: [...] > One advice is use css to set colors.In your template check for color value > ="red" and then render css for that colour, else if you are using only 2 > colour you can  even and odd property. [...] Reportlab generates PDF, which i