1,175 Posted Topics

Member Avatar for nish88

Your code is loaded with errors. I assume this is something like you want, it actually works: [code=python]import Tkinter as tk import time def generate(): for i in range(0,100,5): time.sleep(0.3) canvas.create_oval(200-i, 300-i, 210+i, 310+i) # needed after time.sleep canvas.update() # for testing only print i canvas.create_oval(200, 300, 210, 310, fill='red') …

Member Avatar for sneekula
0
155
Member Avatar for debangan.b

One day to learn the basics of Python. One week to get to know the modules you need.

Member Avatar for linux
0
122
Member Avatar for ftpvk
Member Avatar for sneekula
0
78
Member Avatar for TheNNS

Food at McDonalds is pretty "ho-hum". I will go to Pizza Hut with a couple of friends later. Their new deep dish pizza is a tasty deal.

Member Avatar for Lardmeister
0
919
Member Avatar for majestic0110

I am working on an expert system to replace our lying and cheating political leadership with a lying and cheating computer system. :)

Member Avatar for Lardmeister
0
154
Member Avatar for ithelp

We discussed that at length in thread: [url]http://www.daniweb.com/forums/thread92901.html[/url] Is that spam below the picture?

Member Avatar for sneekula
0
162
Member Avatar for MattEvans
Member Avatar for sneekula
0
229
Member Avatar for The Dude

Sneekula is the small part in the center of a CD player. It also can be used as a herbal substitute in Keemun Congou tea.

Member Avatar for maui_mallard
0
245
Member Avatar for turnerca902

Here is one example how to approach this: [code=python]""" assume your test data file (test_data.txt) looks like this 2008_06_01 07:55 24.8 83.1 2008_06_02 07:55 31.2 85.7 2008_06_03 07:55 33.4 86.1 2008_06_04 07:55 -30.8 81.6 2008_06_05 07:55 25.7 82.3 """ new_list = [] for line in file("test_data.txt"): data_list = line.split() # …

Member Avatar for turnerca902
0
113
Member Avatar for Jozin_z_Bazin

Not too many people use the PyQt GUI toolkit, because of licensing problems. My guess is that your installation went wrong, or you misspelled something, imports are case sensitive.

Member Avatar for nish88
0
141
Member Avatar for nish88

Please use the proper code tags around your code. Don't quote the whole thing or your code tags won't work. Proper code tags are [noparse][code=python][/noparse] your code here [noparse][/code][/noparse] Please format your code so it is somewhat readable. Also, since your ovals are equal, how would you know the difference? …

Member Avatar for nish88
0
173
Member Avatar for maui_mallard

Well, I have over 600 post and the proud title of "Practically a Master Poster" Just throw a bunch of "lols" in and you will be there in no time!

Member Avatar for Lardmeister
0
321
Member Avatar for Lardmeister

[QUOTE=Ancient Dragon;544288]Dam -- I meant to vote for 100+ but hit the wrong button :)[/QUOTE]If it wasn't you, then who voted for it? Besides, if members that die of old age are never taken off the list, the average age over time will tend toward 100+

Member Avatar for vegaseat
0
117
Member Avatar for zandiago
Member Avatar for Carlo Gambino

If you want to familarize yourself with a function, it helps to print some of the results: [code=python]# enumerating over a string or list returns the index and the element s = 'help' for ix, c in enumerate(s): print ix, c """ my result --> 0 h 1 e 2 …

Member Avatar for jrcagle
0
143
Member Avatar for vmanes

[QUOTE=jwenting;540486]no need for a conviction, block them until one can be attained (so for the duration of the investigation). It's what's done to everyone else, so why not to crackers? They're criminals, conviction or no.[/QUOTE]"Guilty unless proven innocent", what a concept. You should run for the Supreme Court. To make …

Member Avatar for Lardmeister
0
293
Member Avatar for zandiago

In the name of homeland security, hand over your thumb drive! I think you have some real good points Aia! Put up a stout fight for privacy, I might visit you in jail later. :)

Member Avatar for jbennet
0
640
Member Avatar for The Dude
Member Avatar for ZZucker
0
129
Member Avatar for The Dude
Member Avatar for The Dude

[QUOTE=jbennet;534690]OMFG OMFG OMFG CLOWN ALERT CLOWNSSSSS! I hate clowns, they are really scary!!! w00t[/QUOTE]Ronald McDonald wasn't that bad! He helped a lot of children.

Member Avatar for maravich12
1
137
Member Avatar for php.mca

The most common Python module for PDF format files is ReportLab, for example code and download see:: [url]http://www.devshed.com/c/a/Python/Python-for-PDF-Generation/[/url] You will have to read through the ReportLab documentation to see if you can save with a password.

Member Avatar for php.mca
0
78
Member Avatar for zandiago

The salaries of CEOs are hight to attract the best person, that makes the best decisions for the company. If the company thrives, so do the workers. There are exceptions of course.

Member Avatar for briansmall
0
396
Member Avatar for zclevenger

Please use code tags around your code so it will retain the indentations! You are also unpacking clist wrong, also write() writes a string to file, so concatinate first.

Member Avatar for jrcagle
0
173
Member Avatar for ShawnCplus
Member Avatar for sneekula
1
144
Member Avatar for Lardmeister
Member Avatar for The Dude

[QUOTE=efmesch;484835]Sit down in a comfortable position, close your eyes, relax your muscles as best as you can and breathe slowly while you think of pleasant memories.[/QUOTE]I like to put my feet on the desk to accomplish that, but my boss keeps disturbing me!

Member Avatar for twomers
4
518
Member Avatar for zandiago
Member Avatar for ZZucker
1
264
Member Avatar for The Dude
Member Avatar for The Dude

[QUOTE=The Dude;520138]I bet people will go from store to store getting 1 free pretzel after another :D (Or put on a wig,go back in.........)[/QUOTE]Maybe they will stamp your hand with permanent ink (picture of a pretzel) to avoid double dipping.

Member Avatar for Lardmeister
0
121
Member Avatar for The Dude
Member Avatar for DangerDev

You also have to consider how few computers use the Linus OS, sorry Linux OS.

Member Avatar for jbennet
0
215
Member Avatar for The Dude

The manual that came with my dishwasher says to put the utensils in handle down for the best cleaning action.

Member Avatar for bumsfeld
-1
175
Member Avatar for Jicky

Take all the printable/allowable characters and create a random string with them. The longer the string the better your password. IMHO, the worst password is most likely "password"

Member Avatar for technogeek_42
0
387
Member Avatar for Lardmeister

I think AD is very lucky to have his first pick be wife material. Most of us have to experience a number of girls to find the right one. I have had a small number of girlfriends so far, and have found them in our church, where they have a …

Member Avatar for ~s.o.s~
2
307
Member Avatar for Ene Uran

It's on a Sunday, and my religion does not allow me partake in such spectacles and the associated sinful behaviour.

Member Avatar for maravich12
0
309
Member Avatar for nish88

Firstly: To preserve the all important code indentations for Python please use code tags. I will show the needed tags in reverse so they don't activate, at the end of your code add this tag (/code) at the start of your code add tag (code) or (code=python) I have somewhat …

Member Avatar for G-Do
0
237
Member Avatar for jaepi

Looks to me like you have to eat certain foods to produce some of these.

Member Avatar for ~s.o.s~
-1
107
Member Avatar for werks

Yahoo just announced a major layoff of close to 1000 of its employees. Maybe that means that its search engine isn't as good as Google's?

Member Avatar for joshSCH
0
231
Member Avatar for thesk1
Re: joke

Very funny! There is more at: [url]http://www.daniweb.com/forums/thread77206.html[/url]

Member Avatar for Serunson
0
76
Member Avatar for Agni

With creative brainstorming sometime comes the feeling of accomplishment, reward enough for me. AD just makes sure that we are allowed some creativity, right?

Member Avatar for Ezzaral
0
112
Member Avatar for HazardTW

No other than the famous Stephen Hawking also said: "It is not clear that intelligence has any long-term survival value!" Sorry, I would not use intelligence as the reason to switch to Vista. Sounds like Vista is a girl's OS.

Member Avatar for HazardTW
0
648
Member Avatar for briansmall

Blogging is one way to spread the truth and the news. I am all for it! Yeah Bloggers!

Member Avatar for vmanes
0
126
Member Avatar for LanierWexford

The 'for loop' is the standard iteration loop in Python. Here are some simple examples: [code=python]# iterate through the characters of a string for c in 'string': print c """ my result ---> s t r i n g """ # iterate through the elements of a list for n …

Member Avatar for Ene Uran
0
108
Member Avatar for The Dude

[QUOTE=Naruse;520848]really lucky man...[/QUOTE]Well Narue, he most likely ended up in the hospital with facial burns.

Member Avatar for twomers
0
112
Member Avatar for The Dude
Member Avatar for Ancient Dragon

Well, January isn't quite over yet, so Happy 2008 to the DaniWebbers. May there be less war and more work and money.

Member Avatar for sneekula
0
205
Member Avatar for The Dude
Member Avatar for Dave Sinkula

[QUOTE]~~ abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble ~~[/QUOTE]... and then came the Internet, where ideas come from all over the world in a fraction of a second, no need to stand on a soapbox and shout, write those …

Member Avatar for sneekula
0
553
Member Avatar for myheartbits
Member Avatar for kimvolker

I run DrPython165 with Python251 and wxPython28 (using binary wxPython2.8-win32-unicode-2.8.6.0-py25.exe) on a Windows Vista machine and have absolutely no problems.

Member Avatar for vegaseat
0
342

The End.