Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~880 People Reached
Favorite Forums

5 Posted Topics

Member Avatar for spiricn

So I've been writing this application that works with files , and I wanted to add a list of recently opened files in the "File" menu and I came across a weird bug .. Here's the sample code .. [code] for path in recentFilesList: item = wx.MenuItem(menu, wx.NewId(), path) self.Bind(wx.EVT_MENU, …

Member Avatar for loading...
0
194
Member Avatar for Sauronevileye

Well you could always do something like this .. [code] def ListFolders(YOUR_PATH): for path i os.listdir( YOUR_PATH ): if not os.path.isfile( os.path.join( YOUR_PATH, path) ): yield path [/code] That would get you a list of folders , without the files .. Not really sure if that's what you wanted tho …

Member Avatar for Sauronevileye
0
183
Member Avatar for spiricn

So I've started programming in assembler recently (college course) , and of course they are making us use ubuntu and DDD debugger for debugging .. So I was wondering , is it possible to set up DDD on Windows ? I've tried googling but came up with nothing so far …

0
58
Member Avatar for camigirl4k3

[code]def findLargest(L): largest = L[0] for x in L[1:]: if x > largest: largest = x return largest def findSmallest(L): smallest = L[0] for x in L[1:]: if x < smallest: smallest = x return smallest def findAverage(L): sum = 0.0 for x in L: sum += x return sum/len(L) …

Member Avatar for spiricn
1
257
Member Avatar for spiricn

Ok first of all I'd like you guys to know this is like my first thread ever so go easy on me if I'm not doing something right :P Right then , so I've been programming in python for some time now and I love pretty much everything about this …

Member Avatar for spiricn
0
188

The End.