|
|
| 77 |
:: |
77 |
:: |
| 78 |
|
78 |
|
| 79 |
./waf --shell |
79 |
./waf --shell |
| 80 |
python examples/mixed-wireless.py |
80 |
python examples/wireless/mixed-wireless.py |
| 81 |
|
81 |
|
| 82 |
and the other is to use the --pyrun option to waf: |
82 |
and the other is to use the --pyrun option to waf: |
| 83 |
|
83 |
|
| 84 |
:: |
84 |
:: |
| 85 |
|
85 |
|
| 86 |
./waf --pyrun examples/mixed-wireless.py |
86 |
./waf --pyrun examples/wireless/mixed-wireless.py |
| 87 |
|
87 |
|
| 88 |
To run a python script under the C debugger: |
88 |
To run a python script under the C debugger: |
| 89 |
|
89 |
|
| 90 |
:: |
90 |
:: |
| 91 |
|
91 |
|
| 92 |
./waf --shell |
92 |
./waf --shell |
| 93 |
gdb --args python examples/mixed-wireless.py |
93 |
gdb --args python examples/wireless/mixed-wireless.py |
| 94 |
|
94 |
|
| 95 |
To run your own Python script that calls |ns3| and that has this path, ``/path/to/your/example/my-script.py``, do the following: |
95 |
To run your own Python script that calls |ns3| and that has this path, ``/path/to/your/example/my-script.py``, do the following: |
| 96 |
|
96 |
|