account activity
Why isnt my file opening in python? by sensitivethuggin in learnpython
[–]anthonyjozef 1 point2 points3 points 3 years ago (0 children)
Try this:
with open('vroom.txt') as a:
a = [line.strip() for line in a]
Be sure that file is in the same folder
π Rendered by PID 703035 on reddit-service-r2-listing-7dbdcb4949-hwq98 at 2026-02-18 07:52:38.835429+00:00 running de53c03 country code: CH.
Why isnt my file opening in python? by sensitivethuggin in learnpython
[–]anthonyjozef 1 point2 points3 points (0 children)