Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
~6K People Reached
Favorite Tags
Member Avatar for SuperMetroid

The html code of the form, and my code are below. I can't get the value to post/submit. Can anyone help? HTML Code of Form: [code]<form method='post' autocomplete='off'> <input type='hidden' name='action' value='grant-revoke' /> <input type='hidden' name='creator_badge_index' value='1' /> <input type='hidden' name='token' value='92dcd92a8bc16f73f330d118ae1ed891' /> <input type='hidden' name='do-grant' value='1' /> <div id='grant-div'><span …

Member Avatar for SuperMetroid
0
170
Member Avatar for SuperMetroid

I'm compiling an extremely large list of usernames, and I want to know which is a faster method of checking what is already in the list. If anyone can give some insight as to how Python deals with each that would be much appreciated!

Member Avatar for vegaseat
-1
4K
Member Avatar for SuperMetroid

Here is the code I have so far: [code]import re from urllib.request import urlopen pg = urlopen('http://www.url.com') pg_r = pg.read() pg.close() print(pg_r) print(re.search('(?<=http://user.url.com/)\w+', pg_r))[/code] What I *want* to do with re.search is find the word between the strings '[color=#0080FF]http://user.url.com/[/color]' and '[color=#0080FF]"[/color]' but I'm not sure how to do that.. Can …

Member Avatar for Ene Uran
0
128
Member Avatar for tomtetlaw

I know that I certainly wont, I'm a Mac/Linux/any other non-microsoft system supporter.

Member Avatar for kaninelupus
0
602
Member Avatar for SuperMetroid

Why don't either of these implementations actually write to the file? Code v1: [CODE] txtfile = open('C:/Python31/SKUs.txt', 'w') with txtfile: num = 817 while num <= 820: x = "G" + str(num) print(str(x), end=" ") num += 1 txtfile.close()[/CODE] Code v2: [CODE]txtfile = open('C:/Python31/SKUs.txt', 'w') num = 817 while num …

Member Avatar for SuperMetroid
0
151
Member Avatar for SuperMetroid

Sigh. This error keeps appearing, and never ceasing -- ever: [CODE] *** Unrecoverable, server exiting! ---------------------------------------- ---------------------------------------- ================================ RESTART ================================ >>> Unhandled server exception! Thread: SockThread Client Address: ('127.0.0.1', 4323) Request: <socket.socket object, fd=1856, family=2, type=1, proto=0> Traceback (most recent call last): File "C:\Python31\lib\socketserver.py", line 281, in _handle_request_noblock self.process_request(request, client_address) …

Member Avatar for SuperMetroid
0
374
Member Avatar for SuperMetroid

When I try to run the game it freezes and I get an error. the Code: [code] bif = "bg.jpg" mif = "ball.png" import pygame, sys from pygame.locals import * pygame.init() screen = pygame.display.set_mode((800, 600), 0, 32) background = pygame.image.load(bif).covert() mouse_c = pygame.image.load(mif).covert_alpha() while True: for event in pygame.event.get(): if …

Member Avatar for fallopiano
0
1K