#๐Ÿ”’ im facing prob when i load image in display screen

29 messages ยท Page 1 of 1 (latest)

stark summitBOT
#

@dark glade

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

frigid heath
#

```language
the_code()
```

#

we dont know

#

not sure

#

I know windows have "copy directory"

#

wait

frigid heath
tawny quail
#

!traceback @dark glade when showing an error, show the full error

stark summitBOT
#
Traceback

Please provide the full traceback for your exception in order to help us identify your issue.
While the last line of the error message tells us what kind of error you got,
the full traceback will tell us which line, and other critical information to solve your problem.
Please avoid screenshots so we can copy and paste parts of the message.

A full traceback could look like:

Traceback (most recent call last):
  File "my_file.py", line 5, in <module>
    add_three("6")
  File "my_file.py", line 2, in add_three
    a = num + 3
        ~~~~^~~
TypeError: can only concatenate str (not "int") to str

If the traceback is long, use our pastebin.

frigid heath
#

@dark glade "show the full error"

#

what "but how"?

tawny quail
#

It starts from the work "Traceback" and ends when there are no more lines in the erorr

#

that's the full error

frigid heath
#

@dark glade give us the full traceback report

#

kindly learn how to use code block on discord

#

```language
text
```

tawny quail
#

!e
\ has special meaning in string literals. For example, \n means a line break. ```py
print("Hello\nworld")

`\U` starts an escape sequence for inserting a unicode character:
```py
print("Unicode character: \U00010000")
``` if you want to use a backslash, you need to repeat it: ```py
print("C:\\Users")
stark summitBOT
frigid heath
#

wait why he using "\"

tawny quail
#

Windows uses \ to separate the pieces of a path

frigid heath
#

oh

frigid heath
#

uh I suggest do
./the_image.jpg

tawny quail
frigid heath
#

the terminal was screaming it to you.....

the error was you using windows path

tawny quail
#

Using a windows path is not an error on windows

stark summitBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.