tkSimpleDialog.Dialog.ok calls Cancel
I am subclassing tkSimpleDialog.Dialog as a (sqlite) database front- end. This parent dialog opens a number of child dialogs to propagate sub-tables (like sub-forms in OOo). These subforms write their input into the database (INSERT...) The parent dialog then either commits or rolls-back transactions based on whether the user clicks ok or cancel. This ensures that if something is written to the db in a subform, that it doesn't stay in the database if the user chooses cancel (the rollback transaction code is in cancel). I have everything working except for the fact that python tkSimpleDialog.ok calls tkSimpleDialog.cancel to clean up, which means all of my transactions get cancelled (even if the user clicks ok). Is there a way to do this without re-implementing or copying the tkSimpleDialog.Dialog ok and cancel methods entirely? In other words, how do I make OK not execute cancel? -- http://mail.python.org/mailman/listinfo/python-list
Python Jobs
I'm writing from an IT Recruitment consultancy, I have an opportunity for either an experienced Python developer or someone looking to cross train in to Python in a permanent role. The role is based in the Amersham, Buckinghamshire for a small but well established software house. You will be required to develop a range of bespoke Web applications using a range of Object Orientated languages - Mainly Python. Candidates should be skilled in one or more of the following: OO, PHP, SQL/SQL Server Database Development Integration, XML. More information on application. Excellent opportunity to cross train in other development languages such as PostgreSQL and Python. Training provided. Call for more details - 01932 245500 Matt Hancock - Recruitment Consultant. [EMAIL PROTECTED] www.jenrickcpi.co.uk 01932 245500 -- http://mail.python.org/mailman/listinfo/python-list
Re: News-retrieval client-news.google
[EMAIL PROTECTED] wrote: > Hi All, > I'm trying to write a news retrieval client in python. > I'm going to get the news from google's news service. > However, when I run the following code, google gives me a 403 error. Knowing google, they're blocking the user agent supplied by urllib2. -- http://mail.python.org/mailman/listinfo/python-list