Python regex match space only

No need for special groups. Just create a regex with a space character. The space character does not have any special meaning, it just means “match a space”. So for your case would give

ImportError: No module named IPython

Ok, finally i achieved my goal. I wrote ipython –version but i found, it was not installed. I tried to install it, with pip. I went to C:\Python27\Scripts, here is pip, you can try in this directory, or add to environment variables. I tried to install ipython, but i found a error error: Unable to … Read more

Using strip() to clean up a string

I am new to python and I have a string that looks like this Temp = “‘, ‘/1412311.2121\n“ my desired output is just getting the numbers and decimal itself.. so im looking for as the output.. trying to get rid of the ‘, ‘/\n in the string.. I have tried Temp.strip(“\n”) and Temp.rstrip(“\n”) for trying … Read more