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
Ranked #2K
~11.9K People Reached
Favorite Forums
Member Avatar for inuasha

alright so my exact problem is that when I attempt to visit a url stored in a text file I get the error "URLError: <urlopen error no host given>" This is strange because if I type in the urls myself they work fine(opener.open("site.com")) The lines of code causing the error …

Member Avatar for snippsat
0
273
Member Avatar for Trak

Hi :) i'm kind of new to this site and everytime I read a thread someone else makes i don't understand what anyone is saying.... :sad: well anyways, please help me python pros. I have been on my very first exercise of "Learn Pyhton the Hard Way" since two weeks …

Member Avatar for brikbrat
0
588
Member Avatar for puddlejumper406

I've been working on this code all night and i can't seen to find out how to do the math i think it needs a loop of some kind on line 17 and 18 also it wont print out the avg mpg please help def main(): 1 print("This program calculates …

Member Avatar for woooee
0
309
Member Avatar for inuasha

Alright so I was not sure exactly how to say this, but here is the idea. I have a graph or table I guess you could call that looks like this. [CODE] print ''' ----------------------------- | | | |x | | | |----------------------------- ''' [/CODE] Then I want to make …

Member Avatar for Gribouillis
0
214
Member Avatar for dineshswamy

[CODE] a = input("enter the string") print "%s dinesh" %l m=re.match(r'(.*)(\.*)',l,re.I) print m.group() print m.group(2) [/CODE] i m getting the following error ,when i give input [CODE] Traceback (most recent call last): File "regularexp.py", line 1, in <module> a = input("enter the string") File "<string>", line 1, in <module> NameError: …

Member Avatar for dineshswamy
0
131
Member Avatar for kavithabhaskar

I am looking at a source code There is a class called A and it has a parameter in its _init_ function called. Class A self.id = id There is another class called B and has a parameter in its __init__ function called Class B self.ide = ide There's an …

Member Avatar for inuasha
0
115
Member Avatar for inuasha

I want to be able to generate my own random numbers without using the random module. I want to do this that way I can learn somewhat how to do the big boy code on my own.

Member Avatar for snippsat
0
2K
Member Avatar for chris99

I'm using windows 7, hoping to use Tkinter to open an internet window when a button is clicked that goes to a specific page in google chrome. Is this possible? [CODE]class App: def __init__(self, master): frame = Frame(master) frame.pack() self.button = Button(frame, text="Rejuvenation", command=self.info) self.button.pack() def info(self): pass #Will go …

Member Avatar for inuasha
0
262
Member Avatar for inuasha

How would I find the amount of characters in a string and then use that to print a certain amount of some character that you choose. For example: [CODE=Python] a = 'string' # this holds 6 characters print '*' * # amount of characters in string [/CODE]

Member Avatar for inuasha
0
241
Member Avatar for Cap.Alvez

Hi everyone! I would like to know if python is any good for creating apps for cellphones .. like Iphone,Blackberry.. or even for Ipods? Ive been researching on this matter but I never got a good answer.. haha Thanks in advance! :)

Member Avatar for M.S.
0
192
Member Avatar for inuasha

The title really says it all. For example if I had a music file and I wanted to have it play all the way through then how would I make it start another music file after the first is done?

Member Avatar for inuasha
0
212
Member Avatar for monica23

Good day expert, am trying to direct user to a web page if login is okay in python but does not work [CODE] if username==okay and password == okay: # direct to success_page.py print "Location: success_page.py\r\n"; else: direct to errorpage.py [/CODE] the code does not work as the web page …

Member Avatar for inuasha
0
224
Member Avatar for bond00

I've looked everywhere and I'm sorry if I'm missing the obvious, but I'm irritated out of my mind trying to find this solution. All I want to do is start an application with arguments in a new window (cmd.exe or linux terminal). I don't care about piping the data from …

Member Avatar for inuasha
0
6K
Member Avatar for p_sbk

Hi, I am new to python world ! Requirement is to automate plashing process. I need to run few ommand from command line (cmd) on window. - open cmd - execute command1 - execute command2 could you help me to develop script to automate this process ? Br, sbk

Member Avatar for inuasha
0
144
Member Avatar for monica23

Good day everyone, I need to print data using if-elif statement. I when I run this code like this, everything went well [CODE] if row['username'] == 'mutago': print " okay" sys.exit(0) else: print "wrong" [/CODE] OKAY now i want to include elseif statement to print another data but it returns …

Member Avatar for woooee
0
231
Member Avatar for mkbear

Hey so Im a beginner, and I need some help. My professor gave us this code: def average(list): total = 0.0 for number in list: total += number return total / len(list) Then, he asked us to rewrite that program so that it uses a while loop instead. So far …

Member Avatar for inuasha
0
207