[python-win32] ImportError: No system modul

2008-09-10 Thread Solomon.Zewdie.Altek
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

Re: [python-win32] Controlling Excel via COM: errors with conditionalformatting

2008-09-24 Thread Solomon.Zewdie.Altek
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

Re: [python-win32] Controlling Excel via COM: errors withconditionalformatting

2008-09-24 Thread Solomon.Zewdie.Altek
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]

[python-win32] error: 'CoInitialize not found'

2008-09-29 Thread Solomon.Zewdie.Altek
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)

Re: [python-win32] error: 'CoInitialize not found'

2008-09-30 Thread Solomon.Zewdie.Altek
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

[python-win32] getting integer value for worksheet.Cells(row, col).Value

2008-11-19 Thread Solomon.Zewdie.Altek
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

Re: [python-win32] getting integer value for worksheet.Cells(row, col).Value

2008-11-19 Thread Solomon.Zewdie.Altek
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

[python-win32] executing dos commands

2009-03-06 Thread Solomon.Zewdie.Altek
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

Re: [python-win32] executing dos commands

2009-03-06 Thread Solomon.Zewdie.Altek
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