Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53958 > unrolled thread

Re: Telnet to remote system and format output via web page

Started byJean-Michel Pichavant <jeanmichel@sequans.com>
First post2013-09-11 14:51 +0200
Last post2013-09-11 14:51 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Re: Telnet to remote system and format output  via web page Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-09-11 14:51 +0200

#53958 — Re: Telnet to remote system and format output via web page

FromJean-Michel Pichavant <jeanmichel@sequans.com>
Date2013-09-11 14:51 +0200
SubjectRe: Telnet to remote system and format output via web page
Message-ID<mailman.246.1378903971.5461.python-list@python.org>
----- Original Message -----
> Hi
> 
> 
> I would like to create a web  app using flask or cgi library  along
> with telnetlib to telnet to specific servers and execute commands
> and retrieve the output.
> The output will then be  formatted and outputted to a webpage .
> 
> . Is this the best way of getting info from a remote system to be
> output to a web page?
> 
> Is flask over kill for project like this ?
> 
> Thanks,
> Kenroy
> --
> https://mail.python.org/mailman/listinfo/python-list


I never used Flask, but most of python web framework provide an easy/quick way of setting up a web application server. So I'd say Flask is just fine.
What concerns me is the telnet protocol you plan to use for remote execution. Do you have any other options ? are you trying to execute on a remote unix like system ?

Anyway if you must stick with telnet, I don't see anything wrong in your plan, Flask + telnetlib should do the trick.


JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web