VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   How to import another secureCRT script from one python script (https://forums.vandyke.com/showthread.php?t=13203)

shigc 08-02-2018 05:07 AM

How to import another secureCRT script from one python script
 
At first, I write a common secureCRT script named common.py with python, and now I want to use it in another script, but when I use "import common" an error occured saying that "Error:name 'crt' is not defined"

bgagnon 08-02-2018 09:21 AM

Hi shigc,

Please refer to the info in this post.

shigc 08-02-2018 09:18 PM

Thanks
 
It works, thank you very much!

bgagnon 08-03-2018 07:26 AM

Hi shigc,

Great, thanks for posting an update. Have a great weekend! :)


All times are GMT -6. The time now is 11:45 AM.