On Sunday, Mar 13, 2005, at 05:01 America/Chicago,
[EMAIL PROTECTED] wrote:
if this is not a program please teach me what is a
program and what i need to know to write them and if this is a program
teach me
how to write better programs i can use outside of the python shell...
OK, how about this
The following program takes text data like this:
Jimi Hendrix
2100 South Ave
Seattle, WA 55408
and changes it to this
Jimi Hendrix, 2100 South Ave,Seattle,WA,55488
and writes it to a file. The problem I'm running into
is that it only writes this first address to a file
and there are several oth
Gopinath V, ASDC Chennai wrote:
HI all,
I'm trying a series of inputs ...i need to get the screen cleared
after every 5 inputs...can any 1 tell me how do I do it
Presuming you are using some kind of console window, you can do something
like
print '\n' * 50
Anything fancier is platform dependen
Dear Tutors,
A class was created to extend timedelta to add and
subtract months. Simple doctests that simply create an
instance of the class failed. Could someone please
explain this really funny behaviour.
Regards,
Jacob Abraham
from datetime import datetime, timedelta
class WeirdTimeDelta(
Title: command for clearing user screen input
HI all,
I'm trying a series of inputs ...i need to get the screen cleared after every 5 inputs...can any 1 tell me how do I do it
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 13, 2005 4:31 P
On Sun, 13 Mar 2005, R. Alan Monroe wrote:
> > ok i have learned that on the python shell or new window you can
> > type in..print "hello world"...and the output is ..'hello
> > world'.. or you can put in anything realy and it say it back to
> > you.is this a program or what
>
>
On Sat, 12 Mar 2005, [iso-8859-1] Jan Ekström wrote:
> I have looked through a lot of tutor documentation. But I would ask
> someone to show me python code for putting som data in a sqlite database
> and code showing how I get data out of such a database
Hi Jan,
You may want to look at:
On Sun, 13 Mar 2005, Danny Yoo wrote:
> Thanks for the reply..i wasn't sure how this works so I am glad there is
> someone that might be able to help me. Because this is an university
> assignment I am not sure how much of help you can provide..but here it
> goes.
[text cut]
As you might under
On Sun, 13 Mar 2005, Brian van den Broek wrote:
> jrlen balane said unto the world upon 2005-03-13 19:37:
> > so for example, i am creating a text file with file.write()
> >
> > how am i going to make the file a tab-delimited file??? any
> > parameters needed???
> >
>
> >>> record1 = ['Foo', 'B
jrlen balane said unto the world upon 2005-03-13 19:37:
so for example, i am creating a text file with file.write()
how am i going to make the file a tab-delimited file??? any
parameters needed???
>>> record1 = ['Foo', 'Bar', 'Baz']
>>> record2 = ['Ham', 'Spam', 'Eggs']
>>> records = [record1, reco
specifically, I want to write an array in to a text file, how am i
going to make the file a tab-delimited file???
On Mon, 14 Mar 2005 08:37:35 +0800, jrlen balane <[EMAIL PROTECTED]> wrote:
> so for example, i am creating a text file with
> file.write()
>
> how am i going to make the file a tab-
so for example, i am creating a text file with
file.write()
how am i going to make the file a tab-delimited file??? any parameters needed???
On Sun, 13 Mar 2005 15:59:46 -0800 (PST), Danny Yoo
<[EMAIL PROTECTED]> wrote:
>
>
> On Sun, 13 Mar 2005, jrlen balane wrote:
>
> > what does a tab del
On Sun, 13 Mar 2005, jrlen balane wrote:
> what does a tab delimited filename mean? how am i going to make this?
> also how does it differs from space delimited, csv, and others?
Hello,
As Kent mentioned, you probably mean "tab delimited file", which means a
file whose lines are split up into
> >
> > Where I come from, the output of a function is determined by the input
> > to the function.
>
> Well, actually, your being upset at that is the exact point of
> functional programming languages: in functional programming, the output
> of a function is determined by its input, and *
-- Forwarded message --
Date: Sun, 13 Mar 2005 21:58:09 +1100
From: oscar ng <[EMAIL PROTECTED]>
To: 'Danny Yoo' <[EMAIL PROTECTED]>
Subject: RE: [Tutor] Newbie in Python
Hi Danny,
Thanks for the reply..i wasn't sure how this works so I am glad there is
someone that might be abl
On Mar 13, 2005, at 18:38, Brian van den Broek wrote:
Thanks for the explanation, Sean.
The reference to grammatical theory here does seem to make sense. But,
relying on correspondence between the technical terms in
programming/comp. sci. and other fields with similar terminology can
get in the
Sean Perry said unto the world upon 2005-03-13 02:49:
Brian van den Broek wrote:
1) Namespace issues
With procedural (or imperative -- don't know which is the right terms
for non-OOP code which employs functions) code, you can have issues
caused by namespaces. Just yesterday, someone on the main py
jrlen balane wrote:
what does a tab delimited filename mean? how am i going to make this?
also how does it differs from space delimited, csv, and others?
I think you probably mean "tab-delimited file", not "filename".
A tab-delimited file is similar to a space-delimited file. It is typically a rec
Thanks John,
That works, the problem was that I had written
self.answer_ent.grid.delete(0.0, END)
However when I replaced the 0.0 with a 0, it worked
fine.
At least I found a work around but your idea is much
more elegant.
David
--- John Fouhy <[EMAIL PROTECTED]> wrote:
> David Holland wrote:
>
I have written a simple test your maths program.
There is just one question, how do you clear the text
in a tkinter widget ?
The only way that I could do it was to create a
function to create the entry widget and then have it
re-created. Is there a better way.
This is the way I did :-
def cr
what does a tab delimited filename mean? how am i going to make this?
also how does it differs from space delimited, csv, and others?
can't really find an article that could put me in the right direction
so i posted here. thanks in advance.
___
Tutor ma
> ok i have learned that on the python shell or new window you can type
in..print "hello world"...and the output is ..'hello world'.. or you
can
> put in anything realy and it say it back to you.is this a program or what
Yep, that's a program. Just an ultra, ultra-simple one.
> ok i have learned that on the python shell or new window you can
type
> in..>>>print "hello world"...and the output is ..'hello world'..
or you can
> put in anything realy and it say it back to you.is this a
program or what
Yes it is a program. And believe it or not the PC processor
[EMAIL PROTECTED] wrote:
*
ok i have learned that on the python shell or new window you can type
in..>>>print "hello world"...and the output is ..'hello world'.. or
you can put in anything realy and it say it back to you.is this a
program or what and what is the purpose of this can yo
ok i have learned that on the python shell or new window you can type in..>>>print "hello world"...and the output is ..'hello world'.. or you can put in anything realy and it say it back to you.is this a program or what and what is the purpose of this can you realy use this for any thi
25 matches
Mail list logo