FeResPost Web Site                     FeResPost Online User Manual

V.0.2.2 Associative containers and Arrays

The Python “list” object corresponds to ruby “Array”, and the Python “Dictionary” corresponds to ruby “Hash” objects. Note, however, that Python dictionary keys cannot be “list” objects. When this problem occurs, the ruby Array should be converted into a Python tuple instead of a Python list. (See for example the example “PYTHON/EX23/testHDF.py” in section V.1.2.)