On Wed, 12 May 2010 00:35:27 -0500
Luke Paireepinart wrote:
> I'd have rather you top-posted, then I wouldn't have wasted 30 seconds
> scrolling past a bunch of irrelevant crap that I just gloss over
> anyway.
> If I want context I'll read the previous messages in the thread.
> but that's just MH
I'm just not going to quote previous threads because with my top-posting and
dave's bottom-posting and whatever the heck Siva's posting was... whatever.
Read previous e-mails if you need context.
Siva is it possible that you accidentally installed the 64-bit version of
python 3.1?
___
I'd have rather you top-posted, then I wouldn't have wasted 30 seconds
scrolling past a bunch of irrelevant crap that I just gloss over
anyway.
If I want context I'll read the previous messages in the thread.
but that's just MHO.
-Luke
On Tue, May 11, 2010 at 9:28 PM, Dave Angel wrote:
> (1. Plea
I really thank you all for the quick response, It was really helpful!!
On Tue, May 11, 2010 at 7:28 PM, Dave Angel wrote:
> (1. Please don't top-post. It gets everything out of sequence, and is the
> wrong convention for this forum
> 2. Be sure and do a reply-all, so that the message goes to
(1. Please don't top-post. It gets everything out of sequence, and is
the wrong convention for this forum
2. Be sure and do a reply-all, so that the message goes to the forum.
I'm not here to give private advice.
3. Use your editor's reply-quoting so that we can tell who wrote which
parts. No
ramya natarajan wrote:
Hello,
I am very beginner to programming, I got task to Write a loop that
reads
each line of a file and counts the number of lines that are read until
the
total length of the lines is 1,000 characters. I have to read lines from
files exactly upto 1000 characters.
Her
Sivapathasuntha Aruliah wrote:
Hi
I am learning Python. When I tried to run any of the program for example
csv2html1_ans.py it displays the following message. This error is coming
on both Python24 & Python 31. That is whether i give the any one of the
following command
COMMAND GIVEN
1.C:\pyt
"spir ☣" wrote
Either you read line per line, but then you cannot stop exactly at the 1000th
character;
or you traverse the text char per char, but this is a bit picky.
Or you could just read 1000 chars from the file then pick out the lines from
that.
But that requires you to count newlin
> On Sat, May 8, 2010 at 5:31 PM, Kirk Z Bailey wrote:
>>
>>> An instructor of mine is about to teach the FIRST EVER class in Python at
>>> Saint Petersburg College; knowing I am a snakecharmer, he asked me for
>>> referrals to online resources.
>>>
>>> Oh my.
>>>
>>
>
> Here is another resource, t
"Sivapathasuntha Aruliah" wrote
I am learning Python. When I tried to run any of the program for example
csv2html1_ans.py it displays the following message. This error is coming
on both Python24 & Python 31. That is whether i give the any one of the
following command
COMMAND GIVEN
1.C:\pyt
"ramya natarajan" wrote
characters.But the problem is its reading entire line and not stopping
excatly in 1000 characters.
Do you really need to stop reading the file at 1000 characters rather
than the line containing the 1000th character? That seems a very
arbitrary sort of thing to do.
On 12-May-2010, at 12:32 AM, spir ☣ wrote:
> On Tue, 11 May 2010 11:00:20 -0700
> ramya natarajan wrote:
>
>> Hello,
>>
>> I am very beginner to programming, I got task to Write a loop that reads
>> each line of a file and counts the number of lines that are read until the
>> total length of
On Tue, 11 May 2010 11:00:20 -0700
ramya natarajan wrote:
> Hello,
>
> I am very beginner to programming, I got task to Write a loop that reads
> each line of a file and counts the number of lines that are read until the
> total length of the lines is 1,000 characters. I have to read lines fro
On Tue, May 11, 2010 at 1:00 PM, ramya natarajan wrote:
> Hello, I have to read lines from
> files exactly upto 1000 characters.
>But the problem is its reading entire line and not stopping
> excatly in 1000 characters. Can some one help what mistake i am doing here?.
>
> log = open('/tmp/new.t
Hello,
I am very beginner to programming, I got task to Write a loop that reads
each line of a file and counts the number of lines that are read until the
total length of the lines is 1,000 characters. I have to read lines from
files exactly upto 1000 characters.
Here is my code:
I created fil
probably need to do something like
python C:\py3eg\quadratic.py
your cmd prompt/shell should know "python" is a command
On Tue, May 11, 2010 at 2:43 AM, Sivapathasuntha Aruliah <
sivapathasuntha.arul...@amkor.com> wrote:
>
> Hi
> I am learning Python. When I tried to run any of the program for
Hi
I am learning Python. When I tried to run any of the program for example
csv2html1_ans.py it displays the following message. This error is coming
on both Python24 & Python 31. That is whether i give the any one of the
following command
COMMAND GIVEN
1.C:\python24\python.exe C:\py3eg\quadrati
On Tue, 11 May 2010 11:54:13 pm Art Kendall wrote:
> I am learning python and I want to see how long parts of of a process
> take. Are there system variables that can just be displayed?
> how do I get variables that contain the wall time (x) and the elapsed
> time (y)?
Get the current time in sec
I am learning python and I want to see how long parts of of a process
take. Are there system variables that can just be displayed?
how do I get variables that contain the wall time (x) and the elapsed
time (y)?
I would like to put little messages on the screen while I am developing
a python s
19 matches
Mail list logo