Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-02-03 Thread Pallavi Apotikar
I am sorry, instead of "file", I should have said "a python function". Is it possible to access/use a python function from Excel VB Editor e.g. a library function called "eval()" is used to detect whether the expression/datatype is a valid python expression/datatype ? Can we do that? Thanks

Re: [python-win32] Print PDF

2008-02-03 Thread Gerdus van Zyl
Thanks the SumatraPDF link is very useful. The following code is what I came up with and is based on this msg: http://two.pairlist.net/pipermail/reportlab-users/2003-February/001260.html import win32ui import dde from win32api import FindExecutable import os.path from os import spawnl,P_NOWAIT,sta