Hello,
Is there a way to get a list of installed python modules and their versions ?
i.e. I would like to know if matplotlib is installed on my computer and what
version is it.
And so with other modules.
Thanks
Eli
___
Tutor maillist - Tutor@python.o
Many thanks for the tutor mailing-list members for their replies,
The EasyGui is just what I was looking for.
Regards
Eli Brosh
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
and pick an ASCII file ?
After the file is spcified using the GUI, I want to read it using fromfile and
similar commands.
After I process the data I want a similar GUI that enables choosing the path
and name for saving the results file.
Are scripts of this type available ?
Thanks
Eli Brosh
in python, without '[' that appear if I just
use:
print a
Thanks
Eli
-----הודעה מקורית-
מאת: Evert Rol [mailto:[EMAIL PROTECTED]
נשלח: ו 11/23/2007 16:24
אל: Eli Brosh
עותק לידיעה: tutor@python.org
נושא: Re: [Tutor] 2-D array to string
> I am starting to use pylab/numpy/scipy instea
Hello
I am starting to use pylab/numpy/scipy instead of MATLAB.
I now have a real beginners question (I think it is not really related to numpy)
I have a two-dimensional array
a=[[1,2,3],[4, 5, 6],[7,8,9]]
Is there a simple way to turn it into a multiline string ?
That is, turn a into:
s='''1 2
Many thanks to Bob and Kent and all the good people in the tutor forum.
The dir() and del work really well !
Eli
מאת: bob gailer [mailto:[EMAIL PROTECTED]
נשלח: ש 10/13/2007 17:35
אל: Kent Johnson
עותק לידיעה: Eli Brosh; tutor@python.org
נושא: Re: [Tutor
Hello
I am working with python interactively using IDLE.
Since starting, I defined some variables:
s='string'
a=1
b=[1,2]
c=1.02
and so on.
Now, I want to know which variables are in my workspace.
That is, is there a command similar to "who" in MATLAB ?
I want to call "who"
and get the output:
Hello
I have a multiline string such as:
s='''This is the first line
This is the second line
This is the third longer line'''
Note that s has no control character such as \n.
The lines are defined as in "natural" writing.
How can I extract from s, several strings, each of which is a line from t
Alan G wrote:
>It would be good if you could include the error text.
>However, did you try putting the complex number in parens?
>or assigning to a variable and then pass the variable into the call?
Well, the error message is not from Pytho but from the operating system
(windows XP).
It says "py
1+1j)
I got an error message and python restarted.
The problem did not go away after I installed the latest version of SciPy.
Is there a significant bug in the bessel functions when handling complex
arguments ?
Or, is it some feature that I do not understand
How do i set the PYTHONPATH variable
?
From answers to my query on "editing path" I
realized that this is what should be done if i want to include another folder in
the Python search path.
I tried:
import sys
sys.path.append('additional path')
but it worked only at runtime and is forgotte
Hello.
I wish that my Python program will not be stored on
a single file.
how can I call one python script from another
?
Thanks
Eli___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello.
I am beginning to use python on
windows.
how can I add a path to Python search-list
where I can store my python scripts ?
On IDLE the command browse path
lets me to see the existing path but not to edit it.
thanks
Eli___
Tutor maillist - Tut
13 matches
Mail list logo