Module import difference between server vs uplink; server module imported twice?

The python script starts every time you call the server unless you keep it running. Here you can find more details.