Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2020, 02:28 AM
terrychow terrychow is offline
Registered User
 
Join Date: Sep 2020
Posts: 3
question to change sys.path

Hi,

I want to create a python script to run in SecureCRT 8.7.3, the script will look at a text file for variable.
I have checked some other post recommend to use configparser but I have failed to import it when I run the script.
I have gone through some post in the forum saying that the modules need to be find by SecureCRT in the sys.path. I found that in my sys.path, that is using Python 2.7 however I want to use Python 3.8 and I have already installed Python3.8 with configparser.

Would you please help if there are any method to modify the sys.path to pointing the path to Python3.8?

Thank you

Best Regards,

Terry Chow
Reply With Quote
 

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 11:44 AM.