944,144 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 1653
  • Python RSS
Oct 16th, 2007
0

wxPython DateTime problems

Expand Post »
I'm having problems with storing a wxDateTime object from a wxDatePickerCtrl in a file and then reading it again when the program starts (so I can set the date picker's value to what it was the last time the program was run). When I get the value from the date picker it's a wxDateTime object which displays as "10/18/07 00:00:00". The problem occurs when reading it from a file, as it is read as a string and the date picker gives errors saying it needs a wxDateTime object How can I make a wxDateTime from a string?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
animatinator is offline Offline
7 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Printing in one window
Next Thread in Python Forum Timeline: newbee: python link objects





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC