Forum: Python Sep 29th, 2009 |
| Replies: 20 Views: 575 That's bcos ur syntax for file handling is wrong. |
Forum: Python Sep 29th, 2009 |
| Replies: 20 Views: 575 which variable has this entire line? temp3??
if so then
print temp3[4:]
or WhatEverVariable[4:] |
Forum: Python Sep 29th, 2009 |
| Replies: 20 Views: 575 OK...
First ....We are dealing with a file with lots of text. No matrices.
some r,c does not always define row and column. At least not in ur case.
Second u wanted to know what temp1 does... |
Forum: Python Sep 29th, 2009 |
| Replies: 20 Views: 575 Joe
1. U will have to tell us whose code is working. I think 3 or 4 code examples are here.
2. If u want to know what ur code does, u will have print the value to see, what it has.
For example... |
Forum: Python Sep 29th, 2009 |
| Replies: 6 Views: 415 ok...
what do get if u ..
print float(COGXL)
print float(COGXR)
before the calculations.
Ur error message says one of them is empty. |
Forum: Python Sep 28th, 2009 |
| Replies: 6 Views: 415 I guess your output is in string.
try
Z_Actual = (11 * 5.5)/float(COGXL)-float(COGXR) |
Forum: Python Sep 28th, 2009 |
| Replies: 6 Views: 415 what is the value of COGXR??
Can u give
print COGXR
before the Z_Actual thing and see what the output is? |
Forum: Python Sep 28th, 2009 |
| Replies: 20 Views: 575 To put it very crudely, my code would like...
f = open("c:\\path to file\\violate.dat",'r')
chk = 0
for i in f.readlines():
if chk == 1:
val1 = i.split()[0]
print... |
Forum: Python Jul 10th, 2009 |
| Replies: 2 Views: 541 Well ... you have to give us something!!!
the error message u get for a start....
Does ur scheduler start the script in the first place??
I had a similar problem once. I didn't include the Run... |
Forum: Python Jun 29th, 2009 |
| Replies: 2 Views: 608 I am not sure whether you can change the entire sheet color to yellow.
But you can change the colors of individual cells to any color u want.
here 6 is for yellow.
... |
Forum: Python Jun 15th, 2009 |
| Replies: 2 Views: 615 After
should give u the output... |
Forum: Python Dec 26th, 2007 |
| Replies: 4 Views: 11,995 May be u can try this snipet....
from win32com.client import Dispatch
ie = Dispatch("InternetExplorer.Application")
ie.Visible = 1 ... |