web interface

2005-11-07 Thread Ajar
Hi,

I have a stand alone application which does some scientific
computations. I want to provide a web interface for this app. The app
is computationally intensive and may take long time for running. Can
someone suggest me a starting point for me? (like pointers to the
issues involved in this, or even better any of the existing tools for
doing this...)

Ajar

-- 
http://mail.python.org/mailman/listinfo/python-list


type of form field

2005-11-28 Thread Ajar
Is there any way to retrieve the type(checkbox,radio...) of the form
field from cgi.FieldStorage. I tried something like form['name'].type,
but this field seems to be None for all the form fields

-- 
http://mail.python.org/mailman/listinfo/python-list


writing a web client

2005-07-29 Thread Ajar
I want to write a program which will automatically login to my ISPs
website, retrieve data and do some processing. Can this be done? Can
you point me to any example python programs which do similar things?

Regards,
Ajar

-- 
http://mail.python.org/mailman/listinfo/python-list


open links in a html page

2005-08-16 Thread Ajar
Hi,

Using urllib2,ClinetForm and ClinetCookie modules I have logged into my
ISPs web site and managed to fetch the first page. Now, on this page
there is this link:

Service
Records

I need to click this link from python code. How do I do it? check(4) is
the following javascript function:

---

function check(parameter){
if(parameter==1){
parent.frames(0).location.href="userinfo.jsp" + "?" + new
Date().toString();
}else if(parameter==2){
parent.frames(0).location.href="modipswd.jsp" + "?" + new
Date().toString();
}else if(parameter==3){
 parent.frames(0).location.href="cardrecharge.jsp" + "?" +
new Date().toString();
}else if(parameter==4){
parent.frames(0).location.href="serviceRecords.jsp" + "?" +
new Date().toString();
}else if(parameter==5){
 parent.frames(0).location.href="rateSelectResult.jsp" +
"?" + new Date().toString();
}
else if(parameter==6){
 parent.frames(0).location.href="stopService.jsp" + "?" +
new Date().toString();
}
else if(parameter==7){
 if (confirm("Are you sure to exit?")){
window.location="../logout.jsp";
return true;
 }else{
return false;
 }
}else if(parameter==8){
 parent.frames(0).location.href="cancelService.jsp" + "?" +
new Date().toString();
}else{
 return false;
}

-- 
http://mail.python.org/mailman/listinfo/python-list