Yes, I did it. I had a remote temperature recorder built using Arduino. Then I used a USB cable to connect the Arduino to the laptop. The laptop had a WiFi connection to my network, and it could go online if it wanted, but I just connected to my desktop.
I did not do anything special on the Arduino other than writing / reading from the serial port. I had a tiny Python program on a laptop that acts as a gateway to the network (reading from Serial, write to a port and vice versa) and another tiny Python program on my desktop to read from a port and write to disk.
source share