Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie question...
#1
Huh dear all developers - i am super new to python and been watching some good videos learning it, it is a lot to take in for some one bottom scraping new but, i am making my way - that being said, my journey into python is for network automation, i am a network eng./architect/admin by trade and i am looking at building something for my IT OPS team to be self efficient.

so while doing all this reading and learning i am a little confused still and what is what and what to use - i want to be able to create simple logic for network equipment like check up time, or ios ver or backup all devices and i think on the python part of things i am getting some where but how would i put that into a web interface so that helpdesk and click a button and check if a device is up or not.

So the real question is, how to i put the python script into a web site?

TKS.

MR.
Reply
#2
Like you have probably found, in Python there are many ways to do things. One popular method is using Flask. I would suggest you take a look at the book Head First Python. By chapter 5 it has you writing a webapp using Flask, covers data storage, etc.
Reply
#3
you can start by examining some of the available networking packages.
https://pypi.org/search/?q=networking
If you see something interesting, download it and start looking at the code to see how it's done.
There are some useful libraries embedded here, perhaps someone with more knowledge of networking that myself will also give you some pointers.
PyPi.org is always a good place to start.
also googling can find some tutorials and blogs, google search: 'networking python 3'

as suggested, flask is good for web development, and I would recommend Miguel Grinberg's mega tutorial (2nd edition): https://courses.miguelgrinberg.com/courses
or the first edition which is free: https://blog.miguelgrinberg.com/post/the...ello-world
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How is pandas modifying all rows in an assignment - python-newbie question markm74 1 690 Nov-28-2023, 10:36 PM
Last Post: deanhystad
  newbie question - can't make code work tronic72 2 675 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Newbie question about switching between files - Python/Pycharm Busby222 3 592 Oct-15-2023, 03:16 PM
Last Post: deanhystad
  Newbie.... run for cover. OpenCV question Stevolution2023 2 961 Apr-12-2023, 12:57 PM
Last Post: Stevolution2023
  numpy newbie question bcwilly_ca 4 1,176 Feb-10-2023, 05:55 PM
Last Post: jefsummers
  Question from complete python's newbie Davicom 3 2,361 Jun-09-2021, 06:09 PM
Last Post: bowlofred
  Newbie question about running Python via GUI on OSX ejwjohn 8 3,496 Feb-05-2021, 03:20 PM
Last Post: Larz60+
  super newbie question: escape character tsavoSG 3 2,427 Jan-13-2021, 04:31 AM
Last Post: tsavoSG
  newbie question....importing a created class ridgerunnersjw 5 2,627 Oct-01-2020, 07:59 PM
Last Post: ridgerunnersjw
  Dumb newbie question JonEdward 5 3,228 Jul-22-2020, 10:06 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020