Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-27-2015, 10:56 AM
alecarra alecarra is offline
Registered User
Join Date: Oct 2015
Posts: 3
using regex

on a normal python script i would do "import re" hoewever that is not working when i try to do it on an imported script and it fails with:


Error: invalid syntax
Line 10

import re


Here are the first 10 lines of the script.

# $language = "python"
# $interface = "1.0"

# basic collect info for Uninet
# Miguel Valadares

import SecureCRT
#import activestate.py
import sys

how can i use regex?

Reply With Quote

python , regex , scripting

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 03:34 PM.