I am reading a text file using readline(). My file contains below content with a space at second line:
!
"
#
$
%
&
When I print read values using-
print("'%s'
" % iso5_char)
It prints-
'!'
''
'"'
'#'
'$'
'%'
'&'
It seems that readline() not reading the 'space' at second line.
I am using python for the first time. I have python-3.5 installed. What is wrong I am doing here? Why is space not read?
UPDATE: Screenshot of the file i amreading:
See Question&Answers more detail:os