# creating a child process using fork
# import module os.
import os
id = os.fork()
# at this point, after execution of the fork,
# 2 processes are running, child and parent
if (id==0):
	   # this is the child
	   # do something here in the child process
	print('child')
else:
	   # this is the parent
	   # do something here in the parent process
	print('parent')
