![](https://secure.gravatar.com/avatar/c046597eca36463300cb6c9630e5f7f3.jpg?s=120&d=mm&r=g)
18 Dec
2015
18 Dec
'15
8:53 p.m.
Hi, I am trying to write a binary unformatted sequential output from python using fortranfile.py module. I have managed to figure out most of the code, but I am stuck when I need to use the boolean operation. In fortran file, i need to add some metadata, where I need to provide .false. in the output. When i try o use the struct module to write struct.pack('?',False), it doesnt seem to be recognized by fortran. I was wondering if someone has some suggestions in this regard. Thanks, nikhil