-1

I read a tutorial about how to set up a chat program using client-server model here, http://code.activestate.com/recipes/531824-chat-server-client-using-selectselect/

they have a .py file called "chatserver.py" and ran it in linux-like command shell with extra option:

$ python chatserver.py &

what is the purpose of the "&" sign there?

(apology, first time asker)

Anand S Kumar
  • 88,551
  • 18
  • 188
  • 176
Brian Lie
  • 11
  • 1

1 Answers1

0

The command is run in background.

The terminal returns the focus to the user and you can run another command. It is the same for any command, not only python. See this.

clemtoy
  • 1,681
  • 2
  • 18
  • 30