Sorry for late answer but I had a lot on my head lately.
So I am creating a script called dummy.py:
print 'Hello world’
then another one called compiler.py:
Then I run compiler.py and it gives me test.dll
In next step I create exec.py to run it:
and run it which gives me a result:
Message: No module named test
All the files are in a single folder AppData\Roaming\McNeel\Rhinoceros\5.0\scripts
Any help would be greatly appreciated.