Hi..
How to do matrix operations in finite field in SymPy. Can anyone help
Nisha
Nisha T M
On Sun, Jun 17, 2018 at 3:33 AM, Jason Moore wrote:
> Something like:
>
> dir_of_this_file = os.path.dirname(os.path.realpath(__file__))
> test_data_file_path = os.path.join(dir_of_this_file, 'test
Something like:
dir_of_this_file = os.path.dirname(os.path.realpath(__file__))
test_data_file_path = os.path.join(dir_of_this_file, 'tests',
'test_examples', 'expected_output1.txt')
with open(test_data_file_path) as f:
# do something with the file handle
moorepants.info
+01 530-601-9791
On S
This shows how to get absolute paths to files based on the location of the
file where your python code is in:
https://stackoverflow.com/questions/5137497/find-current-directory-and-files-directory
I posted this to your PR. Do you have specific questions about the
stackoverflow solution? It should
I have to read and write to files which are located in
sympy/parsing/tests/test_examples in my test file test_autolev.py.
This is the kind of code I am using in test_autolev.py
directory = "sympy/parsing/tests/test_examples/"
parse_autolev(os.path.join(*(directory+inFileName).split('/')),
os.