Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~11.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for fugmag

Hi, I have set up pydev in eclipse from the download site, but when I try to add a new pydev project I get the following error i the new-project wizard: [CODE] .project found in C:\workspace(use import project) [/CODE] But I have no project called that in my workspace. I …

Member Avatar for fugmag
0
70
Member Avatar for CharlieNewey

Hi there, I have a set of coordinates (data points) that I want to use Python3 to fit an exponential decay curve to. I've used this resource [URL="http://mathworld.wolfram.com/LeastSquaresFittingExponential.html"]here[/URL] as a base for building my program. The problem is, no matter what the x-value I put in is, the y-value ALWAYS …

Member Avatar for CharlieNewey
0
680
Member Avatar for mece

I wrote a GUI tool that will display stats and refresh the stats when a refresh button is pushed. Now I would like to add a feature for the stats to auto refresh every five minutes. Is it possible to have the UI updated without binding an event handler? Thanks …

Member Avatar for mece
0
2K
Member Avatar for FAITH2011

[B][COLOR="Red"][B]Hi folk, I fairly new to Python 2.7 and Python 3 and like to find out how I would get a print to appear in the middle of the output screen without putting in a load of spaces into a print statement. Please keep it simple for me. Thanks for …

Member Avatar for FAITH2011
0
161
Member Avatar for jludeman

This is not a real program but a feasibility test. The purpose is to: 1. create a bunch of bitmapbuttons on a scrolling window from the contents of an image directory. 2. When the user clicks on their favorite button something should happen. The nice part is that 1 is …

Member Avatar for jludeman
0
267
Member Avatar for M3M69

i have this code that reads a file and strips out all the non essential stuff and then i want to make a dictionary for the actors and films they have been in .. i do that but it keeps on telling me that actors isnt defined ... how am …

Member Avatar for winmic
0
86
Member Avatar for winmic

Is there any way to set the maximum size of a ListBox (by pixels)? I know that there is a SetMaxSize but it is not enforced.

Member Avatar for phunehehe
0
700
Member Avatar for moonlite25

I have this code: def rollBox(length, numDivisions, count): Angle = 90/numDivisions if count == 0: return elif numDivisions == 0: rollBox(length, numDivisions, count - 1) else: square(length) turtle.right(Angle) rollBox(length, numDivisions - 1, count) Is there any way to still decrease the 'numDivisions' parameter to zero while still keeping its original …

Member Avatar for TrustyTony
0
75
Member Avatar for Kruptein

I'm working on an add-on system, which is till now going pretty good. no I need to assign an id to a menu item, but I don't know which are all in use (by other addons f.e.) so is there a way to either: -get a random integer that isn't …

Member Avatar for Kruptein
0
139
Member Avatar for soUPERMan

I have this code: [CODE]class Member: def __init__(self, name, typeOM, fee, yearJoin): self.name = name self.typeOM = typeOM self.fee = float(fee) self.yearJoin = yearJoin # Reader Methods def getName(self): return self.name def getTypeOM(self): return self.typeOM def getFee(self): return self.fee def getYearJoin(self): return self.yearJoin def getMemberTypeString(self): if self.typeOM == 'P' or …

Member Avatar for soUPERMan
0
113
Member Avatar for baskar007

hi friends, I am building a small web application for linux in python lang. I am using httplib for the web interface. and currently i using the following exceptions in httplib. [QUOTE] httplib.HTTPException socket.error socket.herror socket.gaierror socket.timeout [/QUOTE] so i need error codes and descriptions for the exceptions. I have …

Member Avatar for baskar007
0
148
Member Avatar for nizbit

I have a dictionary that I would like to load from a file into a class variable. The dictionary holds configuration data. I would have different files for different configurations. I was wondering if there is a way to do this? I found pickle but that saves an existing instance …

Member Avatar for winmic
0
88
Member Avatar for sravan953

Hey guys, I have made a small program called 'Py-mailer' which allows you to login with your Gmail credentials and send text-only messages to anyone. I uploaded it on SourceForge( [url]http://www.tinyurl.com/m4ans4[/url]). The next step I had to take was to make a GUI for it. So, I started with wxPython: …

Member Avatar for vegaseat
-1
3K
Member Avatar for sravan953

Hey guys, I was just making a tiny program, where I need the user to enter numbers. My question is, how do get numbers? I tried: [code='python'] self.panel=wx.Panel(None,-1) self.n=wx.TextCtrl(self.panel,-1,"Number") self.get=int(self.n.GetValue()) [/code] -but that didn't work... so how do I do it?

Member Avatar for snippsat
0
663
Member Avatar for saikeraku

Hi, the program is this: Discount problem: Available deals: 10% off the total price when you buy $200 or more 15% off the total price when you buy $500 or more 20% off the total price when you buy $1000 or more Write a program that outputs the value, price …

Member Avatar for masterofpuppets
-1
147
Member Avatar for tweak

I'm trying to figure out how to create a custom dialog I can get the dialog to pop up when I click on the corresponding menu item but I cannot figure out how to add buttons, static text ect... Any help would be great. [CODE] def OnAdd(db): dia = wx.Dialog(None, …

Member Avatar for winmic
0
93
Member Avatar for Stefano Mtangoo

Hi, I want to track changes done to wxListCtrl as user Updates it (via my custom dialog of course). I will be querying and saving updates from and to database. the problem I have in thinking how to track changes and enable/disable save button as well as update the database …

Member Avatar for Stefano Mtangoo
0
101
Member Avatar for akindo

Hi guys, I am trying to use the Python logging API to log only to a file. The code below logs to only a file if I have it at the beginning of my class, right beneath the "class ..." line. If, however, I put it inside a method, it …

Member Avatar for akindo
0
3K
Member Avatar for sravan953

Hey guys, I wanted to make a program which keeps asking you questions, and continues on and on based on your answers... So basically, I wanted to know whether the user has typed 'why' in the first input, so I tried: [CODE]s=raw_input("Are you feeling bored?\n") s1=[s] a=0 for x in …

Member Avatar for zachabesh
0
94
Member Avatar for winmic

Hey all, I just recently got into wxpython for my job and I ran into a snag. When print previewing (using the demo code) there seems to be an insane amount of pages, yet only a few of them are viewable. So my questions are: 1) Why is there an …

Member Avatar for vegaseat
0
98