Skip to content

Instantly share code, notes, and snippets.

Last active Feb 11, 2021
What would you like to do?
linecache example
import linecache
lineno = 423
fname = "/home/ofer/Sources/easypy/easypy/"
linecache.getline(fname, lineno)
# ' return random.randint(minimum, maximum)\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment