[EMAIL PROTECTED] wrote:
It looks like the PyTensor object *should* have .xx, .xy, etc
properties, but they may be accessible through a matrix, i.e. .t(i,j)
Thanks to all of you for your help!
The solution is easy: The tensor components have labels t11, t12,...
Good guess ruibalp!
--
Hi there,
I'm sure there is a very simple solution for my question, I just didn't
find it up to now.
I'm using a badly documented module and therefore need to find out
about how to access the elements in a list.
(I need to do this in Python 1.5.3)
Any help appreciated very much. Thanks!
cz
--
I'm using a badly documented module and therefore need to find out
about how to access the elements in a list.
(I need to do this in Python 1.5.3)
I presume this is the same in 1.5 use dir():
import os
dir(os)
['F_OK', 'O_APPEND', 'O_BINARY', 'O_CREAT', 'O_EXCL', 'O_NOINHERIT',
'O_RANDOM',
On Wed, 12 Jul 2006 05:17:30 -0700, cz wrote:
Hi there,
I'm sure there is a very simple solution for my question, I just didn't
find it up to now.
I'm using a badly documented module and therefore need to find out
about how to access the elements in a list.
Er, the same way you would
Perhaps you need to rephrase your question.
--
Steven.
Thanks for your reply.
OK, I'll try to make this more clear:
My list called elten looks like that:
[Tensor: id = 1, intensity = 2976.52
xx = -1447.32, xy = 52.458, xz = -594.186
yy = -1090.54, yz = -0.0158068, zz = -4043.
, Tensor: id
Hi Claudio,
cz wrote:
Perhaps you need to rephrase your question.
--
Steven.
Thanks for your reply.
OK, I'll try to make this more clear:
My list called elten looks like that:
[Tensor: id = 1, intensity = 2976.52
xx = -1447.32, xy = 52.458, xz = -594.186
yy = -1090.54, yz =
The list above is not a valid Python list. What is it that you store in that
list?
Or is it maybe a dictionary?
Stefan
Thanks for your help. How can I find out about what this is? As I said
it's generated by a insufficiently documented module. So if this is a
user defined datatype, is
cz wrote:
The list above is not a valid Python list. What is it that you store in
that list?
Or is it maybe a dictionary?
Stefan
Thanks for your help. How can I find out about what this is? As I said
it's generated by a insufficiently documented module. So if this is a
user defined
My list called elten looks like that:
[Tensor: id = 1, intensity = 2976.52
xx = -1447.32, xy = 52.458, xz = -594.186
yy = -1090.54, yz = -0.0158068, zz = -4043.
, Tensor: id = 26, intensity = 2896.9
...
, Tensor: id = 5, intensity = 2920.5
xx = -1534.53, xy = 23.4858, xz = -623.967
cz schrieb:
The list above is not a valid Python list. What is it that you store in that
list?
Or is it maybe a dictionary?
Stefan
Thanks for your help. How can I find out about what this is? As I said
it's generated by a insufficiently documented module. So if this is a
user defined
Stefan Behnel wrote:
The list above is not a valid Python list.
there's no Python 1.5.3 either. maybe he's posting from a parallel,
slightly different universe ?
/F
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch deets at nospam.web.de writes:
What you should do is to install rlcompleter2...
[snip]
Another option is to look into the source of that module and identify the
objects created. Documentation is overrated - use the source, Luke!
rlcompleter is overrated, and only works on
rlcompleter is overrated, and only works on Unix/Linux/etc.
IDLE's interpreter has an auto-completion extension, which is bundled in
Python2.5.
I don't use idle, and don't want to. So for me rlcomlpeter2 is a good thing.
And under windows, it at least works under cygwin.
Diez
--
Pretty sure he meant 1.5.1.
Found the documentation for the program he's using here:
http://www.hpcu.uq.edu.au/Manuals/MSC/msc/docs/marc/python/python_manual.pdf
It looks like the PyTensor object *should* have .xx, .xy, etc
properties, but they may be accessible through a matrix, i.e. .t(i,j)
14 matches
Mail list logo