Sunday 28 October 2018

How can I store from a file to array in Python?

my textfile has some numbers below



5
13
2
63


How can I store those numbers into an array?

Thanks!!!

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...