SciPy gui_thread Problem

2005-06-18 Thread Hsuan-Yeh Chang
Dear SciPy users, Can anyone tell me the reason for following error messages: >>> import gui_thread >>> gui_thread.start() Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy_base/pexec.py", line 56, in run exec (code, frame.f_globals,frame.f_locals) File "", l

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-18 Thread Hsuan-Yeh Chang
Bo Peng wrote: > Hi, > > I need to pass a bunch of parameters conditionally. In C/C++, I can do > > func(cond1?a:b,cond2?c:d,.) > > In Python, I am using temporary variables like > > if cond1: >para1 = a > else: >para1 = b > > # > # a bunch of such if/else > > func(para1, pa

Re: extreme newbie

2005-06-17 Thread Hsuan-Yeh Chang
cpunerd4 wrote: > Hello programmers, > I stumbled onto the python language by chance and it looks like a > great language. Although from what I've read so far (which isn't much) > I've guessed that python is purely an interpreted language unless its > compiled into another language (ie. it needs

Why Eric3 does not have any documentation or FAQ?

2005-06-04 Thread Hsuan-Yeh Chang
Dear All, Does anyone know why? HYC -- http://mail.python.org/mailman/listinfo/python-list

Finite Element Solver for Python?

2005-05-30 Thread Hsuan-Yeh Chang
Dear All, Anyone knows a good Finite Element Solver for python programer? Thanks! HYC -- http://mail.python.org/mailman/listinfo/python-list