Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-02-2018, 05:07 AM
shigc shigc is offline
Registered User
 
Join Date: Aug 2018
Posts: 2
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"
Reply With Quote
  #2  
Old 08-02-2018, 09:21 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,498
Hi shigc,

Please refer to the info in this post.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 08-02-2018, 09:18 PM
shigc shigc is offline
Registered User
 
Join Date: Aug 2018
Posts: 2
Thanks

It works, thank you very much!
Reply With Quote
  #4  
Old 08-03-2018, 07:26 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,498
Hi shigc,

Great, thanks for posting an update. Have a great weekend!
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:13 PM.