988 Posted Topics

Member Avatar for joesph67
Member Avatar for Ene Uran
0
21
Member Avatar for Ramy Mahrous

Well, I can't remember when the US was not in some kind of a war. Professional soldiers are so much better than draftees. Why draft someone that is not a soldier at heart?

Member Avatar for DimaYasny
0
289
Member Avatar for The Dude
Member Avatar for The Dude
0
37
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for majestic0110
Member Avatar for linkrulesx10

[QUOTE=woooee;570560]Just to be complete, BLT adds graphing to the TCL/Tk toolkit. Use whichever of the suggestions seems best to you. They will all work. [url]http://incrtcl.sourceforge.net/blt/[/url][/QUOTE]The only caveat, you have to program in TCL, not Python.

Member Avatar for woooee
0
161
Member Avatar for The Dude
Member Avatar for aot

I think Tkinter is written in TCL language with a Python wrapper hanging over it. If you want to write a new widget you better learn TCL. I fooled around a little with the scale widget itself and mouse events and came up with this: [code=python]# experiment with Tkinter's Scale …

Member Avatar for Ene Uran
0
266
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for rysin

Just like in C, a += b does the same thing as a = a + b, but the code produced is more efficient. So, I think, the roughly is there for the sticklers in life.

Member Avatar for Ene Uran
0
110
Member Avatar for rysin

There is of course an indent error in your code sample. I added some comments: [code=python]# move a line down and up the display window import pygame y = 0 dir = 1 running = True width = 800 height = 600 screen = pygame.display.set_mode((width, height)) linecolor = 255, 0, …

Member Avatar for Ene Uran
0
142
Member Avatar for Google Spider

The most secret area I have been in was in my younger brother's room. Officially called Area Detritus.

Member Avatar for sneekula
0
218
Member Avatar for lasher511

As an actor Picard beats Kirk. Of cousre, Kirk's role is often written more than silly.

Member Avatar for Ancient Dragon
0
155
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for sneekula

People that wish you a "Merry Kiss-mess" to be politically incorrect. Guys that don't open the door, cover mud puddles with their coat, or offer their seat for a lady.

Member Avatar for reddawg
0
1K
Member Avatar for MEDIAMAN39
Member Avatar for sneekula

If you drive behind a diesel car that uses recycled cooking oil, the stench smells like fries. How about cars powered with ethanol? Coldn't that be a cause for more drunk drivers? Would you keep a jar of olives in the car?

Member Avatar for GrimJack
0
676
Member Avatar for sneekula

In some of my dreams I am dating some good looking fellow that forgot to take his viagra.

Member Avatar for GrimJack
0
504
Member Avatar for Dave Sinkula

[QUOTE=The Dude;549041]Very sad........[/QUOTE]I agree, sailing enthusiast should not end up in hell!

Member Avatar for bumsfeld
0
205
Member Avatar for TheNNS

[QUOTE=jbennet;496984]cool. Doing the fish with lemon, honey + sweet potatoes (i think its called squash or butternut in some countries?) is nice[/QUOTE]Squash (most common are zucchini, butternut, acorn, summer, spaghetti squash) is a vegetable of its own. My mother cooks up a tasty medley of sliced zucchini squash and cabbage, …

Member Avatar for Lardmeister
0
918
Member Avatar for ithelp

It should be an earth shattering experience. My bet is that all debts are off!

Member Avatar for sneekula
0
161
Member Avatar for katak_guy

Honestly, few of us are mind-readers, you need to give us more information and code.

Member Avatar for katharnakh
0
230
Member Avatar for RMartins

Just a side note, you can use x**0.5 rather than math.sqrt(x) to speed things up: [code=python]import timeit stmt = "math.sqrt(123456789)" t = timeit.Timer( stmt, "import math" ) print "%s took %s microseconds/pass" % (stmt, t.timeit(1000000)) stmt = "123456789**0.5" t = timeit.Timer( stmt) print "%s took %s microseconds/pass" % (stmt, t.timeit(1000000)) …

Member Avatar for G-Do
0
86
Member Avatar for The Dude

Ene is my first name spelled backwards, and Uran is the African name for a heavy gold ear ring that glows in the dark and can also be used for a wind chime (bflat & fsharp).

Member Avatar for maui_mallard
0
245
Member Avatar for what_is_that???

[QUOTE=what_is_that???;545325]If i have an audio file that is in .py format how do I play it?[/QUOTE]Try to read it with an editor. If it looks like a typical Python code text file then the .py extension might be correct, otherwise it just might be a cruel joke. Anyone can take …

Member Avatar for Ene Uran
0
47
Member Avatar for mlattanzi

#!/usr/bin/python is only needed for Linux computers. print "\n" * 100 is a crude way to clear the cmd screen. Are you sure you need this at all? Also, easygui is a subset wrapper for the Tkinter GUI toolkit. Very few people use it. I would switch to Tkinter that …

Member Avatar for Ene Uran
0
174
Member Avatar for mjsinpl

Please use code tags with your code to preserve the indentations. Otherwise the code is very difficult to read and not too many folks will help. [noparse][code=python][/noparse] your Python code here [noparse][/code][/noparse]

Member Avatar for Ene Uran
0
684
Member Avatar for ! !

[QUOTE=jwenting;543837]it all depends on how bad the alergy is. My sister has a rather severe case, she has to be extremely careful when buying prepackaged foods as most contain milk components as filler or for other purposes (even stuff you wouldn't expect it from, like marmelade). She gets sick when …

Member Avatar for jbennet
0
438
Member Avatar for Impact4ever
Member Avatar for Impact4ever
0
76
Member Avatar for maui_mallard

[QUOTE=joshSCH;529076]Uhh.. Joe has a custom user title..[/QUOTE]Man are you ever dense! You are very good in calling folks names, but in your wit and humor department the shelves are empty.

Member Avatar for Lardmeister
0
321
Member Avatar for Lardmeister

My assumption is that the newer members joining after Dani's somewhat dated statistics are younger.

Member Avatar for vegaseat
0
116
Member Avatar for RMartins
Member Avatar for zandiago

Sometimes privacy is simply a luxury and has to suffer to protect the population as a whole.

Member Avatar for jbennet
0
640
Member Avatar for The Dude

[QUOTE=EnderX;535449]What, hockey makes Canadians angry?[/QUOTE]Angry, if they don't win! Hockey comes up with some pretty interesting fights.

Member Avatar for Lardmeister
0
120
Member Avatar for ShawnCplus

Keep geeking in the Geek's Lounge, and you will hit 4,800 posts real soon. You could even LOL your way to reach jbennets 9,900 post count.

Member Avatar for sneekula
1
144
Member Avatar for Lardmeister

Tax cuts could force all those tax lawyers to take up a "real job"?

Member Avatar for Lardmeister
0
729
Member Avatar for The Dude

[QUOTE=ZZucker;522702]... I must say this, being a young person and degradingly being called a "kid" ruffles my feathers! It is not very pleasant![/QUOTE]Simmer down Z, whoever called you a "kid" is most like too old to remember those days. Laugh it off! It helps to unstress, and if you are …

Member Avatar for twomers
4
518
Member Avatar for iamthwee

Yeah, Valentine's Day is real nice! Friends let you now that they like you! Just a card and a pink lady at the bar will do.

Member Avatar for joshSCH
0
395
Member Avatar for zandiago

[QUOTE=zandiago;533444]Good day boys & girls. I want your thought on the mass media revealing too much information? By that I mean, for example in the US, since 9/11, there has been many thoughts about terrorist could strike the USA again. some of those methods have been spoken about on TV. …

Member Avatar for ZZucker
1
264
Member Avatar for The Dude

Those darn scientists anyway! I guess there is always a temptation to play God.

Member Avatar for igguna
0
68
Member Avatar for The Dude
Member Avatar for Lardmeister
0
121
Member Avatar for The Dude
Member Avatar for Lardmeister
0
54
Member Avatar for The Dude

[QUOTE=The Dude;520153]Heh,its a bit too bright in my room i guess and the screen is dark :D[/QUOTE]I agree, the color selection is a little poor.

Member Avatar for The Dude
0
77
Member Avatar for DangerDev

[QUOTE=jbennet;523730]lots of companies like IBM, Orcale want Fortran programmers with UNIX experience to write mainfframe code and lots of defence companies like BAE want ADA programmers with UNIX experience for aircraft control etc...[/QUOTE]Wonder what the American Dental Association (ADA) recommends for a programming language and OS, could it be Ada?.

Member Avatar for jbennet
0
215
Member Avatar for The Dude

If you put your knives in handle down, then the sharp point of the knife will rub against the basket material during the dishwasher action. If the basket is metal, the knife will get dull. If the basket is plastic, the knife will damage it. Wow, this is an intellectually …

Member Avatar for bumsfeld
-1
175
Member Avatar for abhinemo

Sorry, I don't have Linux so I can't test it out, but try to build your command string before using it as an argument: [code=python]val="/usr1/test/hello/ " command_str = 'ls -lrt $%s | grep "LATEST" | cut -d ">" -f2 | tr -d " "' % val # test it print …

Member Avatar for abhinemo
0
91
Member Avatar for gusbear

I think it has been said here numerous times, but the module graphics.py is a subset wrapper for Tkinter from a older book. Not too many folks use it, so help will be difficult to get.

Member Avatar for jrcagle
0
115

The End.