nennigb
nennigb
yes, `module_name = inspect.getmodulename(file)` returns a module name in this function there is a list of all possible suffix given by `importlib.machinery.all_suffixes()` ``` ['.py', '.pyc', '.cpython-39-x86_64-linux-gnu.so', '.abi3.so', '.so'] ``` when...
> ``` >if '.cpython-' in module_name: > continue >``` Agree, it will strongly limit the side effect, but I not sure if it will work on other platform. I will...
Hi, Without the input file it is hard to fix the problem although it seems related to scoring (bareme). Could you post a minimal example illustrating your problem ? Benoit
Hi, I think the problem is due to a mixing of comma `,` and dot `.` in the `\baremeDefautM{v=0,p=-0,0,e=-0.0,haut=2,m=0}`. If you use ``` \baremeDefautM{v=0, p=-0.0, e=-0.0, haut=2, m=0} ``` everything...
I will close this issue because there is no activity on it.
I cannot to reproduce your problem on moodle 3.8 (sandbox) neither on our moodle 3.0 server with the default editor. By the way, the `%` is not suitable here (and...
OK. I have the same problem this morning on my quiz ;-) Do you plan do to it ?
What is your version of python ?
Python 3.7 is now unsupported (EOL june 2023), so it is not a big deal. The oldest still supported version is now 3.8. I will have a look on your...
OK, probably, I will check. In my python 3.12 install I can still `import disutils`, and I have `setuptools` installed... Your modifications looks fine (see the comment in the code)...