Quantcast
Channel: reading # char in python - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by kindall for reading # char in python

if word == '\#':This probably doesn't do what you think it does. (Hint: print "\#")

View Article



Answer by Ignacio Vazquez-Abrams for reading # char in python

If Python does not recognize an escape sequence then it will include the backslash in the string.>>> '\#' == '\\#'True

View Article

reading # char in python

can someone help with me reading "#" char in python? i can't seem to get the file. because this is an output from the stanford postagger, is there any scripts available to convert the stanford...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images