when I run my Python script in Maya and expect for example an error. After I’ ve edit it I have to restart Maya because Maya doesn’t notice the modification and run the old script. How can I say Maya to load the new script without a restart? I tried to clear the History and the Input and import the script again but nothing happened.
also note that if in your main script you are importing a second script. It might be useful to import and reload both scripts in the maya shelf to be sure everything is up to date. Even when you are only calling the first script in Maya