Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Python | Forum profile

Forum profile page for Python on http://www.daniweb.com. This report page is the aggregated overview from a single forum: Python, located on the Message Board at http://www.daniweb.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Python" on the Message Board at http://www.daniweb.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: www.daniweb.com - IT Tech Talk - Python (site profile, domain info daniweb.com)
Title: Python
Url: http://www.daniweb.com/forums/forum114.html
Users activity: 27 posts per thread
Forum activity: 151 active thread during last week
 

Posting activity on Python:

  Week Month 3 Months
Threads: 151 529 1,381
Post: 419 1,434 3,771
 

Python Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
masterofpuppets
43
user's latest post:
Understanding get and set methods.
Published (2009-11-30 03:25:27)
well you're almost right • • • • __init__ creates a private attribute name? The second line in main crit.talk() and prints Hi, I'm, self.name ("Poochie"), which it is able to get because get_name method? print cirt.name prints "Poochie", again using the get_method? (1)yes in this case, but if omit the underscores in the beginning and write it like this self.name...
vegaseat
35
user's latest post:
Understanding static methods
Published (2009-11-29 14:28:02)
Help with Code Tags Python Syntax ( Toggle Plain Text ) def status ( ) : print " The total number of critters is" , Critter. total   status = staticmethod ( status ) def status(): print "The total number of critters is", Critter.total status = staticmethod(status) This allows class function status() to be called with the class name rather than the instance name ( an...
Gribouillis
31
user's latest post:
Free Disk Space - Page 2 - Python
Published (2009-11-30 07:25:14)
Use your brain, instead of total_space put the name of the variable which contains the result!
Ene Uran
17
user's latest post:
need help
Published (2009-11-29 00:00:00)
Give your thread a meaningful title and more people will help.
woooee
16
user's latest post:
fetching data from qt
Published (2009-11-26 13:24:07)
• • • • fetching data from qt The short answer is to look at QLineEdit here http://www.devshed.com/c/a/Python/PyQT-Input-Widgets/ More tutorials are on the wiki http://www.diotavelli.net/PyQtWiki/Tutorials
gangster88
15
user's latest post:
Calling Function?
Published (2009-11-28 07:40:57)
• • • • Originally Posted by masterofpuppets hi, be careful with the indentation for the else statement here Now, this means that the result will be shown only if the mark is greater than 25, which is not helpful. You need the mark to be in range 0 <= mark <= 25 right? so the if would be: Help with Code Tags Python Syntax ( Toggle Plain Text ) def gradeTest ( ) : mark = input...
ffs82defxp
15
user's latest post:
Buying a proffessional editor -...
Published (2009-11-29 00:00:00)
Yeah, IDEs like notepad++ lack the auto-indent feature. I'm also looking for an IDE but unfortunately I'm kind of broke..so I guess IDLE works for me for now.
evstevemd
15
user's latest post:
Free Disk Space - Page 2 - Python
Published (2009-11-30 07:25:14)
• • • • Originally Posted by Aiban ok ok ... sorry mate .. yeah you have tried to help, but i didn't see it as a 'tkinter' issue ... just an moving of output issue which i couldnt' define with the correct 3 to 4 words. Its ok, but control your temper. you might end kicking your IDE
lrh9
13
user's latest post:
get and set methods, &...
Published (2009-11-30 09:24:34)
• • • • Originally Posted by programmersbook Private attributes are always with "__" double underscore. Taken directly from the zipfile module: Help with Code Tags Python Syntax ( Toggle Plain Text ) def _check_zipfile ( fp ) : #Begins with a single underscore. Protected function. Will not be returned by zipfile.__all__ #...   def is_zipfile ( filename...
Mathhax0r
12
user's latest post:
Recursion is beating me.
Published (2009-11-27 14:42:53)
You can use helper functions, you know. Help with Code Tags Python Syntax ( Toggle Plain Text ) def harmonicSum ( n ) : def realSum ( p ) : if p > n: return 0 return 1 /p + realSum ( p +1 ) return realSum ( 1 ) def harmonicSum(n): def realSum(p): if p > n: return 0 return 1/p + realSum(p+1) return realSum(1) There's probably a more eloquent solution, but what...
 

Latest active threads on Python::

www.daniweb.com - IT Tech Talk
Started 1 week ago (2009-11-24 11:00:08)  by ov3rcl0ck
• • • • Originally Posted by coffeebox ... since Mac are realy running shiny Linux/BSD it should work there to. Mac OS X is based around Darwin UNIX, a version of UNIX that derived from NEXTSTEP, which derived from BSD. OS X Contains no BSD code nor NEXTSTEp code anymore.
Thread:  Show this thread (4 posts)   Thread info: Python backup program Size: 965 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Python backup program :: Python :: www.daniweb.com - IT Tech Talk"
www.daniweb.com - IT Tech Talk
Started 2 days, 18 hours ago (2009-11-29 15:23:56)  by ShadyTyrant
Not sure if this runs any faster then yours but it does run quickly for files a little over 50 mb. At least on my Debian box. Help with Code Tags Python Syntax ( Toggle Plain Text ) import os l = [ "/home/tyrant/Desktop/1.part" , "/home/tyrant/Desktop/2.part" , "/home/tyrant/Desktop/3.part" ] source_file = "/home/tyrant/Desktop/source.file...
Thread:  Show this thread (7 posts)   Thread info: [Newbie] How to append a file in python ? Size: 5,116 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: [Newbie] How to append a file in python ? :: Python :: www.daniweb.com - IT Tech Talk"
www.daniweb.com - IT Tech Talk
Started 2 days, 12 hours ago (2009-11-29 21:24:34)  by lrh9
The class if functionally correct. A few things I'd like to suggest. 1) As far as I'm aware, protected names usually begin with one underscore. Help with Code Tags Python Syntax ( Toggle Plain Text ) self ._name #"Correct" self .__name #"Incorrect" self._name #"Correct" self.__name #"Incorrect" 2) I'd probably put an underscore ...
Thread:  Show this thread (5 posts)   Thread info: get and set methods, & properties Size: 8,276 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: get and set methods, & properties :: Python :: www.daniweb.com - IT Tech Talk"
www.daniweb.com - IT Tech Talk
Started 2 days ago (2009-11-30 09:24:21)  by johnroach1985
Yeah... I can see that... I would have rather gotten a quick answer than to read documentation... But thanks... I think... But if anyone else could help that will still be great!
Thread:  Show this thread (2 posts)   Thread info: Writing a python thread Size: 306 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Writing a python thread :: Python :: www.daniweb.com - IT Tech Talk"
www.daniweb.com - IT Tech Talk
Started 2 days ago (2009-11-30 09:24:09)  by lrh9
• • • • Originally Posted by mahela007 So how, then, does Tk manage to provide windows which look 'native' for the different operating systems? I don't know the way it technically does it, but my best guess is that it uses an API - application programming interface - to standardize how it draws widgets without being aware of operating system details....
Thread:  Show this thread (4 posts)   Thread info: Understanding how tkinter works. Size: 1,236 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Understanding how tkinter works. :: Python :: www.daniweb.com - IT Tech Talk"
www.daniweb.com - IT Tech Talk
Started 2 days, 14 hours ago (2009-11-29 19:24:47)  by masterofpuppets
hi, you could also use a dictionary if you want to assign values to the variables, e.g.: Help with Code Tags Python Syntax ( Toggle Plain Text ) d = { } for i in range ( 10 ) : d [ "x" + str ( i ) ] = i print d # -> {'x8': 8, 'x9': 9, 'x2': 2, 'x3': 3, 'x0': 0, 'x1': 1, 'x6': 6, 'x7': 7, 'x4': 4, 'x5': 5}...
Thread:  Show this thread (3 posts)   Thread info: define a variable inside for loop Size: 2,880 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: define a variable inside for loop :: Python :: www.daniweb.com - IT Tech Talk"
www.daniweb.com - IT Tech Talk
Started 2 days, 20 hours ago (2009-11-29 13:25:00)  by vegaseat
If you have Windows you can use this ... Help with Code Tags Python Syntax ( Toggle Plain Text ) # get disk information on Windows # using the win32 extension module from: # http://sourceforge.net/projects/pywin32/files/ # tested on Windows XP with Python25 and Python31 import win32file def get_drivestats ( drive ) : ...
Thread:  Show this thread (18 posts)   Thread info: Free Disk Space Size: 5,746 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Free Disk Space :: Python :: www.daniweb.com - IT Tech Talk"
 

Hot threads for last week on Python::

Python
RE: Free Disk Space - 18 new posts
Started 2 days, 20 hours ago (2009-11-29 13:25:00)  by vegaseat
If you have Windows you can use this ... Help with Code Tags Python Syntax ( Toggle Plain Text ) # get disk information on Windows # using the win32 extension module from: # http://sourceforge.net/projects/pywin32/files/ # tested on Windows XP with Python25 and Python31 import win32file def get_drivestats ( drive ) : ...
Thread:  Show this thread (18 posts)   Thread info: Free Disk Space Size: 5,746 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Free Disk Space :: Python :: www.daniweb.com - IT Tech Talk"
Python
Started 6 days, 5 hours ago (2009-11-26 04:21:58)  by ShadyTyrant
Thank you very much for your input. Let me elaborate on what I plan on doing with this module. I will perform SQL query's on a SQLite database holding information about books. I will be able to add, remove, and edit information about books in the database. The reason I even thought about nested classes is because I see the search and edit methods as two separate features. Though ...
Thread:  Show this thread (17 posts)   Thread info: Good or bad class design? Size: 765 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Good or bad class design? :: Python :: www.daniweb.com - IT Tech Talk"
Python
Started 5 days, 10 hours ago (2009-11-27 00:00:00)  by Ene Uran
The only one that comes to mind is the Wing IDE from: http://wingide.com/wingide There might be a trial version you can test drive.
Thread:  Show this thread (17 posts)   Thread info: Buying a proffessional editor Size: 364 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Buying a proffessional editor :: Python :: www.daniweb.com - IT Tech Talk"
Python
RE: Scorecard - 15 new posts
Started 1 week ago (2009-11-24 18:00:59)  by Musafir
• • • • Originally Posted by woooee Start by asking the player(s) for a name and store it in a dictionary that will also keep track of their score. Then, open one graphic window that will simply display the name and score of the player(s). Worry about the multiple windows and clicking on each at a latter time. The design will be both easier and better if ...
Thread:  Show this thread (15 posts)   Thread info: Scorecard Size: 1,234 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Scorecard :: Python :: www.daniweb.com - IT Tech Talk"
Python
RE: auto-update? - 11 new posts
Started 1 week, 1 day ago (2009-11-24 05:02:30)  by Paul Thompson
Why dont you just have it that it reads the first line of project1 and that can have a simple string telling you what version it is. Then if there is a newer one replace Have this as the first line: • • • • "12" Help with Code Tags Python Syntax ( Toggle Plain Text ) f = open ( 'proj1.py' ) lineOne = int ( f. readlines ( ) ...
Thread:  Show this thread (11 posts)   Thread info: auto-update? Size: 2,427 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: auto-update? :: Python :: www.daniweb.com - IT Tech Talk"
Python
RE: traffic light? - 11 new posts
Started 4 days, 16 hours ago (2009-11-27 17:42:15)  by masterofpuppets
hi, as Ene Uran mentioned, not sure what GUI toolkit this is but I'll try to help anyway, I think I get the overall idea Just a note: put the import statements in the beginning of the program. It's something like this: Help with Code Tags Python Syntax ( Toggle Plain Text ) import time def trafficLights ( ) : win = GraphWin ( )...
Thread:  Show this thread (11 posts)   Thread info: traffic light? Size: 6,604 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: traffic light? :: Python :: www.daniweb.com - IT Tech Talk"
Python
RE: variables - 9 new posts
Started 4 days, 18 hours ago (2009-11-27 15:40:18)  by lrh9
There are other options as well. Make both functions methods of a class, and use class attributes to store relevant data. Combine both functions into one.
Thread:  Show this thread (9 posts)   Thread info: variables Size: 311 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: variables :: Python :: www.daniweb.com - IT Tech Talk"
Python
Started 1 week, 1 day ago (2009-11-24 06:01:12)  by Archenemie
To be honest when this line is run Help with Code Tags Python Syntax ( Toggle Plain Text ) print ( ( fname, b ) ) print((fname, b)) it shows both fname, and b, exactly how i want them, I.E it shows the names of the files i want to rename, and b shows the thenamed version. for example 'FerrariCar.jpg' 'Car1.jpg' LambourghiniCar.jpg'...
Thread:  Show this thread (8 posts)   Thread info: One last kick in the teeth from my renaming program ='( Size: 1,763 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: One last kick in the teeth from my renaming program ='( :: Python :: www.daniweb.com - IT Tech Talk"
Python
RE: Macro, need help - 8 new posts
Started 1 week ago (2009-11-24 18:00:21)  by ffs82defxp
how do i do that? like this: Help with Code Tags Python Syntax ( Toggle Plain Text ) main ( ) main() ?
Thread:  Show this thread (8 posts)   Thread info: Macro, need help Size: 988 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Macro, need help :: Python :: www.daniweb.com - IT Tech Talk"
Python
Started 4 days, 4 hours ago (2009-11-28 05:39:39)  by NicholasE
Hi, Sorry but i have just realised that it does what i wrote, does not appear correct for some reason. ok Help with Code Tags Python Syntax ( Toggle Plain Text ) for i in range ( 0 , 20 , 1 ) : for j in range ( 1 , i, 1 ) : print j for i in range(0, 20, 1): for j in range(1, i, 1): print j the outcome ...
Thread:  Show this thread (8 posts)   Thread info: about lists in python. Any suggestions? Size: 2,044 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: about lists in python. Any suggestions? :: Python :: www.daniweb.com - IT Tech Talk"