Repl.it Code

@replitcode (101) • Repl.it Servers
🐶Introduce yourself! 🐶
posted to Announcements by katyadee

Hi!
Most of you probably know me (some as Lukas others as just replitcode)
For those of you who may not know me, don't want to know me but came across this post for some reason, or those who know me but want a refresher... Below are some common AND uncommon facts and random things about me you may OR may not find interesting (ENJOY! or don't i guess)

  • I started out programming by fiddling with the administrative cmd.exe (command prompt) shell when I was around 8-9 years old!
  • I found Repl.it Through a google search for full python 3.6 IDE online! From then on, I've been a valued (and O.G. some might say, haha) user since a couple months after their launch date in 2016! I LOVE Repl.it, as you can see by my name probably!
  • I have had a passion for programming and entrepreneurship ever since i had the ability to come across (AND participate in) a code jam created by the Python discord channel (which eventually led to my unceasing and sometimes annoying fondness of the Python language (I'm talking to YOU @JSer!!!)!
  • In the following year of 2020-2021, I will be starting my freshman year of college as a undergraduate majoring in Cyber Crime and Forensics while partaking in a SECOND major or which will be Game Design and Development (this is a concrete passion of mine as well!)!
  • I have a 200 (according to Princeton) IQ and have actually made it through to the esteemed Mensa program for people with IQ's similar or above that of the famous Albert Einstein!
  • I have made SO MANY friends by engaging in the community found within the invisible walls of something AMAZING called Repl.it! Some of these friends include but are not limited to: @mat1 @pyelias @katyadee @timmy_i_chen @Vandesm14 @theangryepicbanana @zwack @Mosrod @JSer and many more!

So this is MY message to the MANY youth and beginners in the world of programming and maybe even socializing! Because you can only FAIL if you NEVER TRY!

DON'T LET YOURSELF BE THE FAILURE BECAUSE OF NEVER TRYING: IT'S THE KILLER OF DREAMS!

This is @replitcode telling you to have a GREAT YEAR!!!

P.S.
Python is still THE BEST LANGUAGE @JSer

Why
posted to Ask by ErikSorbu

OK well first of all you need to have quotations in between the print statement... like this

print("du ska betala")

second of all, many languages are english because it is a widely recognized and internationally accepted language of trade and debate (as well as chitchat haha)

What should we code?
posted to Ask by katyadee

So HI guys! I think most of you know me, if you don't then hi I'm Lukas (aka Replitcode) and i was told by Enigma of the WhizNerdz that if you want to create new apps/games/langs/basically anything, then you should come and join the WhizNerdz Discord Server! We are looking for 2 admins and 2 moderators, and it will be on a first come first serve basis! Can't wait to see you there!!!

does tkinter work
posted to Ask by zinodyta1

You could also use something called REMI GUI... found here... https://remi.readthedocs.io/

It's HACKTOBER
posted to Share by amasad

NICEEEEE! HAPPY HACKTOBER EVERYONE!
P.S. I HACKED ALL Y'ALL'S COMPUTERS!!! YOUR WELCOME!

here's a little code to start your hacktober-ific day...

import random
import discord
import asyncio
from flask import Flask
from threading import Thread
from os import getenv
client = discord.Client()
phrases = [
"Happy hacktober",
"Hacktober never fails",
"Hacktober finally came",
"Hacktobers the one day i can hack you",
"Hacktober is why i love my (nonexistent) day job",
"This is my last message in my dictionary of phrases about hacktober",
]
@client.event
async def on_message(message):
 if message.content.startswith("!hacktober"):
  await client.send_message(message.channel, str(random.choice(phrases)))
 elif message.content.startswith("!amasad"):
  await client.send_message(message.channel, "Amasad made a cow for some reason! who knows what he meant! right?")
 elif message.content.startswith("!timchen"):
  await client.send_message(message.channel, "Timchen is the greatest we must praise him \o/ he is our savior")

@client.event
async def on_ready():
	print("---------------")
	print('Logged in as:')
	print(client.user.name)
	print(client.user.id)
	print("---------------")

@app.route('/')
def run_forever():
	return 'Server Started!'

def run_bot():
	client.run(getenv('TOKEN'))
	print("bot running")
def run_app():
	app.run('0.0.0.0',8080)
	print("web running")
Thread(target=run_app).start()
run_bot()
Python or not? please any information would do.
posted to Ask by bion0

YES! It's a very good choice to go with. the error handling is superb, and the functionality of the language is good for beginners... Most people I know go to Python for their first programming language, and that's because it's an easy choice but with SO many possibilites! I hope you choose what you want! And I bid you good programming!

Code Jam Results!
posted to Announcements by 21natzil

@21natzil you spelled unfortunately wrong

Getting variables contained in other python files
posted to Ask by f1ash

do this...

from passwords import variable
print(f'{variable}')

or you can do this

from passwords import *
print(f'{variable_you_want}')

and the last way is this

import passwords
print(f'{passwords.variable}')
Multiplayer PURE JS Flappy Bird
posted to Share by RyanRana

@RyanRana I think he means it was so good his "toupee" fell off! He just spelled it wrong! 🤣

Introducing Repl Talk (beta): the friendly discussion and code sharing platform
posted to Announcements by amasad

Thanks SO MUCH @amasad for supporting @pyelias and I's shared handle @replitcode. We love getting shout-outs and would love to share more of our projects in the future (or whenever possible)!
-Lukas Woodruff or @lukaswoodruff

Can everybody post here or what?

@UndertaleRulez i won't thank you very much

Working Chatroom
posted to Share by pyelias

Announcement: I am no longer supporting this project, so it'll probably end up dying soon.

Google Search Discord.Py
posted to Ask by replitcode

@duck132912 I am not, But I am one of the VERY FIRST Repler's on the website! I have been here since 6 days after it's conception in 2016! I am an avid programmer with full knowledge of over 35+ languages!
If you need help with anything just ask me :)

🐶Introduce yourself! 🐶
posted to Announcements by katyadee

@rediar Haha no! I am just a grammar aficionado! I like to be correct and precise with my wordage!

🐶Introduce yourself! 🐶
posted to Announcements by katyadee

@Case_Buttitta Very much so, glad to see some people are okay with admitting their fealty to the supreme language haha... jk, but you are right, it's a great language!

🐶Introduce yourself! 🐶
posted to Announcements by katyadee

@theangryepicbanana yesssss piiinnnnggg!

🐶Introduce yourself! 🐶
posted to Announcements by katyadee

@Case_Buttitta :Clapping_Hands:

🐶Introduce yourself! 🐶
posted to Announcements by katyadee

@Case_Buttitta I know right! I just thought it was a cool fact you know?

RPG
posted to Ask by LiamHastie

@LiamHastie yeah no problem! I kinda have a prideful heart lol... good to see it all worked out for you! Happy coding, man!

RPG
posted to Ask by LiamHastie

@LiamHastie I am so sorry that I never saw this post! I was probably mixed up with the harrows of life tbh (not an excuse btw)... sorry dude.... :(

pypy.repl - python3.5 compatible pypy on repl.it!
posted to Share by superwhiskers

pretty cool, superwhiskers! I think this would be a great way to incorporate new modules that otherwise wouldn't be able to run on the normal Python 2.7/Python 3.6 repls

It's HACKTOBER
posted to Share by amasad
Python GUI
posted to Ask by dylanharding33

@BOBMEISTER it doesn't work in repl.it actually... neither does pygame!

simple discord bot
posted to Share by replitcode

@timmy_i_chen hmmmm ok then... sure

Nodejs IP as String?
posted to Ask by Vandesm14

try this shane...

require('dns').lookup(require('os').hostname(), function (err, add, fam) { console.log('addr: '+add); })

Web repl links are flagged by Google
posted to Ask by nathanfendley

@Mosrod thank god!

Web repl links are flagged by Google
posted to Ask by nathanfendley

OMG YES! I hate this! I hope that repl.it is back up soon! My bot won't run because it says that there are harmful programs ahead! I think it is just programs that have .env files or are connected to a external server or have web-based roots. I want this to stop its getting me really mad!

Discord.Py Embed Message instead of regular message
posted to Ask by replitcode

@mat1 thanks... thats so cool!

Google Search Discord.Py
posted to Ask by replitcode

@JoshDaBosh thanks dude! did it!