May I suggest to use not only 'py' but also 'pyw' as default extension for @clean imports of Python files.
Thank you!
I added the '.pyw' extension to the extensions list in the Python importer.Everything works fine now.