Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: saraza
Forum: Scripting 04-30-2013, 12:35 PM
Replies: 4
Views: 14,364
Posted By saraza
Edit: added the reload command and the crt...

Edit: added the reload command and the crt variable declaration is not necessary:

------ script.py ------
#$language = "Python"
#$interface = "1.0"

import SecureCRT, sys, os
varPath =...
Forum: Scripting 04-30-2013, 09:06 AM
Replies: 4
Views: 14,364
Posted By saraza
A workaround.

A workaround for this problem:

------ script.py ------
#$language = "Python"
#$interface = "1.0"

import SecureCRT, sys, os
varPath = os.path.dirname(__file__)
if varPath not in sys.path:
...
Showing results 1 to 2 of 2

 
Forum Jump

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