Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40109
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-02-27 21:29 -0800 |
| Message-ID | <fc5064fb-3119-4aa6-ae2f-e7c23dd13196@googlegroups.com> (permalink) |
| Subject | How to edit offline vmx file using python |
| From | sasikiran2k7@gmail.com |
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
How to edit offline vmx file using python sasikiran2k7@gmail.com - 2013-02-27 21:29 -0800 Re: How to edit offline vmx file using python Dave Angel <davea@davea.name> - 2013-02-28 01:38 -0500
csiph-web