ok, SHOULD THIS BE A THREAD OR A SEPERATE LIST?
Many of ius are independants, and write code for the love of it- or to
promote and sell independantly. So possibly a thread discussing ways to
turn useful code into moiney is a useful idea. If the wish of the list
is a thread here, we can do
Kent Johnson [EMAIL PROTECTED] wrote in message
One final tip is to put the format string in a variable then use
that
in printing/writing the output ...
This has the advantage that you can build the format string
dynamically by examining the data first - eg the maximum
length of an entry.
My 2 cents worth is to set up something separate, it'll just keep the
principles and ideas clearer. While I have my own ideas about the
million dollar application, I would like a forum where I can just
listen and learn any type of ideas without having a worry that someone
will 'steal' my idea and
Jay Mutter III wrote:
Kent;
Thanks for the reply on tutor-python.
My data file which is just a .txt file created under WinXP by an OCR
program contains lines like:
A.-C. Manufacturing Company. (See Sebastian, A. A.,
and Capes, assignors.)
A. G. A. Railway Light Signal Co. (See
Jay Mutter III wrote:
Luke;
I'm a bit pressed for time right now and I can't look over this e-mail.
Please reply on-list in the future using the 'reply-all' feature.
You're more likely to get a prompt response.
(this e-mail is carbon copied to the list, so don't worry about sending
another.)
Kirk Bailey wrote:
ok, SHOULD THIS BE A THREAD OR A SEPERATE LIST?
Many of ius are independants, and write code for the love of it- or to
promote and sell independantly. So possibly a thread discussing ways to
turn useful code into moiney is a useful idea. If the wish of the list
is a
So be it.
The list now exists, and is called Coding4Cash.
Here is a weblink to it:
http://tech.groups.yahoo.com/group/coding4cash/
And here are email address':
Post message: [EMAIL PROTECTED]
Subscribe: [EMAIL PROTECTED]
Unsubscribe:[EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Hello!
I read this list because I'm new to Python and I really am learning an average
of something new I did not know from every digest hitting my inbox.
I have no interest on the matter of money.
Just my .02$.
-Omer Tabach
[EMAIL PROTECTED] wrote:
Message: 3
Date: Wed, 21 Mar 2007 23:13:57
hello, I typically run into this problem and I'm not always sure of the most
efficient way to handle it. I often work with multiple arrays of data, say
arrays a, b, and c, and I want to sort the elements of b and c based on a. for
example:
a = [3,2,1,4]
b = ['hi', 'my','name', 'is']
c =
Why is it that when I run the following interactively
f = open('Patents-1920.txt')
line = f.readline()
while line:
print line,
line = f.readline()
f.close()
I get an error message
File stdin, line 4
f.close()
^
SyntaxError: invalid syntax
but if i run it in a script there
I'll be giving a variety of Python courses this Spring. Daytime
courses are for visitors and locals who need Python training in the
shortest amount of time possible via consecutive workdays. Python is
certainly gaining momentum as our February course filled up
completely! Although I had planned
Jay Mutter III wrote:
Why is it that when I run the following interactively
f = open('Patents-1920.txt')
line = f.readline()
while line:
print line,
line = f.readline()
f.close()
I get an error message
File stdin, line 4
f.close()
^
SyntaxError: invalid syntax
In the interpreter this doesn't work:
f = open(rc:\python24\image.dat)
line = f.readline()
while line:
... line = f.readline()
... f.close()
Traceback ( File interactive input, line 3
f.close()
^
SyntaxError: invalid syntax
But this does:
f = open(rc:\python24\image.dat)
line =
Jeff Peery wrote:
hello, I typically run into this problem and I'm not always sure of the
most efficient way to handle it. I often work with multiple arrays of
data, say arrays a, b, and c, and I want to sort the elements of b and c
based on a. for example:
a = [3,2,1,4]
b = ['hi',
Thanks for all the responses, that is a huge help!
Jeff
Kent Johnson [EMAIL PROTECTED] wrote: Jeff Peery wrote:
hello, I typically run into this problem and I'm not always sure of the
most efficient way to handle it. I often work with multiple arrays of
data, say arrays a, b, and c, and I
I wanted the following to check each line and if it ends in a right
parentheses then write the entire line to one file and if not then
write the line to anther.
It wrote all of the ) to one file and the rest of the line (ie minus
the ) to the other file.
in_filename = raw_input('What is
On Thu, 22 Mar 2007, Jason Massey wrote:
In the interpreter this doesn't work:
f = open(rc:\python24\image.dat)
line = f.readline()
while line:
... line = f.readline()
... f.close()
Traceback ( File interactive input, line 3
f.close()
^
SyntaxError: invalid syntax
The
... what is '*' in '*temp'? thanks!
J
Kent Johnson [EMAIL PROTECTED] wrote: Jeff Peery wrote:
hello, I typically run into this problem and I'm not always sure of the
most efficient way to handle it. I often work with multiple arrays of
data, say arrays a, b, and c, and I want to sort the
Hi, this is some *really* beginner Python stuff, hope you folks could help
me.
I've been trying to make basic plots (line graphs) using the pyplot module
(wx.lib.plot) in wxPython. So far, so good. To start, I can use a class
like this (adapted from a demo) to draw a pre-defined graph:
19 matches
Mail list logo