Comparison: HTTP with Java, Perl or Python

Ingo Linkweiler i.linkweiler at gmx.de
Fri Jun 7 13:29:21 CEST 2002


Hello,

for a comparison of languages I need a complete "translation" of this short skript into Perl, Tcl and Java:

 myurl = "http://www.uni-dortmund.de"
 import urllib
 file  = urllib.urlopen(myurl)
 text  = file.read()
 file.close()
 print text

Can you send me some solutions?
The skripts must be able to run, please do not post "partial" solutions.

Ingo





More information about the Python-list mailing list