Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Programming a routing protocol
Post: RE: Programming a routing protocol

Thank you Larz60+ --- I hope find some answers to my post
leemao General Coding Help 2 2,139 Jul-13-2021, 05:47 PM
    Thread: Programming a routing protocol
Post: Programming a routing protocol

Hello, I want to make a simple routing protocol similar to OSPF (or at least modify an existed one) in python. I found many protocols written in other languages, but I only know Python. Also, I want...
leemao General Coding Help 2 2,139 Jul-11-2021, 06:36 PM
    Thread: Can I use Python in ns3 simulator to create an IGP routing protocol?
Post: RE: Can I use Python in ns3 simulator to create an...

any suggestion ?
leemao Networking 1 8,170 Jun-30-2021, 07:20 PM
    Thread: Can I use Python in ns3 simulator to create an IGP routing protocol?
Post: Can I use Python in ns3 simulator to create an IGP...

Hello, I would like to know if it's possible to code an OSPF-based routing protocol in Python in ns3 simulator ? Otherwise, what are your suggestions for the routing protocol simulators that use Pyt...
leemao Networking 1 8,170 Apr-24-2021, 10:55 PM
    Thread: Mesure delay time in network (graph)
Post: Mesure delay time in network (graph)

Hello, I have a graph G with n nodes and m edges, I generated a random float number between 0 and 1 as a delay time for each edge, then after finding the shortest path between 2 nodes, the total dela...
leemao Networking 0 4,756 Jul-02-2020, 04:06 PM
    Thread: Problem in matrix
Post: Problem in matrix

Hello The code below works fine with the matrix in comment, however I want to use the matrix of the generated graph G instead of set it manually. It gives an error import networkx as nx import rando...
leemao General Coding Help 1 2,115 Jun-27-2020, 10:08 AM
    Thread: Remove elements from lists
Post: RE: Remove elements from lists

Thank you
leemao General Coding Help 4 2,307 Jun-21-2020, 11:08 AM
    Thread: Remove elements from lists
Post: RE: Remove elements from lists

(Jun-20-2020, 07:35 PM)bowlofred Wrote: I understand why the "1" disappeared, why did the "0"s disappear? They're not a first element of a list? Thank you bowlofred, you're right, I didn't choose th...
leemao General Coding Help 4 2,307 Jun-20-2020, 08:54 PM
    Thread: Remove elements from lists
Post: Remove elements from lists

Hello, I have some lists: sp_0 = [1, 0, 3, 395, 399] sp_1 = [1, 96, 11, 398] sp_2 = [1, 0, 3, 10, 397] sp_3 = [1, 0, 96, 130, 396] sp_4 = [1, 0, 3, 395] I need that the 1st elements will be removed ...
leemao General Coding Help 4 2,307 Jun-20-2020, 06:58 PM
    Thread: Change code from using UDP socket to TCP
Post: Change code from using UDP socket to TCP

Hello I want to change this code (https://github.com/c-paras/DistanceVectorProtocol) from UDP to TCP, I start with socket.SOCK_STREAM and I no know how to add listen() and accept() and what are the o...
leemao Networking 0 1,456 Feb-28-2020, 02:29 PM
    Thread: What are the available softwares used to edit and simulate network routing protocols?
Post: What are the available softwares used to edit and ...

Hi I would like to know what are the simulators / emulators or other software that can be helpful in editing and executing the network routing protocols like OSPF, RIP and others, in Python of cours...
leemao General Coding Help 1 1,882 Dec-25-2019, 05:28 PM
    Thread: How to execute Python code
Post: RE: How to execute Python code

Thank you snippsat
leemao General Coding Help 2 2,121 Dec-21-2019, 02:35 PM
    Thread: How to execute Python code
Post: How to execute Python code

Hi How to execute the code in this link https://github.com/puetsua/pyRIP ? please I tried but there is no output
leemao General Coding Help 2 2,121 Dec-21-2019, 10:25 AM

User Panel Messages

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