Posts
 
Reputation
Joined
Last Seen
Ranked #127
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
93% Quality Score
Upvotes Received
150
Posts with Upvotes
122
Upvoting Members
55
Downvotes Received
8
Posts with Downvotes
8
Downvoting Members
7
43 Commented Posts
8 Endorsements
Ranked #233
Ranked #207
~562.72K People Reached
Favorite Tags
Member Avatar for vegaseat

Time just keeps on going! Procrestinate now and slow it down a little!

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

Watched "Dan in Real Life" and "Crazy, Stupid, Love" on DVD at a friend's house. Kind of romantic and funny. Will not drink cocktails with a straw after that.

Member Avatar for LoanHensley
6
6K
Member Avatar for usdblades

You better take a look at: [url]http://www.daniweb.com/forums/post104865-4.html[/url]

Member Avatar for Theofanis
0
2K
Member Avatar for Reverend Jim

The integral from -infinity to infinity of e^(-x^2) is sqrt(pi). "Heads, she wins! Tails, you lose!" ¿umop apisdn upside down?

Member Avatar for John_smith
10
21K
Member Avatar for Iceman10284

Once you learn which statement blocks belong together, then indentation makes more sense. Just think about it. It's all rather logical: # Jason Edgel # Program to find max value def function_max(value1, value2): if value1 > value2: return value1 else: return value2 # get the two integer values value1 = …

Member Avatar for UNIQUE_PRINCE
-1
4K
Member Avatar for Ancient Dragon

An application was for employment A program was a TV show A cursor used profanity A keyboard was a piano. Memory was something that you lost with age A CD was a bank account And if you had a 3-inch Floppy You hoped nobody found out. Compress was something you …

Member Avatar for jkon
4
4K
Member Avatar for vegaseat

Here is the modification of vegaseat's code that will work with both Python27 and Python32: # create a sound file in AU format playing a sine wave # of a given frequency, duration and volume # vegaseat code modified to work with Python27 and Python32 from struct import pack from …

Member Avatar for samson.dadson.3_1
1
2K
Member Avatar for vegaseat
Member Avatar for Charles_24
5
10K
Member Avatar for vegaseat

A code snippet is an example of working code that brings up an interesting aspect of Python programming. An English language string is given and then tanslated into several other languages. The translated string is printed out. You could apply the concept to one of your programs. You need to …

Member Avatar for Ekta_1
3
2K
Member Avatar for vegaseat

Just survived the "Pineapple Express" that gave large parts of California nine inches of rain.

Member Avatar for ddanbe
3
569
Member Avatar for vegaseat

Sometimes you just have to clear the display screen when you work with the Python command shell. This little function does that in both Windows or Linux: [code=python]def clear_screen(): """ clear the screen in the command shell works on windows (nt, xp, Vista) or linux """ import os os.system(['clear','cls'][os.name == …

Member Avatar for vegaseat
23
34K
Member Avatar for vegaseat

Here is an easy one. Create a list of integers between 1 an 100 that are not divisible by 2 or 3.

Member Avatar for vegaseat
20
18K
Member Avatar for vegaseat

My dad has a large collection of Benny Hill shows. Sometimes when I visit him we sit down and watch some of them and laugh a lot. Benny Hill is a very funny man! I remember when he tells how he and his buddies drag the dead circus elephant upstairs …

Member Avatar for vegaseat
11
9K
Member Avatar for vegaseat

Select multiple items from a Tkinter list box: # a simple Tkinter Listbox example # press the shift or ctrl key to select multiple items try: # for Python2 import Tkinter as tk except ImportError: # for Python3 import tkinter as tk def get_list(): """ function to read the listbox …

Member Avatar for vegaseat
9
45K
Member Avatar for deceptikon

A code snippet to search a folder full of of C code files for a given keyword/searchword. Maybe add some wildcard options.

Member Avatar for vegaseat
3
743
Member Avatar for vegaseat

vegaseat, this must be the commented out test version replace **#@Memoize** with **@Memoize** to get the working version

Member Avatar for vegaseat
4
684
Member Avatar for matjojo
Member Avatar for vegaseat

New words: tup = ('ello World','uello World') print('\n'.join(chr(n)+tup[chr(n)=='Q']for n in range(66, 91)))

Member Avatar for ZZucker
1
902
Member Avatar for humorousone

Creative answering machine messages: "You have reached the CPX-2000 Voice Blackmail System. Your voice patterns are now being digitally encoded and stored for later use. Once this is done, our computers will be able to use the sound of YOUR voice for literally thousands of illegal and immoral purposes. There …

Member Avatar for ZZucker
0
498
Member Avatar for vegaseat

The code from james.lu.75491856 (James Lu) can easily be cracked with character frequency analysis, since the most common characters in the English language (or any other language) will still be assigned the same sub characters.

Member Avatar for Lardmeister
3
1K
Member Avatar for webecedarian
Member Avatar for <M/>
0
207
Member Avatar for Chem_1
Re: IDE

I gave **enki** a try, but it failed the simple `name = input("Enter your name: ")` test using it on Python34 and Windows7.

Member Avatar for sneekula
0
675
Member Avatar for matrixdevuk
Member Avatar for ~s.o.s~

Oh wow, I didn't know about the magic dragon's demise. What a tragedy!

Member Avatar for CodyOebel
2
790
Member Avatar for vegaseat

A slight modification of vegaseat's original code to take care of whole words: ''' re_sub_whole words.py replace whole words in a text using Python module re and a dictionary of key_word:replace_with pairs tested with Python273 ZZ ''' import re def word_replace(text, replace_dict): ''' Replace words in a text that match …

Member Avatar for Gribouillis
0
20K
Member Avatar for Slavi

"If your bank uses Java applets, you should not use their online banking system at all, especially not under Windows." -- Mike How do you find out if your bank uses Java applets?

Member Avatar for Slavi
0
499
Member Avatar for chloe.baee

I am not sure why science has such a bad stigma amongst US teenagers. Maybe because our only heroes are military or sports/entertainers.

Member Avatar for Agilemind
0
427
Member Avatar for ddanbe

Windows 10 will have to be successful since about 90% of desktop and laptop computers worldwide use Windows. Apple iOS/OSX follows with 7% and Linux with about 2%. I doubt that many of those Windows users will switch and waste their time learning a different OS. Servers are also dominated …

Member Avatar for ZZucker
1
405
Member Avatar for The Mad Hatter

Microsoft is "too big to fail". Just like the big banks, the US taxpayer would have to bail them out. Without Windows the whole governmental bureaucracy would be in jeopardy.

Member Avatar for ZZucker
-2
308