Hello,
I am tring to work on Excel File through python.
I am using Python 2.4.2 and work on xp with an administration authorization.
I implimented like that:
*
*
**
...
import win32com.client
...
class Python_skript
How about this?:
channamesSheet.Cells(6, 3).Font.FontSize = 10
channamesSheet.Cells(6, 3).Font.ColorIndex = "blue"
channamesSheet.Cells(6, 3).Value = "something..."
channamesSheet.Cells(6, 3).Font.Name = "Arial"
...
I am not 100% sure whether it works, bu
correction:
...ColorIndex = 3
(i think the value, that ColorIndex gets is an integer not a string)
Von: [EMAIL PROTECTED] im Auftrag von [EMAIL PROTECTED]
Gesendet: Mi 24.09.2008 15:00
An: [EMAIL PROTECTED]; python-win32@python.org
Betreff: Re: [python-win32]
Hi,
is someone among you guys out there familier with this kind of error message or
rather knows the cause and the solution?:
" File "F:\2_4_2\lib\site-packages\win32com\client\dynamic.py", line 78, in
_GetGoodDispatch
pywintypes.com_error: (-2147221008, 'CoInitialize not found.', None, None)
Yes, I found the similar solution at google and it works now!!!
But tnx, anyhow!
-Ursprüngliche Nachricht-
Von: Dahlstrom, Roger [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. September 2008 13:19
An: Zewdie Solomon EXT FRD ALTEK; python-win32@python.org
Betreff: RE: [python-win32] e
Hi,
the statement: worksheet.Cells(row, col).Value returns a Value of type of
Strings,
Can anyone tell me how I can get an Integer value?
Casting (int(worksheet.Cells(row, col).Value ) didn't work.
Many Tnx!
solomon
___
python-win32 mailing list
p
I just tried it ( I did: IntValue = Val(self.worksheet.Cells(row, col).Value))
Though It seems that the COM server doesn't know Val()... or am i doin
something wrong??
I got the error: "NameError: global name 'Val' is not defined"
Von: [EMAIL PROTECTED] im Au
Hi folkz,
just a simple question for a python guru:-)
How can I execute dos commands via python?
The command exec("chdir \Dir1\dir2\..") doesn't do it.
Many thanks in advance!
Solomon
___
python-win32 mailing list
python-win32@python.org
http://ma
Von: python-win32-bounces+solomon.zewdie.altek=zf@python.org im Auftrag von
King Simon-NFHD78
Gesendet: Fr 06.03.2009 15:45
An: python-win32@python.org
Betreff: Re: [python-win32] executing dos commands
> -Original Message-
> From: python-win32-b