Windows 7

Passing multiple parameters into sqlite3

Hello all –
I am new to Python, very new so I apologize if this is a basic question. My question concerns the use of sqlite3 module and how to pass multiple parameters into a search string. Below are two examples. The first works fine when passing a single parameter. The second fails. Can someone tell me what I am doing wrong here
Thanks
Bob Bartis

The following code works fine with finding and print matching rows using the slite3 module
userKeywords = ('*')
shell = ('CLI')

# Extract matching records to build up list of commands

Global object visiibility

ActivePython v3.3

I use a file manager called DirectoryOpus, which enables using ActiveScripting inside it.
In DirectoryOpus version 10, global objects provided by it were visible. After a major overhaul of ActiveScripting support in v11, they are no more visible.

What are specific AP requirements for global objects visibility? Can I maybe search for them somewhere in namespaces?

TIA

how to filter out funny (Escape charaters)

I have written an application in Tcl-Expect which spawns minicom and
sends and receives data via the serial port. Sometimes i see that the
application receives control characters along with human readable data.
A search on the internet tells me that the control characters are
nothing but the VT terminal codes. However i could not find a solution
to filter out the terminal codes.

I am attaching a sample of the expected buffer and the actual buffer.

PFA

Thanks a lot

Regards
Ashok

Unable to send mail

When I try to run the smtp_send.pl script, I get the following error:
Undefined subroutine &Email::Date::Format::email_date called at C:/Perl/lib/MIME.
MIME/Lite.pm”

Anyone know how I can correct this?
Thanks.
Please help

Installing PAR-Packer-1.017

Hi,

I am trying to install the PAR-Packer module. It wasn't found in the repository, so I grabbed it from CPAN. I followed some instructions here (http://stackoverflow.com/questions/8055063/how-to-install-pp-par-packager)...I question if they're good instructions.

After installing all the dependencies, I try a dmake and get the following errors:

C:\Users\wynner\Desktop\PAR-Packer-1.017>dmake
Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
C:\MinGW\bin\g++.exe main.o ppresource.coff -s -L"C:\Perl64\lib\CORE" C:\Perl

Help: Executing commands using Tcl Expect

I have been trying for the past couple of days to get Tcl Expect to uncompress a .gz archive. What seemed like a simple task doesn't appear to be so simple after all.

My whittled-down script is:

******************************
#!/bin/sh
# \
exec tclsh "$0" ${1+"$@"}
package require Expect

exec "\\Program\ Files\\7-Zip\\7z.exe\ e\ bulkstats.txt.gz"
expect "\top>"
******************************

What am I doing wrong? If I run "\Program\ Files\7-Zip\7z.exe" e bulkstats.txt.gz it runs just fine. I run the script from the same directory where the gz file is.

PERL5LIB setting not working for PDK products

The PERL5LIB environmental variable is not working for any of the PDK products. It works fine for Komodo editor. I have tried all kinds of different directories, with spaces without spaces and have rebooted to make sure the setting is complete with no luck. See Attachment for screen shot.

Installing the EXE created by PerlSvc as a Windows Service

Probably a simple nooby question but I've not found anything in the forums or the docs.

I've created the exe file using PerlSvc. Now I want it to run as a Windows Service. Do I need to install it as a service using SC or something similar?

Thanks!

how do uninstall a ActivePerl license from the wrong machine?

this question has been resolved via a support ticket.

Help Running Simple beer.tcl Expect demo example on Windows 7

I have installed ActiveTcl 8.6 X86
Then using Teacup, installed Expect
Then using Teacup, installed all demos in the C:\Tcl\demo folder

When I double-click the beer.tcl file from windows explorer, I get an empty box pop up with beer.tcl title. And that is it. If I examine Windows processes I see there is a wish.exe process.

I also tried running this from the command line but same behavior.

I also tried running this from tclsh session, but I just get message "can't find .\beer.tcl"

What is going on - how do I run this simple example?

Nathan