[Tutor] Whats wrong with this code..??

alan.gauld@bt.com alan.gauld@bt.com
Fri Nov 15 13:57:01 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C28CD8.ED6F63C0
Content-Type: text/plain;
	charset="iso-8859-1"

 >  Im trying to execute the following python code in a browser:

Actually you are trying to execute it in a server - a web 
application server maybe but not a browser.
 
The results will display in a browser - you hope - but that is 
entirely different to executing there. You can execute some Python 
code in the IE browser under Active Scripting but not the kind 
of code you have here. 
 
Its nit picking I know but in many cases could make the 
difference between accurate diagnosis and faulty...
 
Alan g.
 

------_=_NextPart_001_01C28CD8.ED6F63C0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT 
face=Tahoma></FONT></DIV>
<DIV><FONT face="Times New Roman, Times, serif"><FONT 
face="Helvetica, Arial, sans-serif"><FONT size=2><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff>&nbsp;&gt; 
&nbsp;</FONT></SPAN>Im trying to execute the following python code in a 
browser:</FONT></FONT><BR><SPAN class=180205518-15112002><FONT 
face="Courier New" color=#0000ff size=2></FONT></SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman, Times, serif"><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff size=2>Actually 
you are trying to execute it in a server&nbsp;- a web 
</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman, Times, serif"><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff 
size=2>application </FONT></SPAN></FONT><FONT 
face="Times New Roman, Times, serif"><SPAN class=180205518-15112002><FONT 
face="Courier New" color=#0000ff size=2>server maybe but&nbsp;not a 
browser.</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=180205518-15112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman, Times, serif"><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff size=2>The 
results will display in a browser - you hope - but that is 
</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman, Times, serif"><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff size=2>entirely 
different to executing there. You can execute some Python 
</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman, Times, serif"><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff size=2>code in 
the IE browser under Active Scripting but not the 
kind&nbsp;</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman, Times, serif"><SPAN 
class=180205518-15112002><FONT face="Courier New" color=#0000ff size=2>of code 
you have here.</FONT>&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=180205518-15112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=180205518-15112002>Its nit picking I know but in many cases could make the 
</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=180205518-15112002>difference between accurate diagnosis and 
faulty...</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=180205518-15112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=180205518-15112002>Alan g.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff 
size=2></FONT>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C28CD8.ED6F63C0--