Statistics
| Branch: | Revision:

root / python / .svn / text-base / setup.py.svn-base @ 0:3c15de202295

History | View | Annotate | Download (771 Bytes)

1
#Author - Albina Nirupa
2
#Date - Feb 13 2011
3
#Automatically creates Hope and launch directories and copies the need files
4
#to respective folders
5
import os
6
os.mkdir("Hope")
7
os.mkdir("launch")
8
file_name = ["./ABC.txt","./DEF.txt","./GHI.txt","./JKL.txt",\
9
             "./MNO.txt","./PQR.txt","./STU.txt","./VWX.txt",\
10
             "./YZ#.txt","./temp.txt","./hope.py","./configuration.pkl","./launch_box.py"]
11
path=["./Hope/ABC.txt","./Hope/DEF.txt","./Hope/GHI.txt","./Hope/JKL.txt",\
12
             "./Hope/MNO.txt","./Hope/PQR.txt","./Hope/STU.txt","./Hope/VWX.txt",\
13
             "./Hope/YZ#.txt","./Hope/temp.txt","./Hope/hope.py","./launch/configuration.pkl","./launch/launch_box.py"]
14
for i in range(0,len(path)):
15
    os.renames(file_name[i],path[i])
16

    
17

    
Redmine Appliance - Powered by TurnKey Linux