I would be pleased if some could help me with a scripts using telnetlib to enable save web pages.

Hope to hear from you soon

Recommended Answers

All 4 Replies

I haven't used telnetlib so I can't speak directly to your question. But I was wondering if there is a reason why you don't want to use urllib to download those web pages.

import urllib
webpage = urllib.urlopen('http://www.mnsu.edu')
print webpage.read()

Thanks very much for the quick response

Anyway i used the import urllib command but my MSc lecturer insist he want a script in TELNETLIB

Hope you could get some to sort me out

So this is your homework that I'm working on? Well then you're going to have to show me some work. You're not paying me enough to do your homework for you, but I'll push you in the right direction for free.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.