import os
import sys
scriptpath = os.path.dirname(os.path.realpath(__file__))
basedir = sys.argv[1]
path = os.path.join(scriptpath,"rawCSV/")
path=path.replace("\\","/")
basedir=basedir.replace("\\","/")
print(basedir)
textfile_path = os.path.join(scriptpath,"raw_csv.txt")
pp = open(textfile_path, "w")
#basedir = "/mnt/project2/Kinect/data/joints/"

for r,d,f in os.walk(basedir):
    for file in f:
        if ".csv" in file:
            print(file)
            pp.write(str(basedir)+file+"\n")

6325f5f1479f30fcee6d5f1845b0fc48246c19fa
<mask token>

<mask token>
print(basedir)
<mask token>
for r, d, f in os.walk(basedir):
    for file in f:
        if '.csv' in file:
            print(file)
            pp.write(str(basedir) + file + '\n')

<mask token>
scriptpath = os.path.dirname(os.path.realpath(__file__))
basedir = sys.argv[1]
path = os.path.join(scriptpath, 'rawCSV/')
path = path.replace('\\', '/')
basedir = basedir.replace('\\', '/')
print(basedir)
textfile_path = os.path.join(scriptpath, 'raw_csv.txt')
pp = open(textfile_path, 'w')
for r, d, f in os.walk(basedir):
    for file in f:
        if '.csv' in file:
            print(file)
            pp.write(str(basedir) + file + '\n')

import os
import sys
scriptpath = os.path.dirname(os.path.realpath(__file__))
basedir = sys.argv[1]
path = os.path.join(scriptpath, 'rawCSV/')
path = path.replace('\\', '/')
basedir = basedir.replace('\\', '/')
print(basedir)
textfile_path = os.path.join(scriptpath, 'raw_csv.txt')
pp = open(textfile_path, 'w')
for r, d, f in os.walk(basedir):
    for file in f:
        if '.csv' in file:
            print(file)
            pp.write(str(basedir) + file + '\n')

import os
import sys
scriptpath = os.path.dirname(os.path.realpath(__file__))
basedir = sys.argv[1]
path = os.path.join(scriptpath,"rawCSV/")
path=path.replace("\\","/")
basedir=basedir.replace("\\","/")
print(basedir)
textfile_path = os.path.join(scriptpath,"raw_csv.txt")
pp = open(textfile_path, "w")
#basedir = "/mnt/project2/Kinect/data/joints/"

for r,d,f in os.walk(basedir):
    for file in f:
        if ".csv" in file:
            print(file)
            pp.write(str(basedir)+file+"\n")
