Return full path to `filename` in freegames module.
(filename)
| 37 | |
| 38 | |
| 39 | def path(filename): |
| 40 | """Return full path to `filename` in freegames module.""" |
| 41 | filepath = os.path.realpath(__file__) |
| 42 | dirpath = os.path.dirname(filepath) |
| 43 | fullpath = os.path.join(dirpath, filename) |
| 44 | return fullpath |
| 45 | |
| 46 | |
| 47 | def line(a, b, x, y): |