Thread: Module caching
View Single Post
Old 10-10-2017, 10:22 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,636
Hi Alex,

SecureCRT does cache the module as long as it is running. If you are seeing behavior where the cache is not cleared after quitting/restarting SecureCRT then perhaps we need further details regarding your installation. (What version of SecureCRT? On what OS? etc.)

You should be adding reload() following import as shown in this post.

You may also need to make use of the variable PYTHONDONTWRITEBYTECODE as explained in these posts on Stack Overflow:

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote