Forum: Python 1 Day Ago |
| Replies: 3 Views: 108 I'll say the same, its worked a treat on my computer, and apart from the usual IDLE annoyances with wxPython its all running smoothly. :) |
Forum: Geeks' Lounge 1 Day Ago |
| Replies: 19 Views: 348 I know! Im there too, i feel quite privileged :) |
Forum: Python 2 Days Ago |
| Replies: 8 Views: 165 Post the exact error you are getting, that helps a lot :) |
Forum: Geeks' Lounge 2 Days Ago |
| Replies: 19 Views: 348 Yeah i must admit i have noticed that number always seems to look a little low recently |
Forum: Geeks' Lounge 3 Days Ago |
| Replies: 50 Views: 2,200 A while ago i was like " I think there is some virus software brought out by Microsoft this time" and people were like nah, but i was right! :P |
Forum: Python 4 Days Ago |
| Replies: 6 Views: 213 Cause in line 4 of the program you reset the input to 0!? :P Delete line 4 |
Forum: Python 4 Days Ago |
| Replies: 6 Views: 213 Okay, so look at your sentence just here:
That tells you exactly what you need to do, first: Ask the user for the current population
This is done with just an input statement
#designed for... |
Forum: Python 4 Days Ago |
| Replies: 11 Views: 246 Steve's code is almost right :)
The problem is in line 5
line.replace('.','')
The problem with that is that it doesn't store the new string in the variable automatically, so just add a line = ... |
Forum: Geeks' Lounge 4 Days Ago |
| Replies: 50 Views: 2,200 Ha ha! I knew it. So i wasnt wrong all those posts ago :) |
Forum: Python 5 Days Ago |
| Replies: 5 Views: 173 All that the .pyw extension does that the .py doesn't is make that black window "python.exe" not show up, which is useful for wxPython apps, sometimes :P |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 19 Views: 409 Hooray for aussies! :) Yeah the whole josh thing happened at about 6 o'clock (am) for me |
Forum: Python 5 Days Ago |
| Replies: 9 Views: 253 You should probably document your code to explain what each bit is doing, like why you need the third item in the list, why it need to be converted so many times, and what getch() and msvrt are.
... |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 19 Views: 409 I though Ezzaral was online.. I didn't know abut niek_e though :P |
Forum: Python 5 Days Ago |
| Replies: 8 Views: 243 Okkay. Then what i would do is rather than just saying
open("names.txt")
I would do the full address of where i put the file so
open(r"C:\Program Files\Wing IDE 101... |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 19 Views: 409 Oh, Woops :P then congrats admins.. Whoever did it did it really quickly |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 19 Views: 409 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 5 Days Ago |
| Replies: 1 Views: 122 Yeah there is still no py2exe support for python 3.x |
Forum: Python 5 Days Ago |
| Replies: 5 Views: 173 And also change the like
app.Mainloop()
to
app.MainLoop() |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 5 Views: 230 I think he is a user called JoshSCH who is banned, but he has just made a new profile. |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 5 Views: 230 >Thank you for your friendly answer.
Yeah that wasn't friendly at all, ignore him, it seems a previously banned member has gone around screwing up the forums by posting huge amounts of threads and... |
Forum: Python 5 Days Ago |
| Replies: 8 Views: 243 Okay so you need to just copy the names file into |
Forum: Python 6 Days Ago |
| Replies: 8 Views: 243 Could you post the exact error? That can help a lot.
As well there are a few things you need to address.
def name_list():
infile = open('names.txt', 'r')
names = infile.readlines()... |
Forum: Python 6 Days Ago |
| Replies: 4 Views: 363 Ah, excellent. threading is a great thing to show people.... Im still stuck for another idea for a tutorial though.. Unless i do wxPython ones. I already have some of those at my site tho :P |
Forum: Python 6 Days Ago |
| Replies: 2 Views: 189 Ah yeah, forgot about doing the compiling of them. Im glad you liked it though :) |
Forum: Python 6 Days Ago |
| Replies: 2 Views: 189 Regex is one of the more complicated modules that you can use in python. Once you have learnt it though you can use it many different programming languages, so its a useful tool for using with... |
Forum: Python 6 Days Ago |
| Replies: 6 Views: 235 Wow a tutorials, i havent seen one of these posted for aages... |
Forum: Python 7 Days Ago |
| Replies: 7 Views: 231 You can find out how something is make up by using the dir() function.
This lists all of the variables, methods and classes of whatever you put inside the brackets :) |
Forum: Python 7 Days Ago |
| Replies: 2 Views: 162 |
Forum: DaniWeb Community Feedback 7 Days Ago |
| Replies: 7 Views: 283 Yup, it works with mIRC :S Thats weird |
Forum: DaniWeb Community Feedback 7 Days Ago |
| Replies: 7 Views: 283 Hmm.... I'll download a client and try again |
Forum: Python 7 Days Ago |
| Replies: 2 Views: 162 Hi,
Im using wxPython for my latest project and i was wondering, how do i make the window go to the best size, so it includes all of the objects on screen?
I used to be able to remember... but i... |
Forum: DaniWeb Community Feedback 7 Days Ago |
| Replies: 7 Views: 283 Ah, Thanks guys.. I have been using the Mibbit client that you can find in my sig.. Not sure if that could be the problem or not though :S |
Forum: DaniWeb Community Feedback 7 Days Ago |
| Replies: 7 Views: 283 Hi,
I thought it would be nice to go on IRC today and see if anything is happening. But i went in and entered my username "Paul Thompson" as my name and halfway through logging on it went like... |
Forum: Python 7 Days Ago |
| Replies: 5 Views: 213 Well you can use the type() function to show what type the number is:
>>> type(12)
<type 'int'>
>>> type(12.4)
<type 'float'>
>>> type(input())
12
<type 'int'>
>>> type(input()) |
Forum: Geeks' Lounge 7 Days Ago |
| Replies: 50 Views: 2,200 Well my recommendation is avast :) |
Forum: Python 8 Days Ago |
| Replies: 7 Views: 178 Alright. Cheers grib. I was hoping you could help with this :) |
Forum: Python 8 Days Ago |
| Replies: 7 Views: 178 So.. By importing the program into its own __init__ module it then imports everything in the folder... Or am i still missing the point? |
Forum: Python 8 Days Ago |
| Replies: 7 Views: 178 Hmm... I have always wondered.. What is the significance of the __init__.py filename? I know what __init__ but what does it do in relation to files? |
Forum: Python 8 Days Ago |
| Replies: 7 Views: 178 Hi guys,
Im a making a program where i need to be able to specify a folder and have my program import every module from that folder into my program... I was wondering how i would go about it. I... |
Forum: DaniWeb Community Feedback 8 Days Ago |
| Replies: 53 Views: 1,895 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 |