Search Results

Showing results 1 to 37 of 37
Search took 0.01 seconds.
Search: Posts Made By: xav.vijay ; Forum: Python and child forums
Forum: Python Sep 30th, 2009
Replies: 3
Views: 878
Posted By xav.vijay
This looks cool...

I will have to check this from my home PC then....
Forum: Python Sep 30th, 2009
Replies: 3
Views: 878
Posted By xav.vijay
My first question would be how did u install cx_freeze?

That is for converting a python script to a windows executable... u r trying to get an exe file in Linux?? I wonder why u would do that.
...
Forum: Python Sep 29th, 2009
Replies: 20
Solved: Text Files
Views: 591
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: 591
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: 591
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: 591
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: 422
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: 422
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: 422
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: 591
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: 587
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 Jul 7th, 2009
Replies: 1
Views: 265
Posted By xav.vijay
For windows look for WMI scripting queries that would fetch you the required info. You can use the same in the python. The Microsoft site has plenty of details on that.

For Ubuntu, you will have...
Forum: Python Jun 29th, 2009
Replies: 2
Views: 652
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 16th, 2009
Replies: 6
Views: 495
Posted By xav.vijay
Ok... here goes... I tried ur code at my home Vista.
The only change I needed to make was

from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer

instead of

from http.server import...
Forum: Python Jun 16th, 2009
Replies: 6
Views: 495
Posted By xav.vijay
What is the version of Python you use?
Forum: Python Jun 15th, 2009
Replies: 6
Views: 495
Posted By xav.vijay
I have never used a Python web server...So I wudnt know whether this works or not...

I will have to check this code in my home....

Are you able to access the page on the same box?
...
Forum: Python Jun 15th, 2009
Replies: 2
Views: 632
Posted By xav.vijay
Forum: Python Jun 15th, 2009
Replies: 7
Views: 301
Posted By xav.vijay
I think you should define the quote before u call it..

[QUOTE=pupspark;891264]

def choices1():
print "The SNES Star Fox games ran off of/was used to advertise what advancement?"
print "1:...
Forum: Python Jun 9th, 2008
Replies: 5
Views: 8,062
Posted By xav.vijay
Thanks ms_melagiri ...

I will use this code my future implementations....
Forum: Python Dec 26th, 2007
Replies: 1
Views: 1,336
Posted By xav.vijay
Hi All

Anybody got a solution for this? I am still searching for the answer.
I require this to automate a job, which we do on a daily basis for many servers. Collect the expiry date values &...
Forum: Python Dec 26th, 2007
Replies: 4
Solved: Open URL
Views: 12,164
Posted By xav.vijay
May be u can try this snipet....

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

ie.Visible = 1 ...
Forum: Python Dec 20th, 2007
Replies: 1
Views: 1,336
Posted By xav.vijay
Hi

I am trying to view the security certificate of a secured web page.
ex: https://somesite.com

I need to do this via a python script to collect some data from the certificate, like the CN,...
Forum: Python Jul 1st, 2006
Replies: 4
Views: 2,259
Posted By xav.vijay
Thanks for the feedback .... Its probably due to XP, the code works fine with Win2K...
Forum: Python Jun 29th, 2006
Replies: 4
Views: 2,259
Posted By xav.vijay
hi

I have a problem with the following code ...

>>> j = win32pipe.popen('c:\\disk\\plink jnitin@10.94.101.178 -pw mat123 df -g','r')
>>> for i in j:
print i


>>>
Forum: Python Dec 10th, 2005
Replies: 5
Views: 8,062
Posted By xav.vijay
I have found a way to SSH to a *IX machine... I tried it with Linux, AIX & Solaris Machines... it works fine..

I downloaded a command line version of PUTTY, called as PLINK. Its a .EXE file.
...
Forum: Python Nov 19th, 2005
Replies: 5
Views: 4,708
Posted By xav.vijay
Hai
Sorry for replying so late...
I tried the one which you suggested, but the Windows version of gpg seems to be entirely different.
I was looking into win32pipe & win32process modules,...
Forum: Python Nov 16th, 2005
Replies: 5
Views: 4,708
Posted By xav.vijay
Well 'gpg' is actually not a DOS command. Its like a command line encryptor. It does some operation on the file which I am not aware of... It doesnt support the --batch option, I checked that out.
...
Forum: Python Nov 15th, 2005
Replies: 5
Views: 4,708
Posted By xav.vijay
Hai friends
I have a some trouble in running a 3rd party program. This 3rd party program actually takes one file as input & does some processing on it and creates an output in a different...
Forum: Python Oct 10th, 2005
Replies: 5
Views: 8,062
Posted By xav.vijay
Hi friends

I am trying to connect to a Linux machine from a Windows PC. I used to do it thru TELNET, but now I want to use SSH for better security. I tried with PYSSH, but I am going nowhere...
Forum: Python Oct 10th, 2005
Replies: 3
Views: 1,693
Posted By xav.vijay
Hi

Well, if u r having windows then its quite simple. once u have opened the IDLE prompt, click on

File --> New Window.

U will get a new window named 'Untitled' ... This is where u write ur...
Forum: Python Oct 8th, 2005
Replies: 1
Views: 2,453
Posted By xav.vijay
Well jchang, I am not exacly sure where the problem is ,but can u check on the following syntax in your code... Hope it helps

In the main code where u call this function

isExists(fxfcustid) is...
Forum: Python Oct 4th, 2005
Replies: 4
Views: 22,851
Posted By xav.vijay
Thanks guys , its working fine with windows as well...
Forum: Python Oct 3rd, 2005
Replies: 4
Views: 22,851
Posted By xav.vijay
Hai friends
I have a small problem with my code...
I want to copy an existing file (its a model MS Excel file) to a new file & name it with the current date...
First I tried to create the...
Forum: Python Aug 22nd, 2005
Replies: 10
Views: 8,119
Posted By xav.vijay
Hi friends
Well G-Do you are absolutly correct, I am logging into a remote Linux server & collecting the information of 'top' to a local machine. When I said that there was a problem with ur code,...
Forum: Python Aug 19th, 2005
Replies: 10
Views: 8,119
Posted By xav.vijay
Hai friends
Sorry for the late reply, But thanks for ur suggestions... and really a big thanks to u G-do... the '-b' option worked well for me...
But I had problems with the codes u gave me......
Forum: Python Aug 17th, 2005
Replies: 10
Views: 8,119
Posted By xav.vijay
Hai G-Do
Thanks for ur reply. U r exactly right about the 'top' command. It doesnt stop until we type 'q' to stop it. I had this problem, so I gave the command as 'top -p 1 -n 1'. Here the...
Forum: Python Aug 16th, 2005
Replies: 10
Views: 8,119
Posted By xav.vijay
Hai Friends
This is my first post to this forum. I am new to Python but I find its quite interesting. I have a problem with the folowing code...

##########################
import telnetlib...
Showing results 1 to 37 of 37

 


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

©2003 - 2009 DaniWeb® LLC