very cool
thanks again
User Profile
Collapse
-
this works great thank you, you got me out of a bind again, I've looked it over and messed with it to see how it works, but I can't figer out why theCode:[:6]
Code:dateObj = dt.datetime(*timeObj[:6])
Code:import datetime as dt
Leave a comment:
-
how do you manipulate the days on a calender
when I did this on hypercard all i had to do was:
put the date into date
convert date to secs(onds)
date =+ (24*60*60*No_of _days_i_want_to _add_on)
convert date to the date
Is there any way I could do that with Python -
something is wrong it not keeping the colour continuously
I think I should point out that i am completely new to thisLeave a comment:
-
-
how do you configure python-idle to color code the script
how do you configure python-idle to color code the code
I've tried going into options and clicked on the highlighter tab and massed around there but i cannot to work -
roryclancy replied to Python shell sad it has no reference for "frame" but gets it right in another scriptin PythonThank you
dwbles
liked your answer a lot really helped, while I have you any idea how to get the editor to color code the text Thanks again
ClancypmrLeave a comment:
-
roryclancy started a topic Python shell sad it has no reference for "frame" but gets it right in another scriptin PythonPython shell sad it has no reference for "frame" but gets it right in another script
I am on a window xp and I've down loaded python 2.7.6 and wxpython 3.3, and i've run the following code
Code:#import wx class bucky(wx, frame): def __init__(self, parent,id): wx.Frame.__init__(self, prent, id, 'Frame aka window', size = (300,200)) if __name__== "__main__": app = wx.PySimpleApp() frame = bucky(parent = None, id = -1) frame.Show()
Last edited by Rabbit; Jan 2 '14, 04:44 AM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: