Its not working bro its showing this :- C:\Users\ICON\AppData\Local\Programs\Python\Python311\python.exe: can't open file 'C:\\Users\\ICON\\sp.py': [Errno 2] No such file or directory If if I tried in cmd It shows :- An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
isn't there a way to solve this without writing the complete path Like if we have a 'b' or 'n' in our file name it will not open like it python will read it ( ) as a next line
So weird! My "read me folder" doesn't even have any files in it not even a text file and this issue drove me bunkers!, but moving the empty folder into the .py folder solved my problem. Thank you!
hi! I have a question. I'm looking at Window (C:) and I do not have any of the text files. I do have python installed but i'm wondering if maybe i installed the wrong version or if I'm doing something wrong. any help would be appreciated
@@unitedtoptech6288thank you for the reply! how do I do that? i can't find the text on my pc. i've re-installed & repaired python on & off about 3 times to be sure. I don't see any folders that says PYTHON EXAMPLE and PYTHON TEXT. that's where I got lost because they don't exist in my PC
Hi, After I create an exe file, using auto-py-to-exe, I get an error message: Failed to execute script'Practice_Tkinter_file' due to unhandled exception:[Errno2] No such file or directory:'image/kids.jpg' I have more images i my map but some of the can convert and some cant and getting the error message. Can you help me?
@@yashkalme1172 hmm have heard about it gonna try it next time But i solved this problem by adding double slash instead of single one and it worked Like C:\\program files\\python programming.txt
my problem was that I by mistake wrote an extra .txt so I was calling file.txt, but it was named file.txt.txt seems like the notepad files dont show the .txt like .py
idk but in linux it's not getting solved providing the full path works however i wanted to provide it in the same folder so anyone else can use my script too . here's my code :- username = open("user.txt","w") also am 1000% sure that my txt file is in same folder , idk if it's bug or what
got em both in the same folder and still not working :(
so far nobody is able to solve this problem. what you are expalining is very basic
bro same. No tutorial has helped me yet. did you figure it out yet?
@@jonathanbell7468 yes I did. The solution is ensuring you include the whole path of the file from the root if you get what I mean
@@brianbwoma9947 could you explain more? im having this problem and my assignment is due tonight
@@brianbwoma9947Bro how did you sort out the problem?? Please help right now as I'm solving questions for cbse boards 2024-25.
Its not working bro its showing this :- C:\Users\ICON\AppData\Local\Programs\Python\Python311\python.exe: can't open file 'C:\\Users\\ICON\\sp.py': [Errno 2] No such file or directory
If if I tried in cmd It shows :- An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
How can this happen from the next day to the other without having changed anything? Drives me nuts. Thanks though.
you need to add double backslashes after C: (Ex: C:\\Users\Username\Desktop\.... ")
:
isn't there a way to solve this without writing the complete path
Like if we have a 'b' or 'n' in our file name it will not open like it python will read it (
) as a next line
So weird! My "read me folder" doesn't even have any files in it not even a text file and this issue drove me bunkers!, but moving the empty folder into the .py folder solved my problem. Thank you!
Glad it worked!!
mera to fir bhi solve nahi ho rha I tried both methods with VSCODE
hi! I have a question. I'm looking at Window (C:) and I do not have any of the text files. I do have python installed but i'm wondering if maybe i installed the wrong version or if I'm doing something wrong. any help would be appreciated
Can you paste your python code? I can look into it
@@unitedtoptech6288thank you for the reply! how do I do that? i can't find the text on my pc. i've re-installed & repaired python on & off about 3 times to be sure. I don't see any folders that says PYTHON EXAMPLE and PYTHON TEXT. that's where I got lost because they don't exist in my PC
I cannot understand what you mean by python example or text file?
Hi, After I create an exe file, using auto-py-to-exe, I get an error message:
Failed to execute script'Practice_Tkinter_file' due to unhandled exception:[Errno2] No such file or directory:'image/kids.jpg'
I have more images i my map but some of the can convert and some cant and getting the error message.
Can you help me?
I'm having the file in the same folder still it throws the same error and when i copy the path then it throws unicode error
Also check if u have added file extension
late reply but path ke pehle r daal jaise r'C:
ew file\data.txt'
@@unitedtoptech6288 Thanks but i already did that
@@yashkalme1172 hmm have heard about it gonna try it next time
But i solved this problem by adding double slash instead of single one and it worked
Like C:\\program files\\python programming.txt
@@yashsharma9947 lol. I have the same error with you and i tried to make it like u . It worked , tks bro ;v
I tryed this but what if I want to add something like a backround to a game? Please help me.
Thank you sir, this could also applied for my colab project
Helped me big time. Thank you kind sir.
my problem was that I by mistake wrote an extra .txt
so I was calling file.txt, but it was named file.txt.txt
seems like the notepad files dont show the .txt like .py
Ohh got it ! glad that you could solve it
idk but in linux it's not getting solved providing the full path works however i wanted to provide
it in the same folder so anyone else can use my script too . here's my code :-
username = open("user.txt","w")
also am 1000% sure that my txt file is in same folder , idk if it's bug or what
I am using spyder in anaconda this error occurs on json and .h5 file can you please help me how to handle that error Filenotfound
Never used spyder bro
But it IS in the same folder! 😭
check the spelling and extension
pro tip: run it in the IDLE
How will that solve the issue?
Try this once uninstall flask and install it again it worked on my riddle.
tamil la bro ?
How do you know bro?
helped nothing still have the error
how to solve this problem in phpmyadmin
Thanks so much! This was my issue.
thank you sir now my code works
Welcome 👍
Problem Solved!!! Thank You 👍
Double slash is required
cool thanks
Big help sir, Thank you.
Thanks bro u saved my life
Thank you so much sir.
india za best
Cool bro
Problem not solved sir
Are you working with normal python files or any other library?
Lagend man. Thanks
Bro i have already
Thank you so much sir
Thank you very much
you're amazing
Bhebak
you are a saint
Wow, first time someone calling me that
Really thanks bhaiya
w video
Cool
sir thank you for this
Most welcome
thankyou, the solution is abs patjh thankyou!
Thanks. worked in second process
Nice work!
Thank u bhaiya ❤️
thanks a bunch
Thank u sooooo muchh!!✌
Tq buddy
Thank you
thanks sir
Most welcome
I appreciate this so much
workingggg
great
Thank you it helped
Thanks a lot
thank you boss
why is it always indians
did it work?
Thanks bro
Thanks
Amazing video thanks
thank you
Thanks :)
Thank you soooo much!!! :)
Thank you , this is really save me
Glad to hear that!
❤️
i love uu
Tysm
Thank you sir a lot
Thanks brother
thanks sir