No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Problem 4 – makeScarf(scarf) Let’s knit a scarf! With Python today we are knitting recursively. Your main program should be contained in a recursive function called makeScarf() which takes a string: your scarf that will be printed out in the end. You may use other helper functions as needed, but … |
|
Re:
Hello, I'm trying to make a web bot that fills out a login form from this at&t site [url]http://www.viewmymessage.com/en/legacy/login.jsp[/url] I cannot seem to get it to work though here is my code: import urllib import urllib2 url = 'http://www.viewmymessage.com/en/legacy/login.jsp' user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' values = {'messageId' … |
|
Am trying out the eric ide for python Am not sure how to enable the "." function in the editor i.e when i do >>> import os >>> os. It must list me the contents that can be used against the os module I tried the autocomplete calluptips nothing worked … |
|
Re:
I have a function when I use it outside the class as a function it works perfectly but when I want to use I as a method in a class I get a TypeError massage : [COLOR="Red"]Traceback (most recent call last): File "H:\python\prototyp_01.py", line 122, in <module> manupacians.koor(z) File "H:\python\prototyp_01.py", … |
|
I have pygame v 1.8.0 installed but it is without the font and video module support how do i have to enable it or from where do i have to get it |
|
Re:
Hi all, I tried to write in a fibonacci sequence using python: [ICODE] unum = int(raw_input('Enter Limit Number to run Fibonacci sequence: ')) numlist = [1,1] for i in range(unum): fib2 = numlist[i+1] + numlist[i] numlist.append(fib2) print "Here's Fibonacci!" for w in numlist: print w, [/ICODE] This works fine. But … |