Hi Im writing a personal wrapper to the perl script offered by rapidshare, so that im able to use multiple files and glob pathnames, but im using a file so i can track and resume any uploading data. The problem is the lines come with a \n character that im not bein able to take out,
files = f.readlines() for upload in files: upload.strip("\n") final_args = "./rsapiresume.pl %s prem user password" % (upload) print upload #os.system( final_args ) My upload string still comes with the \n making the system call look like this: ./rsapiresume.pl filename_to_upload prem user password I've already tried replace but it doesn't work either -- http://mail.python.org/mailman/listinfo/python-list