Posts
 
Reputation
Joined
Last Seen
Ranked #196
Strength to Increase Rep
+12
Strength to Decrease Rep
-3
86% Quality Score
Upvotes Received
225
Posts with Upvotes
137
Upvoting Members
64
Downvotes Received
31
Posts with Downvotes
22
Downvoting Members
16
48 Commented Posts
~577.51K People Reached
About Me

I am a 17 year old High school student. I live in Newcaslte, Australia. I started learning python as my first programming language just before i turned 14 and since then it became my hobby.

PC Specs
Custom Built PCQ8400 quad core processorNvidia Geforce 5400 8 gigs DDR3 ramWindows 7 home premium
Favorite Tags

614 Posted Topics

Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for Duki
Member Avatar for mattyd
Member Avatar for lllllIllIlllI

Hi i have been spending the last few days deciding on an IDE that would let me program in Java, C++ and python and notepad++ looked pretty good. The only issue is i cant work out how to make the program run once i have made it. I looked in …

Member Avatar for Kuldeep_8
1
3K
Member Avatar for vegaseat

This is an example of how to use the with statement in python 3.0: [code=python] with open('test.txt') as f: print(f.readlines()) # output >> ['test'] [/code]

Member Avatar for vegaseat
23
34K
Member Avatar for vegaseat

How about a Noughts and Crosses game with AI so when the computer can it will win and it will block the player from winning if it can. Try make it so there are difficulty setting ranging from easy to beat to nearly impossible. If you want you could add …

Member Avatar for vegaseat
20
18K
Member Avatar for AutoPython
Member Avatar for 111100/11000
6
608
Member Avatar for vegaseat

If you ever need the values of wx ID's as well as any other constants in wxPython here is a way to do it: [code=python] import wx class MainFrame(wx.Frame): def __init__ (self): wx.Frame.__init__(self,None,title = "ID's and Values", size=(400, 400)) self.text = wx.TextCtrl(self, wx.ID_ANY, style = wx.TE_MULTILINE) for f in wx.__dict__: …

Member Avatar for HiHe
2
21K
Member Avatar for masterofpuppets

You really need to use [noparse][code][/code][/noparse] tags otherwise it looks messy. Also, provide a link to where you referenced things from, when referencing directly it is also a good idea to surround the text in quotation marks to indicate this is directly from a reference. Otherwise its good :)

Member Avatar for Alf1#
5
1K
Member Avatar for hellohellohello

Try using the absolute path, such as "C:\\Documents and Settings\\Paul\\Desktop\\Programming\\Excel\\values.xls" Remember that the double backslash is used so there are no escape characters such as \n used accidentally. There is a way to get around that and that is putting an r in front of the first " sign. That …

Member Avatar for akiva.berger
0
5K
Member Avatar for Doctor Inferno
Member Avatar for ZielonySBS

have you tried os.walk. That is a function that will iterate throught the files and sub directories of the folder you are talking about.

Member Avatar for Gribouillis
0
19K
Member Avatar for Stefano Mtangoo

Well i know this may be obvious, but Tkinter is all ready to be used in python 3. So anybody who uses that GUI toolkit will still be able to use it in python 30.

Member Avatar for vegaseat
0
985
Member Avatar for AutoPython

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

Member Avatar for nytman
3
1K
Member Avatar for jacobcarrick

heres a bit more: [code=python] running = True sent = raw_input("Enter a sentence") while running: for word in sent.split(): if word[0] in "aeiou": print word + "way" else: print word[1:] + word[0] + "ay" [/code] What i did was ask for a sentence at the start and then i split …

Member Avatar for fecaled
0
2K
Member Avatar for narendran_9
Member Avatar for bobstein

os.makedirs is a really useful function. It makes all of the path that you give it. So if you gave it the path C:\Python\Test\one\two you dont already have to have the path Python, Test, one or two. This is better then os.mkdir because that doesn't work unless you have the …

Member Avatar for TrustyTony
0
15K
Member Avatar for Scuppery
Member Avatar for Stefano Mtangoo

Hi Just download the wxPython Docs and Demos and go to the wxWidgets Reference. I think that might help.

Member Avatar for joryrferrell
0
124
Member Avatar for javaAddict

Well im voting for the scanner. Thats how i learnt and thats how i go, i dont find anything wrong with it so i stay that way.. addmitedly i really dont know a thing about Buffered Reader anyway, so it could be loads better for all i know.

Member Avatar for StephNicolaou
0
553
Member Avatar for Túrin

yeah i get this error a lot. What i do to fix it is to go Ctrl+Alt+Del and then go to processes and then stop and python process. Hope that works! :)

Member Avatar for jaclynn
-1
3K
Member Avatar for adkool

[QUOTE=cwarn23;1107815]Also I will add on top of that it is possible to use the Firefox adblock on Opera simply by exporting it's block list as a .txt file and add those blocked url matches (with wild cards being * ) into Operas url blocking system. And of course you can …

Member Avatar for crunchie
2
897
Member Avatar for darkfury18

Well if you want the python.exe you find it in C:\Pythonxx\python.exe If you want it to be opened by IDLE then you find that in: C:\Pythonxx\Lib\IdleLib\idle.bat If you then check "open with this every time" box then it will do that. Oh and xx is the version of python, so …

Member Avatar for Stefano Mtangoo
0
231
Member Avatar for leegeorg07

Yeah i agree, i think the best that you could do was boot into windows or something and then just start you new 'python OS' being a fullscreen gui that can do things that you want it to. But as for an actual os, it is impossible as python isnt …

Member Avatar for SamarthWiz
0
167
Member Avatar for KonkaNok

Woah, people seem easily offended today. :S But back to the topic at hand, i'm quite annoyed that is talked about how it was a mix of python C++ etc. Because i really couldn't see much of the python in it, it doesn't look like python, it compiles, unlike python …

Member Avatar for NETProgrammer
0
330
Member Avatar for AutoPython

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. But other then that, good snippet

Member Avatar for TrustyTony
0
7K
Member Avatar for scru

Yeah, i get this a lot with wxPython. Something on the lines of wx.App must be created first. And IDLE will not freeze, but it will not run the code again until you restart it.

Member Avatar for richieking
0
235
Member Avatar for Synthuir

AutoPython did a great tutorial on threading that has been posted in the tutorials section of this forum: [url]http://www.daniweb.com/tutorials/tutorial238590.html[/url] Hopefully that clears anything up if you needed a hand :)

Member Avatar for lllllIllIlllI
0
237
Member Avatar for babug

I don't even know if i would trust Ms Paint to measure something to the nearest cm let alone to decimal places. :S

Member Avatar for Sriman_Laxmi
0
1K
Member Avatar for lllllIllIlllI

Hi I have been trying to install the ERIC python IDE [url]http://www.die-offenbachs.de/eric/eric-links.html[/url] for a while now to no sucess. I could not i kept getting errors when installing the QT module [code] Determining the layout of your Qt installation... Error: Make sure you have a working Qt v4 qmake on …

Member Avatar for Tommymac501
0
822
Member Avatar for Aia

That is very sad news. I didn't know anything about that. Thanks for letting us know Aia.

Member Avatar for sureronald
9
625
Member Avatar for vmanes

_________________________ |Its not how much it costs- | |Its what you do with it! | _________________________

Member Avatar for macgurl70
1
1K
Member Avatar for lllllIllIlllI

Hi I was wondering if there was any way in which using Python i would be able to move the mouse pointer and make it click at certain x and y values. This would be used in a Macro type machine for the mouse. I have looked around for modules …

Member Avatar for TrustyTony
0
2K
Member Avatar for BestJewSinceJC

I would go back to having the old style that when you clicked on a whole category it gave you ALL of the forums in that category in a list... If you still wanted to implement this new feature that shows all of the recent posts from that category then …

Member Avatar for Dani
0
309
Member Avatar for madoverclocker
Member Avatar for jephthah
Member Avatar for William Hemsworth
3
854
Member Avatar for sravan953

You can individually set a sizer/widget to show/hide. You do this by going: [CODE] sizer.Show(False) #or otherwise ExampleTextCtrl.Show(False) [/CODE] Then you can set them to show again by doing the same command with True as the argument. Hope that helps :)

Member Avatar for baki100
1
1K
Member Avatar for keshav magge

For readability please wrap your code in [code=python] #your code here [/code] it makes it a lot easier to read Can you give us more details of the error, such as what line it was and stuff like that. See that error means your doing something like this: [code=python] s …

Member Avatar for vegaseat
0
1K
Member Avatar for lllllIllIlllI

I am currently doing a project where i am using C# and databases. I am using visual C# 2008 and i am having issues accessing the tables that i made. So what i have done is that i have a couple of tables, one with students in it, another with …

Member Avatar for kvprajapati
0
217
Member Avatar for Dani

Sounds cool. Unfortunately living in Oz means that tomorrow will be about halfway into the afternoon. Oh well :P Can't wait to see it in action, im happy as long as "My Favourite Forums" stays.

Member Avatar for The Dude
2
191
Member Avatar for mrnutty

Just go to the "Daniweb Community Feedback" forum, there is a whole topic on the situation that explains a lot about what is going on.

Member Avatar for jwenting
1
189
Member Avatar for camdaddy09

[QUOTE]R.E.S.P.E.C.T[/QUOTE] Quit being patronising, we are not children. [QUOTE]Its come to my attention that some members of this board do NOT regard the feelings of others as any importance at all when considering a reply[/QUOTE] Boo hoo, looking at your posts there has been some reason why people would be …

Member Avatar for vegaseat
1
198
Member Avatar for vb5prgrmr

[QUOTE]Where are the post numbers so one can easily reference a previous post within the thread???[/QUOTE] Easy, click the "Permalink" see this feature makes more sense. I didn't realise the post number was a link for about 6 months, but people can easily know that permalink means exactly that.

Member Avatar for vb5prgrmr
0
608
Member Avatar for lllllIllIlllI

Just wondering now that the new feature that means when you hover over (or close to) someones avatar, the text with rep and solved count comes up. I was finding it annoying how when i help my mouse there for a while i would get a text popup that would …

Member Avatar for MidiMagic
0
133
Member Avatar for jephthah

Personally i like the site as a whole. I love the bar down the bottom. I think it is a lot cleaner than the old sidebar. Though i still think it needs cleaning up. when i click 'My favourite forums' it doesn't align them very well and it looks really …

Member Avatar for Dani
8
2K
Member Avatar for BestJewSinceJC

Wow, this is all so confusing i must say. I'm on my holiday in the US at the moment. Driving trip around California, as well as driving on the 'wrong' side of the road, all this tipping buisines is making this holidays even more complicated :P we have been sticking …

Member Avatar for avatar103
0
660
Member Avatar for diafol

By the way, just noticed i cannot get to the newsletter archive again.

Member Avatar for diafol
0
318
Member Avatar for cwarn23

Also, its been just one day. There have been things fixed all over the place, things will get better, just give them time. We can't have everything fixed all at once

Member Avatar for Froger93
0
249
Member Avatar for Kruptein

Well listboxes are HTML okay, so you can put colours in. I know this works for text as i can see it working in the wxPython demo, i'm not sure that it would work for background. If you look at listctrl's in the wxPython demo, they are similar yet have …

Member Avatar for HiHe
0
168

The End.