You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue have been solve . it belong to my python file which could not load files
hi fanchy
ffpython add specified file path by use add_path() or run_string to do this work .
after view the source code : the mechanism to load module in python is :
but in the mixed programming , python files maybe located in several directory . once i use the add-path () , it seems the library didnot support to change the specified file path any more .
like following code :
{ ffpython_tI_pythoner;
ffpython_t::add_path("./py_file/");
i_pythoner.call<void>("test_module", "sayhi");
# ffpython_t::add_path("./child_dir/"); #i_pythoner.call<void>("test_module2", "sayhi"); # could not find the module
}
current directory
----py_file
--------test_module.py
--------child_dir
------------test_module.py
question
could ffpython support multiple - paths module loading ? if it could , what do i supposed to do ?
The text was updated successfully, but these errors were encountered:
issue have been solve . it belong to my python file which could not load files
hi fanchy
ffpython add specified file path by use add_path() or run_string to do this work .
after view the source code : the mechanism to load module in python is :
but in the mixed programming , python files maybe located in several directory . once i use the add-path () , it seems the library didnot support to change the specified file path any more .
like following code :
question
The text was updated successfully, but these errors were encountered: