Create unique file name and fetching it to commandline argument
        Posted  
        
            by user343934
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user343934
        
        
        
        Published on 2010-06-02T20:53:04Z
        Indexed on 
            2010/06/02
            20:54 UTC
        
        
        Read the original article
        Hit count: 233
        
Hi everyone,
I am working on python right now and i am little bit stuck in performing some tricks. I have web form with two options- File upload and textarea, i can easily pass file name with file upload options but have problem when it's textarea. Because when i use textarea then first i have to save values passed from textarea to some files and save it on the working directory. After that i can execute commandline argument and pass same saved filename name. For this problem i have to generate unique file first and save the values passed from textarea in it.
Can anybody give me some tips to solve my problem. Any algorithms, suggestions and lines of code are appreciated.
Thanks for your concern
© Stack Overflow or respective owner