Wade Bourne

@AllAwesome497 (359)
Repl.it moderator who loves programming, and has multiple bots. I mainly use python but Ti-Basic is fun also ;) Discord: AllAwesome497#4960
Repl.it Desktop 😯
posted to Ask by PDanielY

There is already an electron app for repl.
Currently it is functional, even though leon hasnt been working on it recently.

Hello from Repl.it's newest designer!
posted to Announcements by tangert

Welcome! Nice change. Wonder if you could make something for .env files? maybe like a lock would be cool. Great change though.

New in Basic: Sound, high resolution, and clean syntax
posted to Share by amasad

@JordanDixon1 You can! I have a post here detailing it.

Repl Talk Rules and Guidelines [README]
posted to Announcements by mat1

@Scoder12 yeah. Bummer i didn't have the time to work on it after i initially wrote it.

App of the Week #1
posted to Announcements by PDanielY

@amasad Thank you. And thanks to everyone else.

Edhesive Assignment 5 help
posted to Ask by jedifan65

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.

Cycle Finder
posted to Share by Pythonier


{{ template_jam }} results!
posted to Share by AllAwesome497

@IreTheKID cool ok.

Importing files as modules
posted to Ask by Electrosolt

import <filename without extension>
here is an example: https://repl.it/@AllAwesome497/Business-Man-6

MaxDonalds: McDonalds Simulator
posted to Share by Nettakrim

One word:

WHy is not working?
posted to Ask by AlexIsRapling

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.

Sound? (Python 3)
posted to Ask by Vorden999

If it is a terminal game, then no, sound is currently not supported. If it is on a site though, then yes, you can.


@sugarfi you have to be an explorer :upside_down:


@PDanielY As i noted at the end of the post, you have to be an explorer.

Is a mafia game to un-age appropriate for repl.it?
posted to Ask by BobTheTomatoPie

Honestly it depends. We don't moderate what you do in your repls, just what's posted in talk. If its nsfw, no. If there is minor swears, or you aren't sure just dm me on discord: AllAwesome497#4960

How do we request a free premium account for our college?
posted to Ask by misterhtmlcss

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.

App of repl.it
posted to Ask by kiwonok

Like @PDanielY said, @Kognise is already making an app for repl.it. It's in react JS, and you could ask him if u can help, if you want to help him with that.

New Programer
posted to Ask by RianScott

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.

Database-Like File
posted to Ask by KiKUP

@KiKUP ok. If u want it hidden to other users:
1) make a file named .env
2)add 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

How to paste?
posted to Ask by mkhoi

@mkhoi ok then ctrl/cmd +v should paste. Shift right clicking might show paste idk

random integer
posted to Ask by AnnaBuell

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
{{ template_jam }} [EXTENDED!]

@AmazingMech2418 yea, just remember that you have to find a name short enough for it ;)

keeps saying functions arent defined
posted to Ask by james21215

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.

Accidentally deleted an IMPORTANT repl
posted to Ask by kckusal

Contact [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.

instagram bot using repl using mac?
posted to Ask by BrandonsTattoos

What? Who told you that you needed a vm to host a bot? Regardless of what operating system you use, python will work, and even if python wasn't available for your operating system, repl would be. Yes, you could host an instagram bot on repl, although your uptime might not be 100%.

Database-Like File
posted to Ask by KiKUP

What language? If u know how to do it make a file called .env

Assignment of Variables and Expression
posted to Share by CathyWong

Hey- we don't allow personal emails here, please don't include them in posts or post titles.

posted to Ask by mroumani

@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.

I did something horrible
posted to Ask by Elizabeth_Mason
posted to Ask by DerpyArgo

Try tutorialspoint