I have been using Center() to center text but this does not center if the console size changes, is there a way to make it centered even if the console
Python
CodingElf66Actually you can't do it, since the function .center by default is the Replit Python Window tab, so you can't really do anything about that, unless if you want to find the function and go re-code it.
I hope you can mark this as answered, thanks!2 years ago
I am trying to use flask-admin and keep getting this error flask has no attribute login_manager How do I fix this?
Python
InvisibleOneThe only error I'm getting is TabError: inconsistent use of tabs and spaces in indentation which means you are using tabs in some places for indentation and spaces in another, you need to stick with one.3 years ago
I am trying to setup selenium to use the remote server on their documentation I need the replit file to run the server.jar and then the main.py file.
Python
19winterspIf you want the JAR to finish before starting the Python:
run = "java -jar Server.jar; python3 main.py"
or if you want them to start at the same time:
run = "java -jar Server.jar & python3 main.py & wait"
`3 years ago