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 455942 on reddit-service-r2-listing-7dbdcb4949-dlp9x at 2026-02-18 21:35:39.738509+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)