Python is about to "output" variables (or parameters as you called them) in a few ways. If you would like the variables to be written to screen, you can use the print function.
input_FC = sys.argv[1]
inField = sys.argv[2]
theFName = sys.argv[3]
outFolder = sys.argv[4]
print outFolder
If you instead want this variable to be used for a different python script, you might want to consider writing a function. Functions can take variables as input and use them to do calculations, then return outputs.
def complete_fname(folder, fname):
output = folder + '/' + fname
return output
input_FC = sys.argv[1]
inField = sys.argv[2]
theFName = sys.argv[3]
outFolder = sys.argv[4]
outFName = complete_fname(outFolder, theFName)
Lastly, you may want to consider placing your sys.argv commands inside of a conditions which only runs the commands if your script is run from the command line. This way the program will not be looking for command line arguments if someone used "import" on your script instead of running it from the command line.
def complete_fname(folder, fname):
output = folder + '/' + fname
return output
if __name__ == '__main__':
input_FC = sys.argv[1]
inField = sys.argv[2]
theFName = sys.argv[3]
outFolder = sys.argv[4]
outFName = complete_fname(outFolder, theFName)