NEWBIE

2005-10-26 Thread brenden
hey everyonei'm new to all this programming and all this stuff and
i just wanted to learn how to do it...

does anyone think they can teach me how to work with python?

i've been reading up a lot on it and i've downloaded the program and
all that i'm just not quite following the whole thing...

if you can just post here and i'll get back 2 u

-- 
http://mail.python.org/mailman/listinfo/python-list


printing arrays in shell, and .py association with idle

2005-05-17 Thread Paris Miles-Brenden



I have been using python for the last 3 years and 
feel it to be an excellent programming language.  However, I have run into 
a few snags or annoyances.  I am currently 
creating a computational physics simulation which requires large arrays and am 
using numeric, although this is not a list for numeric, I think that my question 
falls under python in general.
 
 
1.  My first 
problem is with printing these large arrays for debugging purposes.  Is 
there any way to prevent the python shell from word wrapping single array print 
statements?  I'm simply using:
 
print hamiltonian
 
where hamiltonian is an array of complex 
numbers.  Changing window size (default or otherwise) does not change this, 
and I have found the option no-where.
 
 
2.  Is there a foolproof way to associate .py 
files to open with IDLE, and when ending my program, not causing IDLE to 
quit?  I have tried various methods to do this but none have worked so 
far.
 
 
Thank you and please accept my apology if this is 
the wrong location for these questions.
 
-- 
http://mail.python.org/mailman/listinfo/python-list