79335668

Date: 2025-01-07 10:42:43
Score: 2
Natty:
Report link

For me, importlib.reload() did not work.

I found that the following code (adapted from here) worked.

import sys

all_modules = sys.modules 
all_modules = dict(sorted(all_modules.items(),key= lambda x:x[0]))
   
for k,v in all_modules.items():
    if k.startswith('andy'):
        del sys.modules[k]

import andy

andy.mine()
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andy