Hi everyone,
I have been given a project in python and I'm not too familiar with it but I understand the basics due other coding work I've done.
The task is to basically make the application launch in last location it was closed.
There is no save button and no config (xml / ini etc.) currently used so I would assume it would need to create one of these, if not existing, or update an existing one upon closure of the window.
Everyone has different size monitors / monitor layouts and resolutions so is there a module that can assess this and save the X,Y co-ords per user configuration?
Or is there a better way to do this using the modules listed below? Or do I need to import an additional module?
Application is built for and runs on Linux. (CentOS mainly)
These are the current modules imported:
import os
import sys
import pygtk
pygtk.require('2.0')
import gtk
from gtk import glade
import subprocess
import datetime
Any help would be greatly appreciated.
I have been given a project in python and I'm not too familiar with it but I understand the basics due other coding work I've done.
The task is to basically make the application launch in last location it was closed.
There is no save button and no config (xml / ini etc.) currently used so I would assume it would need to create one of these, if not existing, or update an existing one upon closure of the window.
Everyone has different size monitors / monitor layouts and resolutions so is there a module that can assess this and save the X,Y co-ords per user configuration?
Or is there a better way to do this using the modules listed below? Or do I need to import an additional module?
Application is built for and runs on Linux. (CentOS mainly)
These are the current modules imported:
import os
import sys
import pygtk
pygtk.require('2.0')
import gtk
from gtk import glade
import subprocess
import datetime
Any help would be greatly appreciated.
Last edited: