Search Results

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: xav.vijay ; Forum: Python and child forums
Forum: Python Sep 29th, 2009
Replies: 20
Solved: Text Files
Views: 575
Posted By xav.vijay
That's bcos ur syntax for file handling is wrong.
Forum: Python Sep 29th, 2009
Replies: 20
Solved: Text Files
Views: 575
Posted By xav.vijay
which variable has this entire line? temp3??

if so then

print temp3[4:]

or WhatEverVariable[4:]
Forum: Python Sep 29th, 2009
Replies: 20
Solved: Text Files
Views: 575
Posted By xav.vijay
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
Solved: Text Files
Views: 575
Posted By xav.vijay
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
Posted By xav.vijay
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
Posted By xav.vijay
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
Posted By xav.vijay
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
Solved: Text Files
Views: 575
Posted By xav.vijay
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
Posted By xav.vijay
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
Posted By xav.vijay
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
Posted By xav.vijay
Forum: Python Dec 26th, 2007
Replies: 4
Solved: Open URL
Views: 11,995
Posted By xav.vijay
May be u can try this snipet....

from win32com.client import Dispatch
ie = Dispatch("InternetExplorer.Application")

ie.Visible = 1 ...
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC