Dear list:
My question is conceptual at the moment.
Current problem:
I have a windows-based program that reads in a file and from that file
generates data that is saved to a file.
The way we do this now is a person sits in front of their machine and
proceeds as follows:
1) Open windows
()
if __name__ == __main__:
Main()
-Original Message-
From: simon.brunn...@gmail.com
[mailto:simon.brunn...@gmail.com] On Behalf Of Simon Brunning
Sent: Friday, September 11, 2009 11:02 AM
To: Doran, Harold
Cc: python-list@python.org
Subject: Re: Use python to execute a windows program
To: python-list@python.org
Subject: Re: Use python to execute a windows program
On Fri, Sep 11, 2009 at 12:46 PM, Doran, Harold
hdo...@air.org wrote:
I am working with this now. I'm toying with the examples to
test out a
few things and learn how this works. I've made some
modifications
Thanks to some help I received on list the other day, I now have a very
nice windows-based application that implements multiple programs. This
is a very powerful tool. Now I am working to make this window pretty.
One problem I cannot find help on is how to make the windows a certain
size. For
I am currently reading An Intro to Tkinter (1999) by F. Lundh. This doc
was published in 1999 and I wonder if there is a more recent version.
I've googled a bit and this version is the one I keep finding. I like
how this document is organized and also how it provides the code with
visuals of what
Say I have multiple text files in a single directory, for illustration
they are called spam.txt and eggs.txt. All of these text files are
organized in exactly the same way. I have written a program that parses
each file one at a time. In other words, I need to run my program each
time I want to
I received some help on list with sample code on how to parse through an
xml file using element tree. I now have this working using toy examples
nicely. However, when I work to apply this to my actual xml file, I am
hitting a roadblock.
Is anyone on the list able to look at an xml file that I
I am a python neophyte who has used python to parse through text files using
basic functions and no OOP experience. I have a need to process some xml files
and from what I am now reading python is the exact tool I need to work through
this issue.
However, as I read online docs and peruse which
Dear list:
Suppose I have a string as follows
x = ' \t'ff'
I can split this up as
y = x.split('\t')
Which gives
[ ' ', 'ff']
len(y)
2
Is there a way to check if the first element of y is null?
--
http://mail.python.org/mailman/listinfo/python-list
I've hacked together a small utility program that I assume can be
written much better. The program reads in output from a statistical
program and spits out the relevant data needed. The purpose of the
program is to reach into the original data file (which is a text file),
pull out the relevant
R is the open-source implementation of the S language developed at Bell
laboratories. It is a statistical programming language that is becoming
the de facto standard among statisticians. Rpy is what allows an
interface between python and the R language.
Harold
-Original Message-
From:
I am beginning to use python primarily to organize data into formats
needed for input into some statistical packages. I do not have much
programming experience outside of LaTeX and R, so some of this is a bit
new. I am attempting to write a program that reads in a text file that
contains some
Assume I have a tab-delimited text file called foo.txt organized as
follows:
x11 -0.04
x22 -0.42
x33 0.3
My goal is to read in this file and use the information therein to
output a new file that is organized as follows:
x11 IRM=3PL IPB= -0.04
x22 IRM=3PL IPB=
13 matches
Mail list logo