Re: [Tutor] Reading .csv data vs. reading an array

2019-07-13 Thread Mats Wichmann
On 7/11/19 8:15 AM, Chip Wachob wrote: kinda restating what Oscar said, he came to the same conclusions, I'm just being a lot more wordy: > So, here's where it gets interesting. And, I'm presuming that someone out > there knows exactly what is going on and can help me get past this hurdle.

Re: [Tutor] How to store output of Python program in XML

2019-07-13 Thread Alan Gauld via Tutor
On 13/07/2019 07:40, Asad wrote: > want to print the output of the script in a xml file so that I can add some > tags . How can it be done ? XML is just text dso you can just use the normal Python string operations to format an XML string with your data. However there are XML libraries aplenty

Re: [Tutor] Multiprocessing with many input input parameters

2019-07-13 Thread Mike Barnett
Right, I meant tuple, not list. a = ('A string') b = ('A List Member',) print(a[0]) print(b[0]) The output for this is: A A List Member @mike -Original Message- From: Cameron Simpson Sent: Friday, July 12, 2019 7:59 PM To: Mike Barnett Cc: Shall, Sydney ; tutor@python.org

[Tutor] How to store output of Python program in XML

2019-07-13 Thread Asad
Hi All , I written a python script which opens a logfile and searches for error and based or error found it prints a solution to screen , instead I want to print the output of the script in a xml file so that I can add some tags . How can it be done ? Thanks, -- Asad Hasan +91