[Tutor] Generating XML using Python

2011-04-10 Thread tee chwee liong
hi, i'm using python to generate xml with elementtree api. and i'm getting error when opening the output xml. it doesnt give error when running. i also tried to use python to output to a text file and it works without any error. Pls advise me how i can rectify the error when opening the out

[Tutor] Python to XML

2011-04-10 Thread tee chwee liong
hi, i just started to learn xml using python and i'm getting error when opening the output xml. it doesnt give error when running. i also tried to use python to output to a text file and it works without any error. Pls advise me how i can rectify the error when opening the output xml. attach

Re: [Tutor] How to design the structure of multi-steps(and substeps) scripts

2011-04-10 Thread Steven D'Aprano
On Mon, Apr 11, 2011 at 08:43:25AM +0800, leechau wrote: > Hi everybody. I wrote a script to run BVT and it's code structure like this: What's BVT? > def step1: > local_var1 = ... > # some other variable definitions for step1 > def substep11: > pass > def substep12: >

[Tutor] How to design the structure of multi-steps(and substeps) scripts

2011-04-10 Thread leechau
Hi everybody. I wrote a script to run BVT and it's code structure like this: def step1: local_var1 = ... # some other variable definitions for step1 def substep11: pass def substep12: pass # more substeps def step2: local_var1 = ... # some other variabl

Re: [Tutor] Python 3.2 Install Not Responding To Python Command!!

2011-04-10 Thread Walter Prins
On 9 April 2011 19:45, Nevins Duret wrote: > I can't thank you enough for your help. Yes, I usually use the Synaptic > Package Manager, however in this case, Python version 3.2 is not on the > Synaptic package Manager. This is why I chose to build it from source. As > far as what I think is ca

[Tutor] Cherrypy and Wysiwyg editor

2011-04-10 Thread Andrés Chandía
I have put a textarea at a web generated by cherrypy, but I would like to add  some user editing tool like HtmlArea, I've been sufing arround but I haven't found clear information. I would appreciate your help! ___ andrés chandía P No imprima innecesariament

Re: [Tutor] Cherrypy and Iframes (or how to insert a file in a, page)

2011-04-10 Thread Andrés Chandía
Thanks a lot Alan, I'm a complete newbe in cherrypy, actually this is my first cherrypy, so I had to go arround many tries to reach the goal, but your help was valuable and finally this is the config that gave me success: class helloworld(object):     indexpage = indexpage()     _cp_config = {