Replies: 3 comments 7 replies
|
Did you embed the FMU_files with the FMU?
|
5 replies
|
You might also want to look at the CSV builder that ships with pythonfmu. https://github.com/NTNU-IHB/PythonFMU/blob/master/pythonfmu/csvbuilder.py |
2 replies
|
So, I think the correct way to read files is to append the value of class PythonSlaveReadFile(Fmi2Slave):
def __init__(self, **kwargs):
super().__init__(**kwargs)
with (open(f'{self.resources}/hello.txt', 'r')) as file:
data = file.read() |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am using windows with anaconda.
I tried to import pandas and then put a csv file into a subfolder called FMU_files.
It does not work like this, so is there an example I can build on ? :)
All reactions