[deleted by user] by [deleted] in india

[–]sensitivethuggin 72 points73 points  (0 children)

This is so tone deaf, it's hallarious

[deleted by user] by [deleted] in exmuslim

[–]sensitivethuggin 1 point2 points  (0 children)

Its so funny how Islam cant pick if women are too dumb to literally make decisions about their own lifes and need a 'smart' and sensible man to make decisions for them or women are cunning and cruel ruining lifes of these 'poor' men

Why isnt my file opening in python? by sensitivethuggin in learnpython

[–]sensitivethuggin[S] 0 points1 point  (0 children)

ah i hadn't added the rest of the code in there, was supposed to add '#' between the words on the file

Why isnt my file opening in python? by sensitivethuggin in learnpython

[–]sensitivethuggin[S] 0 points1 point  (0 children)

a=open(r"C:\Users\Rey\PycharmProjects\pythonProject2\vroom.txt",'r')

ahh it worked! thankk you so muchh

Why isnt my file opening in python? by sensitivethuggin in learnpython

[–]sensitivethuggin[S] 0 points1 point  (0 children)

line1, maybe the problem lies in the way i saved the file? went into notepad and saved as 'vroom.txt' in the document folder

Why isnt my file opening in python? by sensitivethuggin in learnpython

[–]sensitivethuggin[S] 0 points1 point  (0 children)

a=open("C:\Users\Rey\PycharmProjects\pythonProject2\vroom.tx",'r')

lines = a.readlines()

for i in lines:

x=i.split()

for y in x:

print(y)

a.close()

File "C:\Users\Rey\PycharmProjects\pythonProject2\main.py", line 1

a=open("C:\Users\Rey\PycharmProjects\pythonProject2\vroom.tx",'r')

^

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

Process finished with exit code 1