Skip to content

Commit

Permalink
Try add_dll_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed Jun 20, 2024
1 parent cb7d4c4 commit 1348523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/libcalc/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def test(x):
print(x)
return old(x)
os.path.isfile = test
os.add_dll_directory(os.getcwd())
import libcalc

def die(msg):
Expand Down

0 comments on commit 1348523

Please sign in to comment.