Posts
 
Reputation
Joined
Last Seen
Ranked #110
Strength to Increase Rep
+14
Strength to Decrease Rep
-3
92% Quality Score
Upvotes Received
220
Posts with Upvotes
163
Upvoting Members
75
Downvotes Received
12
Posts with Downvotes
11
Downvoting Members
11
52 Commented Posts
~897.18K People Reached
About Me

student

Interests
Organic Cooking Wine Cars Biology&Sex
Favorite Tags
python x 747
gui x 42
c x 36
c++ x 35
Member Avatar for vegaseat

It is better to die for something than to live for nothing. -- George S. Patton (US Army)

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

Closeup shots of people's faces reading off information in a manner they would not normally talk to each other. Those investigative shows are loaded with it.

Member Avatar for Reverend Jim
9
3K
Member Avatar for Duki

Steamed shrimp over linguini smothered with nice creamy basil and garlic souce. Also like to drink fresh extra roast coffee from Sumatra. Remember you can only have limited amount of meals in your lifetime, so make them memorable!

Member Avatar for Dani
22
17K
Member Avatar for ultimatebuster

Simply store the reference to the function in the variable. Here is example: [code]def one(): print("hello from function one") def two(): print("hello from function two") def three(): print("hello from function three") # stores the ref of function in variable f1 = one f2 = two f3 = three func_list = …

Member Avatar for tomas_petricek
1
32K
Member Avatar for wandie

You can't mix geometry managers pack() and grid() withint the same parent widget. I would stick with grid(), now it works: [code=python]from Tkinter import * try: from PIL import Image, ImageTk except ImportError: import Image, ImageTk class SplashScreen(Toplevel): def __init__(self, master, image=None, timeout=1000): """(master, image, timeout=1000) -> create a splash …

Member Avatar for Roja_3
0
665
Member Avatar for guidely
Member Avatar for Sukant_1
0
18K
Member Avatar for pwolf
Member Avatar for rodeostar04

With DEVCPP this works just fine: [code=cpp]// obtain square root #include <iostream> using namespace std; int main(int argc, char *argv[]) { double s, a, b, c, area; s = 5.0; a = b = c = 1.5; area = sqrt(s*(s-a)*(s-b)*(s-c)); cout << "sqrt(" << s*(s-a)*(s-b)*(s-c) << ") = " << …

Member Avatar for N@sir
0
5K
Member Avatar for Reverend Jim

Fruit bats, a delicacy for some West Africans, are considered to be the Ebola virus's natural host. Source: http://www.bbc.com/news/world-us-canada-29462431

Member Avatar for John_smith
10
21K
Member Avatar for b10hzrd

This review of the roomba and neato show that the neato is much more efficient with its planned path: [url]http://www.botjunkie.com/2010/06/04/irobot-roomba-560-vs-neato-xv-11/[/url]

Member Avatar for John_197
3
1K
Member Avatar for jrcagle

Double click on the code to select all of it, then right click selection and pick copy from the dropdown menu.

Member Avatar for Jiten_1
-1
6K
Member Avatar for bumsfeld

Using the wx.lib.pdfwin.PDFWindow one can read Adobe PDF files (.pdf) with wxPython. The PDF file format is popular document file format allowing mixing of text and graphics. The GUI toolkit wxPython's newer wx.activex module allows one to use the ActiveX control, as if it would be one wx.Window. It actually …

Member Avatar for bucefala
0
2K
Member Avatar for isla.rose.3

An IDE like PyScripter would redline line 11 because of the missing comma. You can also streamline your code further with another function to remove some of the repetition: def main(): shipweight = float(input('Please enter the weight of the item you wish to ship: ')) shipping_charges(shipweight) def shipping_charges_calc(rate, shipweight): print("{} …

Member Avatar for ashaa
0
3K
Member Avatar for vegaseat

This is kind of neat: [code]# assigning the same value to several variable names: a = b = c = 7 print( a ) # 7 print( c ) # 7 # contents of local dictionary ... print( vars() ) # {'a': 7, 'c': 7, 'b': 7, ... } [/code]

Member Avatar for vegaseat
23
34K
Member Avatar for vegaseat

Build a Memory Game. You shortly flash up a number of random words. Lets say three or five, and then ask the player to recall the words from a mutli choice answer. Do that a ten or twenty times and then rate the player. They could be numbers too, but …

Member Avatar for vegaseat
20
18K
Member Avatar for vegaseat
Member Avatar for vegaseat

Twenty-five percent of the people who live in North Africa have never seen any rainbow.

Member Avatar for vegaseat
11
9K
Member Avatar for vegaseat

Just bought used Dell XP notebook for class work and installed Python 3.1 and then PyQT4 form: [url]http://www.riverbankcomputing.co.uk/software/pyqt/download[/url] Windows installer (14JUL2009): PyQt-Py3.1-gpl-4.5.2-1.exe I also installed PyScripter IDE from: [url]http://code.google.com/p/pyscripter/[/url] Windows installer: PyScripter-v1.9.9.7-Setup.exe All Python things works charmingly well! Here is my experiment with the PyQT code: [code=python]# simple PyQT window …

Member Avatar for vegaseat
9
45K
Member Avatar for vegaseat
Member Avatar for vegaseat
2
249
Member Avatar for jeremywduncan

If the words in your list/file are unique, you can do something like this: import pprint # write a test file with unique words names = '''\ paul peter sally frank jim Sandra quito ''' fname = "names.txt" with open(fname, 'w') as fout: fout.write(names) name_dict = {} # read in …

Member Avatar for Mohammad_19
0
3K
Member Avatar for DragonMastur

Windows 95 was released on August 24, 1995 As far as computing is concerned this is really, really old! I can't believe that there are many machines left out there. Maybe in some museum basement.

Member Avatar for DragonMastur
0
418
Member Avatar for Cup of Squirrel

[QUOTE=aksegaly;1011808]how to save in the memory of the phone with rms + python[/QUOTE]Vary bad manners to hijack this thread for such question. Start your own thread and give more info!

Member Avatar for Jason_15
1
18K
Member Avatar for vegaseat
Member Avatar for chloe.baee

I agree with JorgeM, real world examples/projects are important to keep the students interested.

Member Avatar for Agilemind
0
427
Member Avatar for Reverend Jim

Windows 8.1 works for me most of the time! Not sure if Windows 10.1 will be much better.

Member Avatar for smartjulie85
1
498
Member Avatar for alexamicaa

Same problem here: http://www.daniweb.com/software-development/python/threads/451832/i-dont-know-how-to-use-python..-please-help#post1957570 and here: http://forums.devshed.com/python-programming-11/i-don-t-know-how-to-use-python-help-me-943069.html and here: http://forums.devshed.com/python-programming-11/how-do-you-write-a-program-for-this-in-python-943070.html

Member Avatar for sneekula
-3
488
Member Avatar for oussama_1

One computer is just not enough. I usually have my desktop PC, two netbooks and an IPad going.

Member Avatar for Warrens80
1
366
Member Avatar for krishna bharath
Member Avatar for Lardmeister

[QUOTE=Lardmeister;473786]My hometown is loaded with Italian restaurants, I am surprised no one has voted Italy yet![/QUOTE]Most of those treaded frozen TV dinners are some kind of Italian fare. Quite a turn-off!

Member Avatar for vegaseat
1
295
Member Avatar for shaziya

Use list slicing and extend(). Hint: mylist = [0,1,2,3,4,5,6,7,8,9] ix = 3 t1 = mylist[0:ix] t2 = mylist[ix+1:] # now use list extend() t2.extend(t1) print(t2) # [4, 5, 6, 7, 8, 9, 0, 1, 2]

Member Avatar for vegaseat
0
161