Hello to both,
thanks for the quick help! The psvm-way I saw already...
And with
var = raw_input("Enter something: ")
print "you entered ", var
datei = open(var, "w")
datei.write(state_string)
datei.close()
it is quite easy to write to some file based the input...
Thanks!
Fabian
On 04/20/2011 03:21 PM, Utkarsh Ayachit wrote:
What Dave suggested will save the XML state, not the Python state.
Utkarsh
On Wed, Apr 20, 2011 at 9:16 AM, David E DeMarle
<[email protected]> wrote:
servermanager.SaveState(filename) and
servermanager.LoadState(filename) from python are equivalent to
File->SaveState and LoadState respectively.
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
On Wed, Apr 20, 2011 at 5:50 AM, Fabian Braennstroem
<[email protected]> wrote:
Hello,
does anyone know, if it is possible to save the current state as a python
state-file using a python-macro?
Thanks for the help!
Fabian
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview