Squidtoon99
hacker

@ArjunSS1 (53)
I've taught myself to code in python and love encryption
my code does not work
posted to Ask by StevenJang

You have to choose the python + turtle repl language to use turtle not just python

How did I become 'hacker'?
posted to Ask by JeremieBornais

If you connected to repl via a github student account then repl gives you a free year of premium. Enjoy it while it lasts

Can you get user input without needing to click enter in python?
posted to Ask by donkeyhouse

So in oython there is this module that reads the last key pressed from the python stdin `
import readchar
key = readchar.readkey()

Which will give the last key pressed
I need help making the website
posted to Ask by LebronWilliamWi

Link your code below so we can see what you've done already

how can i public my repls as a real website?
posted to Ask by horesuit

You can share your website with the link https://webwizer.horesuit.repl.co which will act just like a real website. Or if you already own a website there is some code you can add for that.

Repl Inside a repl
posted to Share by ArjunSS1

@mamamia5x I’ve been trying to find a way to fix that. I’m probably going to take input using input(“> “) and then use pyautogui to send the text so I can use shift

Repl Inside a repl
posted to Share by ArjunSS1

@Foster_Bryant A Kahoot flood program? Thats cool may I see what you've done?

Repl Inside a repl
posted to Share by ArjunSS1
[Solved, input still welcome] Best and fastest way to learn Python?
posted to Ask by AtriDey

W3Schools has a lot of good information for learning python. I personally got my fundamentals with codecademy. But codecademy is not good for python

Image processing
posted to Ask by amarroy2629

Python has lots of image processing libraries likes numpy and pil. What do you plan on doing with your video data? And what languages do you already know?

can anyone make a stopwatch for me please?
posted to Ask by NimaVasigh

@NimaVasigh An incredibly simple way of making a stopwatch would to import time and subtract the time the while loop started from the current time resulting in the time since the main loop has started. For a leaderboard the best way would be to ask the user for a possible name and store it in a file. To display the leaderboard just read the contents of the file and display the contents to the screen.

This worked in 2.7, But ThIS DoCuMEnt iS iN 2.7
posted to Ask by AlexIsRapling

With Python 3 you need to import the random module for random values in your code. You can fix this by writing from random import choice on the top line of your code and it will work

I cannot upload files
posted to Ask by AlieksieiBorko1

You should just be able to reload and it should work link uour repl below

how can i public my repls as a real website?
posted to Ask by horesuit

@mwilki7 As soon as my message sent I saw yours sorry about that

Taking a final
posted to Ask by kle11257

You want help before the final?

What are the top programming tools you want to learn in 2020?
posted to Ask by PaoloAmoroso

I want to learn more about pygame and turtle and makes games with discord bots.

How do I make them run simultaneously but also independently
posted to Ask by xolyon

@xolyon Geocube’s answer is very good but instead of seperating them into 2 lines you can just do

t1 = Thread(target=instance.b).start()

#and to wait until the program finishes just do .join()
t1.join()
#and your program will wait until your thread finishes before exiting
Repl Inside a repl
posted to Share by ArjunSS1

@Rileygamer21 Yea and so did my school

Repl Inside a repl
posted to Share by ArjunSS1

@amasad Its a learning game where everyone looks at the questions and answers on the main screen and answers on their own devices. The program we were talking about would flood the joining screen with fake kahoot accounts.

Repl Inside a repl
posted to Share by ArjunSS1

@Foster_Bryant The code is very nice, I was using repl + pygame is tkinter better for this? This was more of a challenge to get me used to multithreading and I'm connecting my program to a discord bot so I can control the repl from discord (hence the multithreading)

How do you plan your code?
posted to Ask by xolyon

I ussually set up my system and decide what each part of the code is going to do. I write my classes and functions without adding any other code. After I finish that I put in what each function is going to do and test everything individually making sure that each part works. At the end I just connect everything together and do my final debugging and testing

White Screen stops code?
posted to Ask by ArjunSS1

@Nettakrim Yea but that shouldnt happen Ive already made 4 copies during this project. I’m considering developing the selenium part on my home computer.

Repl Inside a repl
posted to Share by ArjunSS1

@Foster_Bryant That might actually be possible... I'm going to play around with kahoot for a bit.

Repl Inside a repl
posted to Share by ArjunSS1

@Foster_Bryant No :( its not, I believe I can send commands directly to the system like os.system(‘pip3 install pyautogui’) and then send stuff like os.system(f’pyautogui.typewrite(“{_input}”)
Hopefully I will find a way. If I don’t I’ll just use some linux key sending code from the internet

I'm trying to select the quality of the video through selenium
posted to Ask by AndresHaro1

Sorry for the late reply, I was wondering if you could try a xpath('//li [@class="vjs-menu-item"]') to pull all the list elements from the page or some configuration of xpath's //li?
Also unrelated question - How were you able to use selenium.webdriver on repl without turning your repl into a repl-pygame source?

Repl Inside a repl
posted to Share by ArjunSS1

@CodeABC123 Yes, the program does require you to sign in and view this file again. It kinda defeats the point of security if you give people access to your repl.it account

Repl Inside a repl
posted to Share by ArjunSS1

@CodeABC123 What do you mean by it doesn’t work?

Repl Inside a repl
posted to Share by ArjunSS1

@AtriDey I fixed the error. I’m considering adding some support for shift keys as this was just a test project, should I do this?

Is it possible to build python webscrapers on repl.it?
posted to Ask by ArjunSS1

@Scoder12 Using repl.it + pygame I was able to use webbot. Thank You!

Is it possible to build python webscrapers on repl.it?
posted to Ask by ArjunSS1

@Scoder12 What do you mean by a graphics repl?