Traceroute visualizer written in python
python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.py 1015B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-#
  3. # Copyright 2015 Weber Yann
  4. #
  5. # This file is part of pyMapTraceroute.
  6. #
  7. # pyMapTraceroute is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation, either version 3 of the License, or
  10. # (at your option) any later version.
  11. #
  12. # pyMapTraceroute is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with pyMapTraceroute. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. import vtracert
  21. MAPFILE = 'mapData/borders.dat'
  22. MAPFILE = 'mapData/borders_xl.dat'
  23. width = 1024
  24. height = 768
  25. vtr = vtracert.Vtracert(MAPFILE, width, height)
  26. vtr.run()
  27. exit()