#π Help me with a 2 line error
79 messages Β· Page 1 of 1 (latest)
@proud jolt
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.
How do i send the code whats the command]
!code
'''py
print (Test)
'''
Backticks, not single quotes
print('tem("clear && printf '\e[3J'")
C:\Users\Administrator\Desktop\test new boost\main.py:315: SyntaxWarning: invalid escape sequence '\ '
/\ == \ /\ __ \ /\ __ \ /\ ___\ /\__ _\ /\ == \ /\ __ \ /\__ _\
do you want it to print Test?
you need to use a raw string
also what the hell is that code even supposed to do
r""
Its a ticket bot
raw string
on discord?
yes
what do you need clearing terminal commands for then?
i have no idea i didn't code it but
Can you post the github or full code
where do i insert the raw string
is it right before "Clear
why don't you reach out to whoever wrote it for support?
does anybody know where to insert the raw string
dude
show the full code like you've been asked multiple times
oh, this is a bot for boosting discord servers, gtfo
Based on the link in there profile it is very likely that this bot is against discord TOS or is facilitating things that violate discord TOS.
dude the link in your profile is publicly visible
is it a ticket bot for your boosting bot?
Yea i know my link in my profile but its a ticket bot
print("This is a string.\n Backslashes are used to escape other characters")
print(r"This is a 'raw' string that \n auto-escapes backslashes")
# r"\" == "\\"
i already have a boost bot
^^
!rule tos
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
becuase you aren't interested in python or programming, you're just using the server for free help for your discord bots
yes its not illegal though ticket bots are not illegal
We have that rule about helping on projects that appear to be malicious or illegal. Folks are being cautious.
Your ticket system may not be nefarious, but if it's supporting some larger bot that does malicious things, folks don't want to assist on that.
just leave this chat if your not willing to help
leavet his server if you have no interest or background in programming or python
and go hire someone who does have that interest and skillset
but its not supporting that bot i have multiple servers i will use the ticket bot for
who cares
test new boost\main.py is sure not a boost bot
i too give my projects names that arent related to what the project is, i specially love giving normal projects names related to ToS-breaking things
(also you already got a decent answer, just apply a small change and you should be done with this specific error)
Or just dont break discord TOS is the best option. These businesses are very scummy
@proud jolt This should answer the specific issue you came for, I think.
Folks, keep it civil, please.
So this server is only for python devs
if you don't know python you cannot be helped?
yes, or those willing to learn
We're a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.
speaking for myself, I'm not willing to help others who have zero interest, because they aren't asking for help, they're asking for free skilled labor
<@&831776746206265384> I think this is getting a bit heated.
Some guy sayed the same thing the other day but i have interest in fixing the bot so idk what your saying
Anyways if your not willing to help
get out of the chat
no
No life
yeah as grice says let's keep it civil, either people help or don't help, but we're not doing moral lecturing here
final warning, further argument here and anyone involved is going to get an infraction, if you don't want to help then don't help, if you believe the content of the help is inappropriate them DM @stiff whale
we're not lecturing here, we're not arguing here, it's a drain
since you're here and have presumably reviewed the above, is there a need to DM ModMail, or do you have it?
looking through now
how can i close this i no longer wan't to ask for help in this server.
it'll time out, just leave it
let's call this closed, i've got what is needed, no infractions dealt out but let's just keep it civil and not ask for help in this project
Deal
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.