Posts
 
Reputation
Joined
Last Seen
Ranked #199
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
88% Quality Score
Upvotes Received
167
Posts with Upvotes
129
Upvoting Members
42
Downvotes Received
13
Posts with Downvotes
13
Downvoting Members
10
23 Commented Posts
~685.04K People Reached
Favorite Tags
Member Avatar for Reverend Jim
Member Avatar for Reverend Jim
9
3K
Member Avatar for Duki
Member Avatar for Dani
22
17K
Member Avatar for vegaseat
Member Avatar for vegaseat

“Intellectual growth should commence at birth and cease only at death” -- Albert Einstein

Member Avatar for Reverend Jim
15
13K
Member Avatar for LastMitch

Has anyone seen "Fury" yet? Most war movies are such silly fake, so I am reluctant to waste my money.

Member Avatar for LoanHensley
6
6K
Member Avatar for soibac
Member Avatar for Reverend Jim

The dinosaur "Dreadnoughtus" had a 37 foot-long neck, a 30 foot tail, and weighed an estimated 65 tons.

Member Avatar for John_smith
10
21K
Member Avatar for vegaseat

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 == …

Member Avatar for amir_19
3
24K
Member Avatar for HiHe
Member Avatar for martineau
1
21K
Member Avatar for Ancient Dragon

Do not look into the laser beam with your remaining eye!

Member Avatar for jkon
4
4K
Member Avatar for ihatehippies

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 …

Member Avatar for gdtraveller
0
2K
Member Avatar for vegaseat

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.

Member Avatar for Daniele_2
4
19K
Member Avatar for vegaseat
Member Avatar for almostbob
Member Avatar for vegaseat
Member Avatar for vegaseat
Member Avatar for RikTelner
Member Avatar for vegaseat
Member Avatar for ddanbe
3
567
Member Avatar for vegaseat

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 …

Member Avatar for vegaseat
23
34K
Member Avatar for vegaseat

You can apply Python to the control of robots, see: [url]http://wiki.roboteducation.org/Main_Page[/url]

Member Avatar for vegaseat
20
18K
Member Avatar for hadisur_rahman
Member Avatar for vegaseat
-2
158
Member Avatar for vegaseat

[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! …

Member Avatar for vegaseat
11
9K
Member Avatar for vegaseat

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?

Member Avatar for Leigh3
0
589
Member Avatar for mike_2000_17
Member Avatar for theredhosting

Man or woman programmer against the beastly computer, quite a challenge at times. Make the beast sing when you want it to do so.

Member Avatar for bordogamesdev
1
419
Member Avatar for iamthwee

The Python concurrent.futures module provides a high-level interface for asynchronously executing callables.

Member Avatar for vegaseat
1
838
Member Avatar for andrewumoh

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.

Member Avatar for HiHe
-1
113
Member Avatar for Kamal_8

Hydrocarbons burn to form water and carbon dioxide. The latter would be hard to collect in your car since it is a gas.

Member Avatar for ddanbe
0
180
Member Avatar for diafol

If other countries would pick your leaders, they would pick the clowns you have.

Member Avatar for diafol
0
270
Member Avatar for theredhosting

My nose ring, eyebrow ring, belly ring, lip ring and ear rings all match.

Member Avatar for HiHe
0
75