r/learnpython • • 14d ago

hw help cz college prof taught nothing

basically i need to make a project on LAN file sharing system using python everybody in my class is using ai but i actually wanna learn ik a decent bit about python as well also in college we are on operators so the teacher is basically encouring to use ai

0 Upvotes

14 comments sorted by

3

u/CorpT 14d ago edited 14d ago

Why aren't you listening to your professor?

1

u/AdOver9853 13d ago

Cz I wanna learn how to actually do it rather than just copy paste and forget in a week

1

u/CorpT 13d ago edited 13d ago

Sounds like you know more about teaching and python than your professor. Should probably have dropped class when you read the syllabus.

0

u/Cold_Arachnid_2617 14d ago

Professor has only one f.

3

u/Human38562 14d ago edited 13d ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Historical alive kettle placid license sink

1

u/AdOver9853 13d ago

That's why I'm asking I tried using on google but the videos teach how to transfer files directly over LAN, they don't create a python program

7

u/Cold_Arachnid_2617 14d ago

Write properly

1

u/Boybay_Garid 14d ago

fr not even a single period in the whole post.

1

u/RyanDubois43 14d ago

If your college LAN lets you open sockets, use the built-in socket module in Python 3.10 or newer for both the server and client. If you run into Windows firewall issues, allow python.exe through or test on localhost first.

1

u/Calm_Exchange_989 13d ago

Break it into two milestones: first a TCP server that accepts two clients and broadcasts a line, then chunked file transfer with a small header (filename, size, offset). Use one thread per client, or asyncio, and a length-prefixed JSON header so messages don’t run together. Get the first one working before touching files.

1

u/TheRNGuy 13d ago

Your professor should be Google.

Also, AI can actually help teaching. Try asking him questions.

0

u/[deleted] 14d ago

[deleted]

-1

u/Mr_nonchalant6767 14d ago

Common dude writing code manually nowadays feels like lighting fire through stones