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
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
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!
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.
mera to fir bhi solve nahi ho rha I tried both methods with VSCODE
Thank you sir, this could also applied for my colab project
Helped me big time. Thank you kind sir.
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
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
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!!
I tryed this but what if I want to add something like a backround to a game? Please help me.
you need to add double backslashes after C: (Ex: C:\\Users\Username\Desktop\.... ")
:
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
Big help sir, Thank you.
thank you sir now my code works
Welcome 👍
Thanks so much! This was my issue.
Problem Solved!!! Thank You 👍
Try this once uninstall flask and install it again it worked on my riddle.
Thanks bro u saved my life
Thank you so much sir.
thankyou, the solution is abs patjh thankyou!
Thank you very much
Thank you so much sir
Lagend man. Thanks
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?
Double slash is required
cool thanks
Thanks. worked in second process
Nice work!
thanks sir
Most welcome
helped nothing still have the error
sir thank you for this
Most welcome
you're amazing
Thank u sooooo muchh!!✌
Really thanks bhaiya
I appreciate this so much
Thank you , this is really save me
Glad to hear that!
how to solve this problem in phpmyadmin
Thank u bhaiya ❤️
Thank you
Amazing video thanks
Thank you it helped
you are a saint
Wow, first time someone calling me that
Thanks a lot
Thanks brother
Thank you soooo much!!! :)
india za best
Cool bro
thank you boss
thank you
Thanks
thanks a bunch
Tq buddy
Problem not solved sir
Are you working with normal python files or any other library?
tamil la bro ?
How do you know bro?
Thanks :)
w video
Cool
workingggg
great
why is it always indians
did it work?
❤️
Bro i have already
i love uu
Tysm
Bhebak
Thank you sir a lot
thanks sir
Thanks bro