Home > other >  No answer [o] to the file or directory? _?
No answer [o] to the file or directory? _?

Time:09-30

Use simple try tkinter module display a picture (P1)
That's not the point, the key is that path (P3) should be no problem, why can't find that report no to the file or directory (P4)?

CodePudding user response:

E refers to E disk? If it is combined with a colon, lay your characters are, what the hell?

CodePudding user response:

In front of the correction, the absolute path to the E:/I have add a colon (screenshot accidentally deleted), is still the same error,

CodePudding user response:

Is combined with, is still the same error,

CodePudding user response:

Screenshots of the path to write a little mess, but I'm presumptuously changed Chinese characters in Chinese, the following path: the path="C:/Users/little monsters Sama/Desktop/loli. GIF", is still an error no to the file or directory

CodePudding user response:

Don't use \ \ as a path separator, use/line, the path is best not to have any Chinese, and you should change the text direction? Sideways look not bad

CodePudding user response:

refer to fifth floor tears panda head response:
don't use \ \ as a path separator, use/line, the path is best not to have any Chinese, and you should change the text direction? Sideways look not bad

I tried a pure English path separators form three are tried, still error, (transverse characters are accustomed to watch? _?

CodePudding user response:

refer to 6th floor m0_46202073 response:
Quote: refer to the 5 floor tears panda head response:
don't use \ \ as a path separator, use/line, the path is best not to have any Chinese, and you should change the text direction? Sideways look not bad

I tried a pure English path separators form three are tried, still error, (transverse characters are accustomed to watch? _?
please duplicate the path of the resource manager, don't play, hand Desktop file directory should not be the Desktop?

CodePudding user response:

refer to 7th floor tears panda head response:
Quote: refer to the sixth floor m0_46202073 response:

Quote: refer to the 5 floor tears panda head response:
don't use \ \ as a path separator, use/line, the path is best not to have any Chinese, and you should change the text direction? Sideways look not bad

I tried a pure English path separators form three are tried, still error, (transverse characters are accustomed to watch? _?
please duplicate the path of the resource manager, don't play, hand Desktop file directory should not be the Desktop?
check whether the colon in English colon, right attribute, copy the file path

CodePudding user response:

refer to 7th floor tears panda head response:
Quote: refer to the sixth floor m0_46202073 response:

Quote: refer to the 5 floor tears panda head response:
don't use \ \ as a path separator, use/line, the path is best not to have any Chinese, and you should change the text direction? Sideways look not bad

I tried a pure English path separators form three are tried, still error, (transverse characters are accustomed to watch? _?
please duplicate the path of the resource manager, don't play, hand Desktop file directory should not be the Desktop?

I am in a property replicate, then add the file name, path="C:/Users/little monsters Sama/Desktop/loli. GIF" pure English path also tried, I try to restart,

CodePudding user response:

Solved, the details of a very small but very nausea,
With a file name itself. GIF is full name of the file should be *. GIF. GIF, names need to be careful!!!!!!
  • Related