There is already an electron app for repl.
Currently it is functional, even though leon hasnt been working on it recently.
Welcome! Nice change. Wonder if you could make something for .env files? maybe like a lock would be cool. Great change though.
Repl accounts are permanent. What you might be confused with is how long servers stay up. Servers stay up for 30 minutes after the website is visited. The website, though will always be up.
Instead of pasting the code here, link the repl to the post. Dong so not only makes it readable, but it also lets us see firsthand and easily fork+edit it, so that we can better help you.
Have fun with it. when u learn something new, think of annother way u could use it, do more than what the tutorial says. customize it.
@KiKUP ok. If u want it hidden to other users:
1) make a file named
import ast to the beginning of your code
3) Read the file:
with open('.env', 'r') as f: <item name> = ast.literal_eval(f.read())
4)Write data into file:
with open('.env', 'w') as f: f.write(str(<item name>))
here's an example of something I did with this: https://repl.it/@AllAwesome497/LOL-Bot
Your problem is at line 11, where you forgot to indent
if input() == "3":, to fix this, simply put 2 spaces at the beginning of the line.
If it is a terminal game, then no, sound is currently not supported. If it is on a site though, then yes, you can.
Hey. I'll point some team members your way. Right now, they are likely all asleep (i think it's 4:42 am rn in san francisco) so ur night be a while.
This system wouldnt work though - that would mean that there is a limited amount of upvotes and it would discourage upvoting in general. The infra for this would also be very complicated, I can't see this happening.
This is how you get a random number:
import random # At the beginning of the file random_number = random.randint(<lowest number>, <highest number>) # Choose a number between arg 1 and arg 2, includes the top and bottom numbers
Btw, if u provide the link to the repl, if we click on it it will open a little window to it, which makes it more readable, and allows us to see the exact error,
and edit a forked version of it.
[email protected](probably would be best if u used your email u are singed in as, or if you have signed up with social Meha , use the email u used for that) say your username, and the name of the repl you want restored, and (ofc) ask for it to be restored.
What language? If u know how to do it make a file called
@mroumani Yes. Using a little bit of js...
window.location.href="<pageName>" it will redirect to the other page upon opening it, Although u won't be able to open that page with the script on it bc soon as u open it it will go to the other (until u remove it, of course). This will also slow down the time for it to run a little bit though.