2012/9/13 John Thornton <bjt...@gmail.com>: > This is a pretty good tutorial on file I/O in python > > http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_3/File_IO > > Have you seen my tutorials on gladevcp and building a gui from scratch? >
Thank You for the link! I think that I even understood some fraction of it :)) SInce I am a total noob in programming and especially in python, I have to think about this and will try to find some more reading, because now I have no idea, where should I put that code that will save some data to a file, I also have no idea, how to tell it to insert a value of particular HAL pins there and I also have no idea, how to tell it to save a file with current date in the filename, but do not overwrite, if such a file exists, but simply add "2", "3" etc to the end of file name. Yes, I have seen Your tutorials, I liked them, IMHO they are really good. You shared them little while ago in a thread in which I asked something about vcp panels for my current project. I think that the question, how to make my built-from-scratch gladevcp panel to be the single and standalone GUI (not part of Axis or Touchy or whatever) was not answered there, so I ended up with pyvcp panel in Axis as I was really short on time and did not want to spend it on learning Glade. This time I will have more time, so I would like to try out building very simple GladeVCP panel, I just have no idea, how exactly am I supposed to make it the only GUI for LinuxCNC. I am sure that it has to do with DISPLAY = line in INI file, but I do not know the details. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users