Title: Signature.html
Produce in the sense of movie producers. In any case, I mean own, host,
create and control. Yes, if it's uncontrolled, then it would be
difficult to find continuity. My suggestion is aimed at those who want
to use graphic material to support their questions or problems. Ma
On Tue, Apr 7, 2009 at 9:13 PM, Wayne Watson
wrote:
> Perhaps the Pyton organization could produce their mail lists, if they have
> any control over them. Maybe that's the source of the inconsistency? That
> is, some are not sponsored by them.
I don't really know what you mean by "produce" their
On Tue, Apr 7, 2009 at 6:34 PM, wrote:
> Hello everyone...
>
> My intention is to create a generic logging function I can use across
> scripts. I have a few things I would like this function to be able to
> accomplish:
>
> 1. log info and above to console
> 2. log debug and above to file
> 3. for
Title: Signature.html
Perhaps the Pyton organization could produce their mail lists, if they
have any control over them. Maybe that's the source of the
inconsistency? That is, some are not sponsored by them.
Alan Gauld wrote:
"Wayne
Watson" wrote
I offered in that thread that it mig
Hello everyone...
My intention is to create a generic logging function I can use across
scripts. I have a few things I would like this function to be able to
accomplish:
1. log info and above to console
2. log debug and above to file
3. format the output for each differently
4. allow areas
bob gailer wrote:
> Thanks for the request for clarification. By plain text I mean:
>
> one font and one size that is "readable". Most of the emails I
> receive appear the same in font and size, so whatever that is I
> like.
What's readable to you may not be readable to the next person though.
Mos
On Tue, Apr 7, 2009 at 2:59 PM, Pirritano, Matthew wrote:
> Traceback (most recent call last):
>
> File "C:\Projects\unicode_convert.py", line 8, in
>
> outp.write(outLine.strip()+'\n')
>
> UnicodeEncodeError: 'ascii' codec can't encode characters in position
> 640-641: ordinal not in rang
On Tue, Apr 7, 2009 at 11:59 AM, Pirritano, Matthew wrote:
> I did get an error…
>
>
>
> Traceback (most recent call last):
>
> File "C:\Projects\unicode_convert.py", line 8, in
>
> outp.write(outLine.strip()+'\n')
>
> UnicodeEncodeError: 'ascii' codec can't encode characters in position
>
"Wayne Watson" wrote
I offered in that thread that it might be useful to allow people to
post images and videos. They can sometimes be very useful
One response was that such sites are generally available.
Indeed and posting big images or any size video in a mailing list
would be very
I did get an error...
Traceback (most recent call last):
File "C:\Projects\unicode_convert.py", line 8, in
outp.write(outLine.strip()+'\n')
UnicodeEncodeError: 'ascii' codec can't encode characters in position
640-641: ordinal not in range(128)
Should I be worried about this. A
Title: Signature.html
In mulling over some comments in the thread "Please use plain text", I
have a suggestion. I offered in that thread that it might be useful to
allow people to post images and videos. They can sometimes be very
useful for understanding what's going on with a problem. I've ce
On Tue, Apr 7, 2009 at 10:57 AM, Pirritano, Matthew wrote:
> Excellent! Thanks Marc, Kent, and everyone. Marc your code worked. Now to
> see if it will run on the full 4.5 GB file! : )
>
Glad to help - but you should definitely take Kent's advice and replace my
strip() with rstrip(). Good luck!
Excellent! Thanks Marc, Kent, and everyone. Marc your code worked. Now
to see if it will run on the full 4.5 GB file! : )
Thanks
matt
Matthew Pirritano, Ph.D.
Research Analyst IV
Medical Services Initiative (MSI)
Orange County Health Care Agency
(714) 568-5648
On Tue, Apr 7, 2009 at 10:52 AM, Kent Johnson wrote:
> You really should use rstrip(), leading white space is generally
> significant in a text file, trailing white space not so much.
>
Good point.
--
www.fsrtechnologies.com
___
Tutor maillist - Tu
On Tue, Apr 7, 2009 at 1:11 PM, Marc Tompkins wrote:
> Anyway, try this -
>
>> import codecs
>>
>> inp = codecs.open('g:\\data\\amm\\text files\\test20090320.txt', 'r',
>> 'utf-16')
>> outp = open('g:\\data\\amm\\text files\\new_text_file.txt', 'w')
>>
>> for outLine in inp:
>> outp.write(outL
On Tue, Apr 7, 2009 at 10:26 AM, Pirritano, Matthew wrote:
> Thanks Marc,
>
>
>
> But I think that got rid of all of my carriage returns. Everything on just
> one line now.
>
Sorry! My bad! Try this instead:
> for outLine in inp:
> outp.write(outLine.strip() + '\n')
>
_
Thanks Marc,
But I think that got rid of all of my carriage returns. Everything on
just one line now.
Matthew Pirritano, Ph.D.
Research Analyst IV
Medical Services Initiative (MSI)
Orange County Health Care Agency
(714) 568-5648
From: tutor-bounces+mpi
On Tue, Apr 7, 2009 at 9:52 AM, Pirritano, Matthew wrote:
> So Kent's syntax worked to convert my Unicode file to plain text. But
> now my data is double space. How can I fix this. Here is the code I'm
> using.
>
Sounds like you're being stung by the difference in newline handling between
operat
On Tue, Apr 7, 2009 at 12:52 PM, Pirritano, Matthew
wrote:
> So Kent's syntax worked to convert my Unicode file to plain text. But
> now my data is double space. How can I fix this. Here is the code I'm
> using.
>
> import codecs
>
> inp = codecs.open('g:\\data\\amm\\text files\\test20090320.txt'
So Kent's syntax worked to convert my Unicode file to plain text. But
now my data is double space. How can I fix this. Here is the code I'm
using.
import codecs
inp = codecs.open('g:\\data\\amm\\text files\\test20090320.txt', 'r',
'utf-16')
outp = open('g:\\data\\amm\\text files\\new_text_file.t
Todd Zullinger wrote:
bob gailer wrote:
Please use plain text rather than formatted text.
Was sending this request in an html formatted message intentional? I
don't know about most folks, but I consider plain text to mean a
content-type of text/plain rather than text/html. :)
Than
Thanks all!
Kent, this syntax worked. I was able to figure it out the encoding just
with trial and error. It is utf16. Now the only thing is that the
conversion is double-spacing the lines of data. I'm thinking this must
be something that I need to fix in my syntax. I will continue to try and
figu
On Tue, Apr 7, 2009 at 10:44 AM, Pirritano, Matthew
wrote:
> How can I find out the type of coding that was used to create this file?
> Is there a way to do this other than just asking the person who created
> it? That is possible, but I was just curious.
If you can look at the data as hex value
EASTER - 2009
"He is no more in the grave, He is risen" Do you enjoy His presence in your
Heart?...
Let us reach multitudes with this message.
Please involve in our Good Shephered Ministries.
Pray and plane to visit and witness to share the greatest mirical of our Lord.
Praise Him Hallelujah.
Wit
I am using run>cmd in windows xp professional. The type command no
longer seems to work on this file now that it exceeds 4GB. Only about
63000 lines are converted out of the 2 million plus.
How can I find out the type of coding that was used to create this file?
Is there a way to do this other th
Title: Signature.html
Anyhow, this discussion has gone way off topic and I suggest all to
drop it as it will only lead to flame wars.
Greets
Sander
Maybe President Obama would step in. :-)
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01
2009/4/7 Wayne Watson :
> What I would consider a big difficulty with flat text is exactly that it is
> flat. There are lots of times, in my experience, when a graphic,
> particularly captured ones, can lead to much faster and smarter solution. I
> think this list may allow them, but it seems at a
[forwarded to list]
Le Tue, 7 Apr 2009 12:23:33 +0530,
Kumar s'exprima ainsi:
> Hi denis,
>
> Thanks a lot for the reply.
>
> Actually on our web application when we display the data, at that time we do
> parsing and make hyperlinks (through ) wherever possible. so if there is
> any url like (
Title: Signature.html
Thanks, but I'm not sure why people keep bringing up DS9. As I
understand it, it is a stand alone program of sorts that has no
interface with Python. It seems to me it would be like saying use Word
or Adobe Photoshop.
Stefan Schwarzburg wrote:
On Mon, Apr 6, 2009 at
Title: Signature.html
What I would consider a big difficulty with flat text is exactly that
it is flat. There are lots of times, in my experience, when a graphic,
particularly captured ones, can lead to much faster and smarter
solution. I think this list may allow them, but it seems at a delay.
"Sifis Sifakis" wrote
I'm a student in Applied Informatics and i need to make a project in
Python.
More specificaly,i have to create a simple online bookstore using Python.
We don;t do homework for you but we are happy to help with pointers
and bug fixing.
Could you also send me some sampl
"Pirritano, Matthew" wrote
I am a total newbie. I have a very large file > 4GB that I need to
convert from Unicode to plain text. I used to just use dos when the file
was < 4GB but it no longer seems to work. Can anyone point me to some
python code that might perform this function?
When you s
Le Mon, 6 Apr 2009 22:01:11 +0100,
"Alan Gauld" s'exprima ainsi:
> Web forums are far less useful than mailing lists for technical groups.
> They require internet access and a browser to read them.
> Many require a graphical browser so don't work in text mode
> terminals. Very few are available
33 matches
Mail list logo