Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Atharv Goel

@AtharvGoel
Repls
Community
AtharvGoel
AtharvGoel
shared a Post
2 years ago
Mastermind
This is a code cracking game called Mastermind. Because I think an AI being the codebreaker would be boring (since everything would happen in a split
Mastermind
Python
AtharvGoel
AtharvGoel
shared a Post
2 years ago
Uhhhhhh...Connect 4 with AI thing that I made? Feedback Appreciated.
Connect 4
Python
AtharvGoel
AtharvGoel
shared a Post
2 years ago
Makes completely random words of a certain syllable length. There is a chance, though, that your final word might be a real word or one of the syllabl
Random Word Generator
Python
AtharvGoel
AtharvGoel
shared a Post
3 years ago
Do you like the pictures I took in the photobooth (and definitely didn't code)?
Among Us Characters
Python
AtharvGoel
AtharvGoel
shared a Post
3 years ago
I'm trying to get two repls to connect using socket. I created some code using a tutorial, but for some reason, I can't get it to work. Here are the r
Froggo-School
Froggo-School
don't know what language it was written in, but for future reference, an example using python's socket library: import socket tcpconnection = socket.socket(socket.AFINET, socket.SOCK_STREAM) udpconnection = socket.socket(socket.AFINET, socket.SOCK_DGRAM) otherwise, functions are the same. `2 years ago
abc3354
abc3354
I'm sorrry but I don't think replit supports tcp servers You can try to ask for the feature at repl.it/feedback There is a way to do it using ngrok, I can explain it quickly if you are interested3 years ago
Coder100
Coder100
Your server needs an HTTP socket server.3 years ago
AtharvGoel
AtharvGoel
shared a Post
3 years ago
How can I create two python repls, so that when I run them, what I type in one repl will show up on the other?
1927829
1927829
Hi! I'm not very experienced in python, but this might work: In one real, we can type from replit import db x = str(input()) db["hello"] = x and in the other repl: db = To find the link, go to the first real and type $REPLITDATABASEURL + "/hello" import requests response = requests.get(db) print(response.text) I hope that works. 2 years ago
PattanAhmed
PattanAhmed
@AtharvGoel Hi, You can use an XPath to locate the : iframe = driver.findelementby_xpath("//iframe[@name='Dialogue Window']") Then switch_to the : driver.switch_to.frame(iframe) Here's how to switch back to the default content (out of the ): driver.switchto.defaultcontent() Reference:- Click here Try and tell me the results Thanks! Hope this helps3 years ago
Coder100
Coder100
You can use an iframe: Replace [url] with the url of the repl.3 years ago
AtharvGoel
AtharvGoel
shared a Post
3 years ago
I am learning how to use sockets with python. My socket was able to connect, but the repl.co says - Hmmmm.... We Couldn't Reach Your Repl. I don't kno
Coder100
Coder100
Hello, you currently have no web server, your code only connects to the socket port, but there is no web server being made. You will have to create one with flask.3 years ago
CodeLongAndPros
CodeLongAndPros
You need a web server for the preview to work.3 years ago
PattanAhmed
PattanAhmed
@AtharvGoel Hi, But it says Socket created successfully. and the main thing it's from your code. That means it has imported Socket successfully to your file. 01 You need to have a Web Server. If you don't have then you have to create one. You can create one with Flask Thanks! Hope this helps3 years ago