I have run through some similar questions but none seem to answer my doubt, I am trying to pass the argument to python script from my bash script. I don't see errors nor I get the required output. What am I doing wrong here?

python:

```

import os
import glob
import unicodecsv as csv
import pandas as pd
import codecs
import sys

OUTPUT_PATH=sys.argv[2] 

def createFolder(directory):
  # print('createFolder')
  try:
        if not os.path.exists(directory):
            # print('createFolder')
            os.makedirs(directory)
            # print(directory)
  except OSError:
        print ('Error: Creating directory. ' +  directory)
createFolder(OUTPUT_PATH + 'csv20_out/')

```

bash script:

```
INPUT_PATH='home/pg/Public/test_data/test0002_2files_to_1flow/csv64_in/'
OUTPUT_PATH='home/pg/Public/test_data/test0002_2files_to_1flow/'

cd /
cd home/pg/Documents/LMS/kanjiforbeginner/convertToYAML/

cd converts_csv642csv20
python csvFile.py $INPUT_PATH $OUTPUT_PATH

```

Should create a folder csv20\_out

when I print OUTPUT\_PATH, I get 'home/pg/Public/test\_data/test0002\_2files\_to\_1flow/'