What i am asking is i have a file of other format for example .PCL which is Patran file (Software used for analysis). Now what i want is if user inputs a file name,python has to recognise the file name and directory of file which exists and executes the file in patran window.
For example following lines executes to open a new database in a patran. Now it is automatically recognising the path of the file inside PCL file. Like as below *uil_file_new.go( "C:\MSC.Software\Patran_x64\20121/template.db", @* *"C:\Users\Desktop\patran\plate.db" )* * * *POP UP WINDOW WILL SHOWS IN PATRAN WHEN ABOVE CODE READS THROUGH PCL FILE.* * * Now what i want is, python code has to execute in this way as it happens in Patran For Example: Userinput= Filename = plate.pcl now it has to recognise the file and directory as shown above and create a new database * * *Regards * *Kamalakar* _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers