How can I use python to do my project?

2 views
Skip to first unread message

JIECONG WANG

unread,
Jan 29, 2012, 6:09:43 PM1/29/12
to EEL 6591
For projects of ns3, I want to simulate my projects using python in
future。 I know that there may be some APIs of python related to the
NS3, right? How can I read the details of these APIs ? I try to use
import ns.application ,help(ns.application) , there are some function
I can use , but all of them are just names of funtions, there is no
details describing how to use it.


Gokul Bhat

unread,
Jan 29, 2012, 6:39:34 PM1/29/12
to eel65...@googlegroups.com
Any network simulation in ns3 will include the core source functionality (written in C++) and a simulation script (C++ or python). The functions you are referring to are written in C++ and a python wrapper is used in order to call those functions from the simulation script. I will talk about it in more detail in the next NS3 class. 
In case you have further questions, let me know.
Reply all
Reply to author
Forward
0 new messages