11 lines
328 B
Python
11 lines
328 B
Python
path = r"E:\GitHub\blog\bot-go\internal\tghandlers\tghandlers.go"
|
|||
|
|
with open(path, "rb") as f:
|
||
|
|
lines = f.read().decode("utf-8").split("\n")
|
||
|
|
|
||
|
|
# Show lines 115-120
|
||
|
|
for i in range(114, 122):
|
||
|
|
print(f"{i+1}: {repr(lines[i][:80])}")
|
||
|
|
|
||
|
|
# Show lines 575-580
|
||
|
|
for i in range(574, 582):
|
||
|
|
print(f"{i+1}: {repr(lines[i][:80])}")
|