Hi
I have a text file that I would like to split up so that I can use it in
Excel to filter a certain field. However as it is a flat text file I
need to do some processing on it so that Excel can correctly import it.
File Example:
tag descVR VM
(0012,0042) Cl
I think I have a solution.
File
(0012,0042) Clinical Trial Subject Reading ID LO 1
(0012,0050) Clinical Trial Time Point ID LO 1
(0012,0051) Clinical Trial Time Point Description ST 1
(0012,0060) Clinical Trial Coordinating Center Name LO 1
(0018,0010) Contrast/Bolus
Cairo does do it to files, but -- that's from your source. That's for if
you draw something with python and then want to save it to an svg. It
doesn't take something that's already an svg and convert it or display it.
PIL will let me take advantage of all kind of graphical formats, but not any
t
Gardner, Dean wrote:
> Hi
>
> I have a text file that I would like to split up so that I can use it in
> Excel to filter a certain field. However as it is a flat text file I
> need to do some processing on it so that Excel can correctly import it.
>
> File Example:
> tag desc
Gardner, Dean wrote:
> Hi
>
> I have a text file that I would like to split up so that I can use it in
> Excel to filter a certain field. However as it is a flat text file I
> need to do some processing on it so that Excel can correctly import it.
>
> File Example:
> tag desc
Argh... My e-mail program really messed up the threads. I didn't notice
that there was already multiple replies to this message.
Doh!
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gardner, Dean
> Sent: Wednesday, June 27, 2007 3:59 AM
> To: tutor@python.org
> Subject: [Tutor] Regular Expression help
>
> Hi
>
> I have a text file that I would like to split up so that I
> ca
On Jun 27, 2007, at 10:24 AM, Mike Hansen wrote:
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Gardner, Dean
>> Sent: Wednesday, June 27, 2007 3:59 AM
>> To: tutor@python.org
>> Subject: [Tutor] Regular Expression help
>>
>> Hi
>>
>> I have
I was reading over the documentation for the tarfile module and it
occurred to me that there didn't seem to be a way to remove an
individual file from the tar.
For example, suppose I did this:
import tarfile
tar = tarfile.open("sample.tar", "w")
tar.add("unwanted")
tar.add("wanted")
tar.close()
Tom Tucker wrote:
> #matchstr regex flow
> # (\(\d+,\d+\)) # (0018,0014)
> # \s # [space]
> # (..*)# Contrast/Bolus Administration Route Sequence
> # \s # space
> # ([a-z]{2}) # SQ - two letters and no more
> # \s # [s
Gardner, Dean wrote:
> Hi
>
> I have a text file that I would like to split up so that I can use it in
> Excel to filter a certain field. However as it is a flat text file I
> need to do some processing on it so that Excel can correctly import it.
>
> File Example:
> tag desc
Gardner, Dean wrote:
> Hi
>
> I have a text file that I would like to split up so that I can use it in
> Excel to filter a certain field. However as it is a flat text file I
> need to do some processing on it so that Excel can correctly import it.
>
> File Example:
> tag desc
Gardner, Dean wrote:
> Hi
>
> I have a text file that I would like to split up so that I can use it in
> Excel to filter a certain field. However as it is a flat text file I
> need to do some processing on it so that Excel can correctly import it.
>
> File Example:
> tag desc
Yikes! Sorry about all the duplicate postings. Thunderbird was telling
me the send failed so I kept retrying; I guess it was actually sending!
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
* Adam A. Zajac <[EMAIL PROTECTED]> [2007-06-27 11:26]:
> I was reading over the documentation for the tarfile module and it
> occurred to me that there didn't seem to be a way to remove an
> individual file from the tar.
>
> For example, suppose I did this:
>
> import tarfile
> tar = tarfile.ope
Firstly, I'd like to thank everyone for their help. I ended up throwing
something together using dictionaries (because I understood those best out
of what I had), that was a lot faster than my initial attempt, but have run
into a different problem, that I was hoping for help with. So, what I have
Lauren wrote:
> Firstly, I'd like to thank everyone for their help. I ended up
> throwing something together using dictionaries (because I understood
> those best out of what I had), that was a lot faster than my initial
> attempt, but have run into a different problem, that I was hoping for
>
thanks evryone for your help am starting on the project :)
On 6/25/07, János Juhász <[EMAIL PROTECTED]> wrote:
Dear dos,
>>hello i am looking into writing a simple python port scanner but i cant
find
>>any good tutorials online if anyone can help or knows of any tutorials
that
>>could help it
Gardner, Dean wrote:
> Hi
>
> I have a text file that I would like to split up so that I can use it in
> Excel to filter a certain field. However as it is a flat text file I
> need to do some processing on it so that Excel can correctly import it.
>
> File Example:
> tag desc
19 matches
Mail list logo