unabe to import /pyd file.

Tim Golden mail at timgolden.me.uk
Fri Dec 15 05:09:50 EST 2017


On 15/12/2017 09:58, supswain at gmail.com wrote:
> Hi,
> 
> I have created one library file
> "modified_python_automation_tcl.py"..Inside my library file I have
> set of codes as follows.
> 
> import sys import time from datetime import datetime import
> re,sys,os,itertools,datetime,commands,logging,math,time,copy,inspect 
> from robot.api import logger import unicodedata 
> sys.path.append('C:\Python27\Lib\lib-tk') 
> sys.path.append('C:\Python27\DLLs') 
> sys.path.append('C:\Python27\libs') from Tkinter import Tcl tcl =

Apart from anything else these need to be raw strings:

sys.path.append(r'C:\Python27\Lib\lib-tk')

etc.

TJG



More information about the Python-list mailing list