Python Forum
convert address and broadcast to network object
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
convert address and broadcast to network object
#1
the ipaddress module API can convert a network object into the subnet base and broadcast addresses but i cannot find a means to do the reverse, that is, given subnet base and broadcast addresses, convert that into a network object. anyone know the API to do that?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
convert address and broadcast to network object - by Skaperen - Mar-05-2023, 08:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ValueError: could not broadcast input array from shape makingwithheld 1 2,335 Jul-06-2024, 03:02 PM
Last Post: paul18fr
  Review my code: convert a HTTP date header to a datetime object stevendaprano 1 4,070 Dec-17-2022, 12:24 AM
Last Post: snippsat
  operands could not be broadcast together with shapes (337,451) (225,301) kevinabbot 0 2,178 Dec-14-2021, 04:02 PM
Last Post: kevinabbot
  How to convert a string "<... object at POINTER>" to an object? mandaxyz 5 5,290 Aug-08-2020, 10:44 PM
Last Post: mandaxyz
  ValueError: shape mismatched: objects cannot be broadcast to a single shape Laplace12 0 5,172 Jul-14-2020, 11:45 AM
Last Post: Laplace12
  VM address (C pointer) of Python object Skaperen 1 2,619 Apr-21-2019, 10:57 PM
Last Post: hshivaraj
  ValueError: could not broadcast input array from shape (1555200) into shape (0) promach 1 4,471 Jun-18-2018, 08:00 AM
Last Post: promach
  Convert from datetime to time.struct_time object chris0147 0 5,377 Mar-11-2018, 12:01 AM
Last Post: chris0147
  How to convert a Status object to String? Vucko 6 8,695 Jan-14-2018, 08:33 PM
Last Post: buran
  Convert String to Datetime Object tkj80 2 35,557 Apr-20-2017, 08:45 AM
Last Post: volcano63

Forum Jump:

User Panel Messages

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