Is it possible (without using any external modules) to make two computers, or Python programs communicate through an Ethernet cable? E.g. Sending messages, numbers, etc. And if so, how?

Recommended Answers

All 3 Replies

"without external modules", I would not think it would be easy
"without nonstandard modules" or "with only modules included with Python base", sure it is possible to do socket programming, you usually do not directly manipulate signals in Ethernet, but use 'tcp/ip stack'.

commented: So is there a method? +0

A simple way to communicate is to use the standard module xmlrpc. This is very easy to use on your local network.

Can you provide me with an example? I'm too confused when reading those tutorials online.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.