โผ Latest
Coder
Free mode
100% free
Freemium
Free Trial
-
87187166Released 1y ago100% Free**Simple Chat Application using Python** ===================================== Here is a simple code for a chat application using Python: **Server Side (chat_server.py)** ```python import socket import threading HOST = '127.0.0.1' PORT = 9090 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((HOST, PORT)) server.listen() clients = [] nicknames = [] def broadcast(message): for client in clients: client.send(message) def handle(client): while True: try: message = client.recv(1024) broadcast(message) except: index = clients.index(client) clients.remove(client) client.close() nickname = nicknames[index] broadcast(f'{nickname} left the chat!'.encode('ascii')) nicknames.remove(nickname) break def receive(): while True: client, address = server.accept() print(f"Connected with {str(address)}") client.send('NICK'.encode('ascii')) nickname = client.recv(1024).decode('ascii') nicknames.append(nickname) clients.append(client) print(f'Nickname of the client is {nickname}!') broadcast(f'{nickname} joined the chat!'.encode('ascii')) client.send('Connected to the server!'.encode('ascii')) thread = threading.Thread(target=handle, args=(client,)) thread.start() print("Server Started!") receive() ``` **Client Side (chat_client.py)** ```python import socket import threading HOST = '127.0.0.1' PORT = 9090 client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect((HOST, PORT)) def receive(): while True: try: message = client.recv(1024).decode('ascii') if message == 'NICK': client.send(nickname.encode('ascii')) else: print(message) except: print("An error occurred!") client.close() break def write(): while True: message = f'{nickname}: {input("")}' client.send(message.encode('ascii')) nickname = input("Choose a nickname: ") receive_thread = threading.Thread(target=receive) receive_thread.start() write_thread = threading.Thread(target=write) write_thread.start() ``` **How to use:** 1. Run the `chat_server.py` script in a separate terminal or command prompt. 2. Run multiple instances of the `chat_client.py` script in separate terminals or command prompts. 3. Each client will be prompted to enter a nickname. 4. Clients can send messages to each other by typing and pressing enter. Note: This is a very basic implementation and you may want to add more features such as error handling, encryption, and more.
Other tools
-
892125Released 10mo ago100% Free
-
2732043Released 11mo ago100% Free
-
1252Released 4mo ago100% Free
-
2894673Released 10mo ago100% Free
- Sponsor:Rocket
-
647100131Released 11mo ago100% Free
-
4404770Released 1y ago100% Free
-
Instantly generates clean, optimized Node.js code from your specifications.Open922Released 7d ago100% Free
-
Open31118Released 15d ago100% Free
-
Transform job postings into personalized cover letters instantly.Open3033Released 17d ago100% Free
-
Transform job details into professional cover letters instantly.Open1656Released 18d ago100% Free
-
Transform complex programming problems into crystal-clear pseudocode.Open824Released 24d ago100% Free
-
494211187Released 25d ago100% FreeDrasko Boskovic๐ ๏ธ 10 tools ๐ 473 karmaSep 22, 2025Great tool! And totally free! Directly from haven
- Didn't find the AI you were looking for?
-
2056664Released 1mo ago100% FreeThis tool took a lot of trial and error to get the vibe I was hoping for, and I'm impressed with it so far. Hopefully people get a kick out of it.
-
Transform programming ideas into crystal-clear pseudocode instantly.Open331111Released 1mo ago100% Free
-
AI book cover designer that creates visually striking, genre-appropriate covers from your title.Open1024035Released 1mo ago100% FreeThe creativity in this one is great. It still messes up the words a little bit, but I noticed it seems to be a common thing with tools like this. Overall, itโs a fantastic option for cover design
-
Open732823Released 2mo ago100% Free
-
853628Released 2mo ago100% FreeNot the best tool out there, but the generated images were interesting and good enough for sketching a first idea for how you want your future book cover to look like
-
Open722516Released 2mo ago100% Free
-
Open1676263Released 2mo ago100% Free
-
AI-powered graphic designer for vibrant Afrobeat album covers.Open23147Released 2mo ago100% Free
-
1,187250415Released 3mo ago100% Free
-
3,2109831,400Released 3mo ago100% Free
-
2489573Released 3mo ago100% Free
-
Optimize AV codecs for peak streaming performance.Open1442Released 7mo ago100% Free
-
1082723Released 8mo ago100% Free
-
681711Released 8mo ago100% Free
-
Open1183236Released 8mo ago100% Free
-
1582528Released 8mo ago100% Free
-
AI-powered code generator for efficient development.Open446112113Released 9mo ago100% FreeIf you just started using python or coding this could help you a lot! I remember first time searching for a string of code and... it wasnt the most easy task at all.
-
4416396Released 9mo ago100% Free
-
1666265Released 9mo ago100% Free
-
1,536572577Released 9mo ago100% Free
-
4046Released 9mo ago100% Free
-
4264849Released 9mo ago100% Free
-
48599100Released 9mo ago100% Free
-
4338986Released 9mo ago100% Free
-
1563239Released 9mo ago100% Free
-
4594167Released 9mo ago100% Free
-
2,237744652Released 9mo ago100% Free
-
2,309427688Released 9mo ago100% Free
-
639176196Released 9mo ago100% Free
-
384109113Released 10mo ago100% Free
-
1602037Released 10mo ago100% Free
-
Open2741637Released 10mo ago100% Free
-
3644374Released 10mo ago100% Free
-
1803942Released 10mo ago100% FreeWeb Development and App Building Services Overview As a skilled developer, I can assist with creating websites and building mobile applications. I can also generate code to help with programming tasks. Web Development Services Mobile App Development Services Cross-Platform Mobile Apps: I can also develop cross-platform mobile apps using frameworks like React Native, Flutter, or Xamarin. Mobile App Design: I can create user-friendly and intuitive mobile app designs that meet your specific needs. Programming Services Code Generation: I can generate code snippets in various programming languages, including Python, Java, JavaScript, and C . Programming Language Support: I can assist with programming tasks in a variety of languages, including but not limited to: Bug Fixing and Debugging: I can help identify and fix errors in your code. Example Code Generation Here's an example of a simple "Hello, World!" program in Python: def main(): print("Hello, World!") if __name__ == "__main__": main() Or a simple JavaScript function to add two numbers: function addNumbers(a, b) { return a b; } console.log(addNumbers(2, 3)); // Output: 5 Let me know if you have a specific project in mind, and I'll be happy to assist you. I can create websites, build apps and generate codes
-
556151166Released 10mo ago100% Free
-
462102140Released 10mo ago100% Free
-
2963549Released 11mo ago100% Free
-
AI code assistant: Analyze, explain, and optimize snippets instantly.Open2873864Released 11mo ago100% Free
-
Open1,154132237Released 11mo ago100% Free
-
44496133Released 11mo ago100% Free
-
8866298Released 11mo ago100% FreeThe images are pretty good but it rarely gets the name/title correct
-
2582544Released 11mo ago100% Free
-
3053747Released 11mo ago100% Free
-
3095477Released 11mo ago100% Free
-
1,125253265Released 1y ago100% Free
-
3456589Released 1y ago100% Free
-
42593142Released 1y ago100% Free
-
1593744Released 1y ago100% Free
-
4173383Released 1y ago100% Free
-
Open3634882Released 1y ago100% Free
-
2,211167486Released 1y ago100% Freemini-tool? nahhh, this one's a mini-cool. but for real, it actually gives nice tattoo ideas, ofc nothing out of the ordinary, but it throws out decent concepts and it's fast as hell
-
3746278Released 1y ago100% Free
-
2852941Released 1y ago100% Free
-
Craft compelling novel covers with AI precision.Open4166793Released 1y ago100% Free
-
2011322Released 1y ago100% Free
-
2002749Released 1y ago100% Free
-
199,7917,85221,872Released 1y ago100% Free
-
2674461Released 1y ago100% Free
-
4714976Released 1y ago100% Free
-
3046496Released 1y ago100% Free
-
3914568Released 1y ago100% Free
-
54767163Released 1y ago100% Free
-
2393350Released 1y ago100% Free
-
11525Released 9mo ago100% Free
-
Dutch-flavored Excel VBA magic: Efficient code, clear comments.Open42181117Released 9mo ago100% Free
-
AI-powered Web3 dev mentor for full-stack mastery.Open941516Released 9mo ago100% Free
-
4314067Released 10mo ago100% FreeCompletely misread my code and accused me of using assignment in the conditional of a while loop when thereโs no โ=โ anywhere close to that conditional.. Busted and useless.
-
78523Released 11mo ago100% Free
-
951230Released 11mo ago100% Free
-
Transform patient data into precise medical codes instantly.Open2074848Released 1y ago100% Free
-
Open1541731Released 1y ago100% Free
-
1901929Released 1y ago100% Free
-
2231331Released 1y ago100% Free
-
3162255Released 1y ago100% Free
-
4,838362934Released 1y ago100% Free
-
698189183Released 9mo ago100% Free
-
1702630Released 1y ago100% Free
Post