#๐Ÿ”’ help

28 messages ยท Page 1 of 1 (latest)

cold kestrelBOT
#

@lusty condor

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.

remote pine
#

can you post the code again? sorry

lusty condor
#

igh

remote pine
#

nono the actual code

#

like the python code

lusty condor
#

oh

#

file = open("<python-input-33>", "r")

remote pine
#

okay, what is <python-input-33>? is that a file?

lusty condor
#

its the file it gave me

#

after i make a error it tells me
File "<python-input-33>", line 1, in <module>

remote pine
#

that's the name of the file...? like program.py, words.docx, etc etc. The name of the file is <python-input-33>?

gritty nacelle
#

"it gave me"
what is "it" in this case?

lusty condor
#

the python gui

gritty nacelle
#

what were you trying to do in first place?

lusty condor
#

im trying to get started in python so i was making a apple

#

with turtle

#

and it said i didnt define screen

#

so i wanted to delete the line

#

but it wontt let me

gritty nacelle
#

the number in that counter is the number of lines you have entered in the python GUI

the <python-input-nnn> is saying it's something you entered in the python gui

lusty condor
#

and i searched it up and it said i had to delete in files

rain reef
#

You may want to open the IDLE editor instead of doing everything in the REPL.

gritty nacelle
#

first of all, close that window and follow a tutorial to setup an Integrated Development Environment (IDE) such as VSCode or Thonny

lusty condor
#

ok

cold kestrelBOT
#
Python help channel closed using Discord native close action

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.