Hi Python Tutor,
I keep receiving a memory error when processing many netcdf files. I assume
it has something to do with how I loop things and maybe need to close things
off properly.???
In the code below I am looping through a bunch of netcdf files (each file is
hourly data for one month) and with
Anna: please post either to h...@python.org or tutor@python.org Most of
us follow both. Since there is a discussion running on h...@python.org
let's drop the tutor one.
Alan: Anna has cross-posted this request here and python-help. There is
a thread running on python-help.
She has an excel
Folks,
I just approved a bunch of messages that had been stuck in the queue.
I'm not sure what happened by the server stopped sending me mail prompts
that there were messages waiting. I just happened to log
in as admin today and saw them waiting.
Just in case you wondered why they took so long
On Oct 3, 2011, at 18:50, Joel Goldstick wrote:
> But you have some other problems. You keep getting a new random number in
> your while loop.
Maybe that gives an extra challenge? Guess the random number, which will
change after each guess! ;-)
Greetings,
--
"A creative man is motivated
On 29/09/11 20:10, Anna Olofsson wrote:
I'm a beginner at Python and I have tried to read the Python manual,
Are you also a beginner to programming? Or can you already program in
another language? If so which? It will help us frame our reply at the
right level.
still can't figure out how
On 26/09/11 18:00, StevenJ Hennessy wrote:
Hello,
I am currently struggling with a homework assignment. I need to use Map
reduce to create a dictionary of palendromes -> number of palendrome
for example: the string "bab bab bab cab cac dad" would output:
bab 3
cab 1
I assume this should be cac?
On Mon, Sep 26, 2011 at 12:00 PM, StevenJ Hennessy <
stevenhenne...@sbcglobal.net> wrote:
>
>
> Am I on the right track?
>
Of course we don't do homework here, and we're happy to give pointers in the
right direction.
I don't see anything completely wrong with your code, and it sounds like
you'll
On Mon, Oct 3, 2011 at 12:53 PM, bob gailer wrote:
> On 9/30/2011 11:55 PM, Anthony Okutsu wrote:
>
> I'm writing a program in which I input a number and the computer has to
> guess it. Every time I try to run the program it highlights the 'while' at
> the beginning of my loop and says 'invalid
On 9/30/2011 11:55 PM, Anthony Okutsu wrote:
I'm writing a program in which I input a number and the computer has
to guess it. Every time I try to run the program it highlights the
'while' at the beginning of my loop and says 'invalid syntax' but I
have no idea why. I'll paste a copy of my prog
On Fri, Sep 30, 2011 at 11:55 PM, Anthony Okutsu wrote:
> I'm writing a program in which I input a number and the computer has to
> guess it. Every time I try to run the program it highlights the 'while' at
> the beginning of my loop and says 'invalid syntax' but I have no idea why.
> I'll paste
Hello Anna and welcome to the python list,
: I'm a beginner at Python and I have tried to read the Python
: manual, but I still can't figure out how to extract columns from
: a table and then create a new table by merge these extracted
: tables together.
Send us one or two lines of your (
Hi,
I'm a beginner at Python and I have tried to read the Python manual, but I
still can't figure out how to extract columns from a table and then create
a new table by merge these extracted tables together.
Best,
Anna
___
Tutor maillist - Tutor@pyth
I'm writing a program in which I input a number and the computer has to
guess it. Every time I try to run the program it highlights the 'while' at
the beginning of my loop and says 'invalid syntax' but I have no idea why.
I'll paste a copy of my program below. Why is there a syntax error in my
whil
Hello,
I am currently struggling with a homework assignment. I need to use Map
reduce to create a dictionary of palendromes -> number of palendrome
for example: the string "bab bab bab cab cac dad" would output:
bab 3
cab 1
dad 1
here is what I have so far
def palendrome(string):
pal
If the guess is larger than the number, your code will never prompt for a
new guess in the while loop. Try removing one indent on the input() line.
On Sep 24, 2011 10:44 AM, "Cameron Macleod" wrote:
Hi,
I've been trying to code a simple guess my number game as a starter
programming project bu
On 03/10/11 01:33, Christopher King wrote:
Dear Tutors,
I was wondering how one would make it so all the cases of all the
strings in a python file where switched. I know that
for individual strings, you can use .swapcase(),
So just apply swapcase() to the whole file as a string:
s = open(
16 matches
Mail list logo