VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   How to add module in "vpython27.zip"? (https://forums.vandyke.com/showthread.php?t=14120)

caclp@qq.com 03-21-2020 08:55 AM

How to add module in "vpython27.zip"?
 
hi,

I need a python module named "paramiko" to download some files throught SFTP, but it's not a build-in module. How should i to use it? Is it ok to add module file in vpython27.zip ?

Anybody know?:confused:

//Regards

bgagnon 03-23-2020 11:14 AM

Hi caclp@qq.com,

How would you use Paramiko? What do you need to achieve?

Have you tried using the sftp tab in SecureCRT?

caclp@qq.com 03-23-2020 11:37 AM

hi, Brenda

I need "Paramiko" to download some files, it's more simple to use than SFTP tab.

And i want to know it is possible or not to expand built-in module.
We can make SecureCRT much more powerful if YES.
:cool:

caclp@qq.com 03-23-2020 11:44 AM

And how to printout debug info?

like:

print('hello,hello'):)

bgagnon 03-23-2020 11:55 AM

Hi caclp@qq.com,

Presently, you would just use crt.Dialog.MessageBox(). :)

I have added this thread to the following feature requests in our product enhancement database:
  • Support for Paramiko module
  • Interactive Console for Python
Should a future release of SecureCRT include either feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include "Feature Request - Forum Thread #14120" in the subject line or use this form from the support page of our website.

caclp@qq.com 03-23-2020 12:49 PM

hi, Brenda

Thanks a lot! :)

//Regards


All times are GMT -6. The time now is 10:17 PM.