Search Results

Showing results 1 to 40 of 76
Search took 0.01 seconds.
Search: Posts Made By: Paul Thompson
Forum: Python 1 Day Ago
Replies: 2
Views: 107
Posted By Paul Thompson
For storing them you can use a dictionary:

lines = text.split("\n")
lineDic = {}
for i,l in enumerate(lines):
lineDic["Line %i"%s] = l
print lineDic

Hope that helps :)
Forum: Geeks' Lounge 3 Days Ago
Replies: 30
Views: 388
Posted By Paul Thompson
hughv -> Waa waa waa.. They don't agree with me.

Get over it, really, if you want ideas, accept them, discuss them, never just completely discount them. Thats why its called a Discussion Forum.
...
Forum: Python 8 Days Ago
Replies: 2
Views: 190
Posted By Paul Thompson
We can fix that with one character, a lowly comma :)
If you put the comma after the print statement it should work

for x in range(1, len(depend)):
#comma after the whole statement
print...
Forum: Geeks' Lounge 14 Days Ago
Replies: 19
Views: 643
Posted By Paul Thompson
That was amazing, in 20 minutes you managed to ban Josh4. Im quite impressed at the speed you work at. And the forums are all clean again. So you really will only have noticed him if you were on here...
Forum: Python 16 Days Ago
Replies: 7
Views: 216
Posted By Paul Thompson
Alright. Cheers grib. I was hoping you could help with this :)
Forum: DaniWeb Community Feedback 16 Days Ago
Replies: 53
Views: 2,843
Posted By Paul Thompson
Ancient Dragon, new favourite golden oldie :P

Really though, this whole thread just sounds a lot like "he said", "she said". I havent heart an argument like this since primary school :S
Forum: Geeks' Lounge 25 Days Ago
Replies: 53
Views: 3,239
Posted By Paul Thompson
Hahaha, you should have been here a few weeks ago, you really would have enjoyed this topic:
http://www.daniweb.com/forums/thread228059.html
But as this is not a topic about bagging windows, its...
Forum: Geeks' Lounge 26 Days Ago
Replies: 53
Views: 3,239
Posted By Paul Thompson
yes. It is faster, i used to run XP and now i have installed windows 7 there is a very noticeable speed increase, especially on the startup time.

Dont immediately discount things before trying...
Forum: Geeks' Lounge Oct 20th, 2009
Replies: 26
Views: 1,390
Posted By Paul Thompson
You must get bored *a lot* :P
Forum: Geeks' Lounge Oct 18th, 2009
Replies: 26
Views: 1,390
Posted By Paul Thompson
Haha exactly, i try and make my gardening as edible as possible personally. My strawberries are my favourite. :P

But good luck with piano, i have been playing ever since i was 5. Doesn't mean i'm...
Forum: Python Oct 17th, 2009
Replies: 7
Views: 456
Posted By Paul Thompson
Yes, i think that is what they are trying to do, but at daniweb we try to not give outright answers for the questions and rather steer users in the right direction so that they may learn by...
Forum: Geeks' Lounge Oct 16th, 2009
Replies: 1,391
Views: 149,550
Posted By Paul Thompson
Dinnertime! Chicken and cheese toastie :P
Forum: Geeks' Lounge Oct 16th, 2009
Replies: 179
Views: 9,626
Posted By Paul Thompson
It seems a convenient way of saying "Yeah, i lost" without actually saying anything about it.
Forum: Geeks' Lounge Oct 15th, 2009
Replies: 179
Views: 9,626
Posted By Paul Thompson
How shallow your basis for for arguments were quite frankly suprised me.
Forum: Python Oct 15th, 2009
Replies: 5
Views: 297
Posted By Paul Thompson
If by unparsed HTML via script you mean get the source code for a page. Then you do that by using urllib

import urllib

#This is a file like object.
data = urllib.urlopen("www.daniweb.com")
...
Forum: Geeks' Lounge Oct 14th, 2009
Replies: 17
Views: 710
Posted By Paul Thompson
And seeing its against the rules. Personally (as i said above) i think it should be closed. Moderators?
Forum: Geeks' Lounge Oct 14th, 2009
Replies: 179
Views: 9,626
Posted By Paul Thompson
Really, is this going anywhere? I mean is there any point to us continuing to post here? If you want a good discussion you have to give and take, not just instantly say "Your wrong..." because we are...
Forum: Geeks' Lounge Oct 14th, 2009
Replies: 17
Views: 710
Posted By Paul Thompson
This thread sounds like it needs closing :S
Forum: Geeks' Lounge Oct 14th, 2009
Replies: 17
Views: 710
Posted By Paul Thompson
*shakes head* stop. think. No he is not hacking in.. Its sarcasm
Forum: DaniWeb Community Feedback Oct 14th, 2009
Replies: 25
Views: 2,206
Posted By Paul Thompson
Mmm, i guess in the end its only rep :P
Forum: DaniWeb Community Feedback Oct 14th, 2009
Replies: 25
Views: 2,206
Posted By Paul Thompson
Yeah, im not so sure i like the new system. I dont see why someone as useful to daniweb as MosaicFuneral is should only have the same amount of rep power as someone who has only been here for a...
Forum: DaniWeb Community Feedback Oct 14th, 2009
Replies: 25
Views: 2,206
Posted By Paul Thompson
Yeah actually that is really confusing. Just looking around profiles i stumbled upon SoulMazer (http://www.daniweb.com/forums/member407656.html) they have a +2/-1 as their rep power, even though they...
Forum: Geeks' Lounge Oct 14th, 2009
Replies: 179
Views: 9,626
Posted By Paul Thompson
Then there it no point trying to preach your ideas to us because your ideas are outdated.
Forum: DaniWeb Community Feedback Oct 13th, 2009
Replies: 25
Views: 2,206
Posted By Paul Thompson
Soo, dani. Any chance of having that system they have at Dev Shed Forums?
Forum: Geeks' Lounge Oct 13th, 2009
Replies: 179
Views: 9,626
Posted By Paul Thompson
Exactly, things have changed. Once you have educated yourself, then you can start arguments.
Forum: Geeks' Lounge Oct 13th, 2009
Replies: 179
Views: 9,626
Posted By Paul Thompson
Okay i have just finished reading the whole thread... And i noticed something you said:


Wow, it was bad back then?! Woop Dee Doo. Things get upgraded, you would know that. I used Ubuntu on and...
Forum: DaniWeb Community Feedback Oct 13th, 2009
Replies: 25
Views: 2,206
Posted By Paul Thompson
Yeah thats a bit messed up. With my rep of 180 i have +2/-1?! :S
Forum: DaniWeb Community Feedback Oct 13th, 2009
Replies: 25
Views: 2,206
Posted By Paul Thompson
Yeah i must say i agree with Vernon. I think it would be great if we were able to change the amount of rep we gave.

To make it easy, you could have a default value that automatically went on to...
Forum: DaniWeb Community Feedback Oct 5th, 2009
Replies: 36
Views: 4,039
Posted By Paul Thompson
I agree with Niek_e its just a number. Nothing to get too fussed about. :)

EDIT: yeah i know this is kinda a turn around from the start of the thread ;)
Forum: Python Oct 5th, 2009
Replies: 4
Views: 349
Posted By Paul Thompson
There are a great many prime number generators in the code snippet sections :)

http://www.daniweb.com/code/forum114.html

Otherwise, i would look at techniques to find primes. Then come back...
Forum: DaniWeb Community Feedback Oct 4th, 2009
Replies: 36
Views: 4,039
Posted By Paul Thompson
mmmm.. I understand what everyone is saying, and i agree it would be great. And i do upvote if i believe it was a good point. But i just dont like the fact that a new person can come over and down...
Forum: DaniWeb Community Feedback Oct 4th, 2009
Replies: 36
Views: 4,039
Posted By Paul Thompson
I have noticed in the Python Forum there is nothing but -1's on all of the threads except one.

So what i was wondering is can we limit the amount of down's a poster can do?

For example a...
Forum: Python Oct 3rd, 2009
Replies: 1
Views: 220
Posted By Paul Thompson
Okay, sounds fun.

1. What i would do is not change where the buttons are, but what colour they are. This means that in your code you can have a sizer easily but the buttons can still change colour...
Forum: DaniWeb Community Feedback Oct 3rd, 2009
Replies: 43
Views: 4,793
Posted By Paul Thompson
Ooh exciting. I'm liking these site changes :)
Forum: DaniWeb Community Feedback Oct 3rd, 2009
Replies: 14
Views: 691
Posted By Paul Thompson
Ah happygeek, i knew you wouldn't forget me :)
Forum: DaniWeb Community Feedback Oct 3rd, 2009
Replies: 43
Views: 4,793
Posted By Paul Thompson
So is there any way to tell (apart from actually checking the threads) if your posts are being up/down rated?
Forum: Python Oct 2nd, 2009
Replies: 4
Views: 248
Posted By Paul Thompson
Check what python version you have, i think you may have python 3.1 which means that you would not have such thing as a raw_input statement.

So instead of raw_input, just replace it with input....
Forum: Growing an Online Community Oct 1st, 2009
Replies: 10
Views: 1,101
Posted By Paul Thompson
Correct me if im wrong but arent you using it at the moment? There is a whole forum devoted to them..
Forum: Python Sep 23rd, 2009
Replies: 45
Views: 2,699
Posted By Paul Thompson
It shouldn't be to hard, have a look at the API for the wx.TextCTRL
http://www.wxpython.org/docs/api/wx.TextCtrl-class.html
One of the functon is GetValue() that returns a string of the value in...
Forum: DaniWeb Community Feedback Sep 23rd, 2009
Replies: 4
Views: 466
Posted By Paul Thompson
Well i just think it would be nice to be able to see what was actually being posted about in the tag cloud.
Showing results 1 to 40 of 76

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC