[f2py] How to pass string to F90 module data

Jing <[email protected]> Mon, 22 Nov 2010 23:15:21 -0500
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
Hello:

       I have difficulty to pass python strings to F90 module data 
variables with different length. I have declared at module level 
variables as fixed length character, say 50. I want to pass a python 
string variable of length 12 to it.

       The problem is I can't  predict in advance the length of python 
string, and F90 won't let me declare variable length character. Any 
suggestion? Thanks,


Joe S