Hi,

I am new to python, how can we edit a .vmx file offline or just simply a file 
containing the data in the below format.

My file sample.vmx contains data

pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
nvram = "testvmdk.nvram"
virtualHW.productCompatibility = "hosted"
powerType.powerOff = "soft"
powerType.powerOn = "hard"


I need to update those values and the updated file should contains the data

pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
nvram = "testing.nvram"
virtualHW.productCompatibility = "hosted"
powerType.poweroff='hard"
powerType.poweron="sof't"


Can anyone please help me in solving this problem

Thanks,
Sasikiran
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to