I copy pasted code from another IDE, and it threw inconsistent use of tabs and spaces (python), which is expected. However, I changed all the spaces t
JoshuaGottfriedAll of the comments are helpful but they are forgetting one thing... Never copy paste a lot of code3 years ago
Coder100Hi!
This is a tab:
" "
This is a space:
" "
As you can see, they are hard to tell apart.
Anyways, in your case:
Hit Ctrl/Cmd+A
Hit Tab
Hit Shift+Tab
Basically the editor tabs everything and then untabs it again, so any tabs get converted to spaces.
The second option:
Hit Ctrl+F
Inside here:
image
paste
Click the triangle:
image
Inside the second input, put in 2 spaces or however many spaces your program needs.
Then click replace all.3 years ago
PattanAhmed@LeakyLobster Hi,
Can you link your code here by editing your question and adding one of the Repls that is throwing this error?.
So that we can look into your problem more realistic than our illusionary minds.
Hope this helps
Please mark my answer if this helps.3 years ago
There's a bug in my current version of discord.py that's fixed in a later release. How do I upgrade on repl.it?
PattanAhmed@LeakyLobster Hi,
It's just easy!
Open a command shell.
If you don't know how to open it, Then press Control(Ctrl)+Shift+S
And run this command pip3 install [package] --upgrade
Done!
If you need more clarification then, pip is a terminal in python and pip3 is an updated version of pip.
And the next command usually updates it.
In the place [Package], it should be like this on your case
pip3 install [discord.py] --upgrade
Hope this helps.
Please mark my answer if this helps3 years ago
Coder100Hi, usually I uninstall it and then install it again :P3 years ago
SixBeepsYou can open the command shell by pressing Ctrl+Shift+S, then you can upgrade a package with this:
pip3 install [package] --upgrade
`3 years ago