Nathan Zilora
hacker

@21natzil (736)
A repl.it discord and repl talk moderator! I love bit manipulation and I'm interested in cyber security and data science.
Connecting repl.it to a GitHub repo?
posted to Ask by CaptainAnon

Not at the moment, however don't worry! This feature is planned and being developed as we speak.

A lot of things
posted to Ask by ebest

I'll try to remember replitears for the weekly repls. 😉

💡 UI Repl
posted to Share by moudy

Very nice, it feels really clean!

The Repl.it Chrome Extension 🌐
posted to Announcements by jajoosam

Looks awesome, maybe porting to Firefox next?

Hi!
posted to Ask by EniolaOyewole

Thanks so much! While we do appreciate the positivity, Repl Talk Learn is for people to post things such as tutorials, which this isn't.

Array doubt
posted to Ask by Lanna

What an array, or list means, greatly depends on the language. Let's say we're talking about python. Lists are, lists, simple as that. But if someone says array, they could actually mean a list, and their just calling it that because they come from another language. Or, they actually are talking about arrays, and are most likely talking about numpy.array. NumPy is a very popular module for doing complex math in python, and people that use numpy pretty much always use it's array class. I hope this helps clear up some confusion!

Game Tutorial: Canyon Runner
posted to Learn by ericqweinstein

This is a great game! However it's had it's time under the sun. I hope everyone enjoyed this project, because I know I did! Anyways, I'll be unpinning this now, but that doesn't mean you can still find it! Thanks @ericqweinstein for this amazing game!

Python or not? please any information would do.
posted to Ask by bion0

Python is a great language, but choose whatever you want! Each language has it's own advantages and disadvantages. If you like Python, go for it. But if you want to try any other languages, that's perfectly fine too.

#BuiltOnReplit (Edition #45)
posted to Announcements by 21natzil

@Zavexeon Well, I don't know about you, but a a repl.it skynet does sound impressive 😉

Is it possible to use python's socket library in repl.it?
posted to Ask by ETHANSIAO

Yes, and no. Yes you can create sockets, and they will behave normally. The problem with your code is that you're using gethostname. Replace that with "0.0.0.0" which means it will bind to the computer, but be accessible externally. The reason I say no, is that whenever you open a socket and bind it to the repl, repl.it is tricked into thinking you started an HTTP server (A web server). It will then start requesting your website, which may cause issues with your code. It will also convert any request other people made to the repl into HTTP.

Python GUI
posted to Ask by dylanharding33

Remi is a library that acts like a GUI, and has similar syntax. However, it makes a website that have the GUI on it, instead of opening a window. This works great with repl.it! I should note, despite what the repository says, it doesn't work on firefox, however it's perfectly fine with chrome.

(SOLVED) [Pygame][Audio Mixer] "No available audio device"
posted to Ask by ETHANSIAO

Sorry, but audio players of any kind are not support. Don't fret however, this is something that's planned and will be included eventually.

Python Graphics and Stuff
posted to Ask by DavidClone

Yep, you should be able to use it in any browser. For a pygame repl, click here. For a tkinter repl, click here

Game Jam FAQ
posted to Share by katyadee

I want to use a project but it would require installing a lot of extra libs. Is this possible to use in repl.it https://github.com/renpy/renpy#compiling-the-modules and how would I use it.

Root password for shell
posted to Ask by aksubacct

Repl.it users can't access root, sorry 😓

A bad hashing algorithm
posted to Share by 21natzil

@MarcusWeinberger Of course, I'm glad you like it!

Role Play Game
posted to Share by HarryCarnell

We would love to help! However the repl you provided doesnt have any code. If you comment a link to the repl you're using, we'd be glad to help you.

Question about Python GUI automation.
posted to Ask by ndeering

Interesting question! Do you think you could share the repl you want to automate, and what you want to automate?

First Official Repl.it Art: MULTIPLAYER
posted to Announcements by amasad

Looks really sweet!

Import arcade Error
posted to Ask by AhmedOmda

You're running your code in a Python repl. If you move this to a PyGame repl, it should run just fine!

Weekly Repls #39
posted to Announcements by 21natzil

@ebest Good question. If you want to cite someone's repl, I'd suggest mentioning them and having that followed by the link to the repl. In my posts, I use markdown to turn my 1 sentence summaries into links.

Ability to leave repl running in paid account?
posted to Ask by damo1884

Thanks for supporting repl.it! While repl.it does not offer anything to keep repls on, you can follow this tutorial to have your repls running 24/7 https://repl.it/talk/learn/How-to-use-and-setup-UptimeRobot/9003

random.choice() not working properly. (Python)
posted to Ask by Aloeb83

You forgot to add end quotes to each option. It should be ['Short pass', 'Long Pass', 'Run']. Good luck on your project!

Integer and Algebra calculator
posted to Share by IEATPYTHON

Nice, well done guys!

Play sound in a repl with Python
posted to Ask by RojerGS

@RojerGS When creating a website on repl.it, you're only restricted by your browser. When working with Python / Pygame repls, sound is not supported, sorry for the confusion.

Play sound in a repl with Python
posted to Ask by RojerGS

Sorry, but repl.it does not support sound at the moment. Sorry for the inconvenience. This feature is planned and will be added in time.

How do i use BS4? (PYTHON
posted to Ask by AzureScripts

This is an issue with the requests library you're using. the content attribute is not a function, but bytes containing the website's response. But instead of passing .content into BS4, you should instead use .text which is a string. So it'd look like

soup = BeautifulSoup(results_page.text, 'html.parser')
Can Repl.it substitute a code editor like PyCharm?
posted to Ask by LeonGrin

Your IDE doesn't prevent you from learning important skills used in the work force, so by all means, continue with repl.it! If a work place requires a certain text editor or IDE then that's fine, but you'll still be able to use the skills you've gained from repl.it