- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 167
- Posts with Upvotes
- 129
- Upvoting Members
- 42
- Downvotes Received
- 13
- Posts with Downvotes
- 13
- Downvoting Members
- 10
Re: “Intellectual growth should commence at birth and cease only at death” -- Albert Einstein | |
Re: I hate it when they interrupt all those nice advertisements with their lousy program. | |
Re: Just a simple tomato and mozzarella salad, our garden is full of ripe tomatoes! | |
Re: If you model it properly you can. | |
| Re: Has anyone seen "Fury" yet? Most war movies are such silly fake, so I am reluctant to waste my money. |
Re: the line app.exec_() starts the event loop and you have two of those lines | |
Re: The dinosaur "Dreadnoughtus" had a 37 foot-long neck, a 30 foot tail, and weighed an estimated 65 tons. | |
Re: Super fast for very large numbers: def miller_rabin_isprime(a, i, n): """ Miller-Rabin primality test returns a 1 if n is a prime usually i = n - 1 does not test prime 2 """ if i == 0: return 1 x = miller_rabin_isprime(a, i // 2, n) if x == … | |
A simple way to create a toggle button for the Tkinter Python GUI toolkit. | |
Re: The wx.calendar.CalendarCtrl() control gives you more flexibility: # explore the wx.calendar.CalendarCtrl() control # allows for point and click date input import wx import wx.calendar as cal class MyCalendar(wx.Dialog): """create a simple dialog window with a calendar display""" def __init__(self, parent, mytitle): wx.Dialog.__init__(self, parent, wx.ID_ANY, mytitle) # use a box sizer … | |
Re: The line `for image in image_files)` is in your error code but not in the original snippet. So, if you doctored up the snippet code, we would have to be mind readers to help you. | |
| |
Re: Keep watching TV, the answer might come up. | |
Re: I don't think this is that type of keylogger. | |
| |
Re: Use your brain, don't be a sheep and follow blindly! | |
Re: Check if an input is numeric then do a calculation (Python2 syntax): [code]def is_numeric(s): """ check if a string s is numeric contains only character like '-+1234567890.' (the period maybe a comma in some countries) """ for c in s: if c not in '-+1234567890.': return False return True def … | |
Re: You can apply Python to the control of robots, see: [url]http://wiki.roboteducation.org/Main_Page[/url] | |
| |
Re: [QUOTE=vegaseat;707149]The frog throws up its stomach first, so the stomach (inside-out) is dangling out of its mouth. Then the frog uses its forearms to dig out all of the stomach's contents and then swallows the stomach back down again. A good lunchtime conversation piece![/QUOTE]I got to get myself a frog! … | |
Re: Well, there is a record of all the YouTube videos you ever watched, all the emails you send, all the phone calls you made. Wonder who pays for storage and retrieval? | |
Re: Man or woman programmer against the beastly computer, quite a challenge at times. Make the beast sing when you want it to do so. | |
| Re: The Python concurrent.futures module provides a high-level interface for asynchronously executing callables. |
Re: Maybe A = 3 B = 4 C = 6 V = A*B*C PRINT A; B; C; V You have to multiply ABC, can't do it on my lousy iPad. | |
Re: Hydrocarbons burn to form water and carbon dioxide. The latter would be hard to collect in your car since it is a gas. | |
| Re: If other countries would pick your leaders, they would pick the clowns you have. |
Re: My nose ring, eyebrow ring, belly ring, lip ring and ear rings all match. |