Windows

Having a problem? Check here first

Frequently encountered problems may have an FAQ available.

https://community.activestate.com/taxonomy/term/651

Known Issue: Problem importing win32com.client

Known to appear in 3.5 and 3.6 ActivePythons, but could affect other versions as well.

Symptom: When running
import win32com.client
an error is reported.
(site-packages\win32com\gen_py\__init__.py does not exist)

Problem:
The win32com module is designed to create __init__.py and dicts.dat the first time it starts. If the files do not exist and the current user does not have adequate permissions to create the files, the error above will be reported.

Work-around:
The files only need to be created once. If an Admin ID with the correct permissions runs
import win32com.client

install of perl on win ce 6.0

Trying to install and run perl on Win CE 6.0

I am trying to run perl on a Win CE Allen Bradley Panel View Plus HMI

It has Win CE 6.0

I tried 2 binaries which I downloaded they are perl-wince-x86-palm-wce211 and perl-wince-x86-pocket-wce300

I had found the following installer and tried it, (the device didn't seem to have the registry command so I couldn't do the registry bits but I thought it might run anyway my script with perl anyway.

\Storage Card2\ is where the bin and lib directories are located.

@echo off
copy \Storage Card2\bin\perl.dll \Windows

How to extract or install headless?

The documentation mentions a zip bundle that can be used by non-Adminstrators for
installation on Windows. I could not find such a zip bundle.

Furthermore I fail to install or extract ActivePerl headless. According to the documentation
there should be options /extract:Folder and /exenoui. But /exenoui does not hide the progress
bar for me! And /extract:Folder does not extract to "Folder" but to a cryptic named
directory "BDFHFH"!

Can you please help?

tklib0.5

Does tklib0.5 comes with any tcl/tk package(any version) or need to install the tklib0.5 sepeartely irrespective of tcl version

PDK alternatives?

I have a lot of different Perl programs that run on Windows as service (PerlSVC) and in the icon tray (PerlTray).

What can i use as an alternative to the (now dead) PDK?

Install Python 3 as WSH engine

I would like to install ActivePython 3.6.0.3600 as Windows Scripting Host engine (to use in classic ASP).

I've found instructions on how to do that for Python 2 at https://stackoverflow.com/questions/7637210/getting-activepython-to-work..., but I don't know how to apply them for Python 3.

I tried to run ca_pywin32reg.pyw, but it fails with syntax errors.

How do I install Python as a WSH engine?

tcllib missing from Tcl 8.6 Community Edition

Tried to import the crc32 package and the response is "can't find package crc32".

Is tcllib not included in the Community Edition? If not, why document it in the Help file?

What else is not included in the Community Edition?

Windows Server 2016 Support

Windows Server 2016's support information is not listed, but do you have any plan to support it?

Python redis returns consequences with appended textual content to result

I just commenced to apply redis with python, from command line and in jupyter notebooks and i am getting appended text to each locations. code is as follows:

import redis
r = redis.StrictRedis(host='xxx.xxx.xxx.xxx', port=yyyy, db=0, password='$$$$$$$')

r.hmset('hmfoo', { 'name': 'myname', 'username': 'myusername'})
True

r.hget('hmfoo', 'name')
b'myname' <----- why is the 'b' appended here??

it really works as you assume with the proper values stored in redis and the whole thing, simply now not positive why the b is displaying on the start of the text?