MCPcopy
hub / github.com/grantjenks/free-python-games / path

Function path

src/freegames/utils.py:39–44  ·  view source on GitHub ↗

Return full path to `filename` in freegames module.

(filename)

Source from the content-addressed store, hash-verified

37
38
39def 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
47def line(a, b, x, y):

Callers 1

memory.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected