Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~8K People Reached

18 Posted Topics

Member Avatar for poeticinsanity

I am coding a web spider for research purposes and have run into an error I am uncertain about. I am fairly new to web programming and need a bit of guidance. I use http.client to get a connection, request a site, get the response, and read the resonse into …

Member Avatar for TrinitronX
0
362
Member Avatar for poeticinsanity

So I feel rather foolish for this, but I haven't used command line often. I'm using sys.argv to gather arguments from the command line. I'm saving one in particular to a variable called test. It is suppose to be a boolean; however, passing in True or False still renders if(test): …

Member Avatar for poeticinsanity
0
6K
Member Avatar for poeticinsanity

I am attempting to encode using a module called Beautiful Soup. All I need some direction on solving the problem. The encoding maps to <undefined>, so the unicode is not defined within the charmap. The error I get is: UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-34: character maps …

0
67
Member Avatar for poeticinsanity

I'm running a portion of code in a loop. It accesses a global variable only to print it, and that variable is never changed after it is set in the __init__. However, the first print statement occasionally will fail, but the second one does not. Any ideas as to why …

Member Avatar for vegaseat
0
119
Member Avatar for poeticinsanity

I am using mySQL to develop a database collected from internet sources. Python is used for the spider coding, but I'm having issues with the mySQL portion. I'm pretty new to mySQL, so I'm a bit lost. I need a way to lock a single row of a table and …

Member Avatar for poeticinsanity
0
112
Member Avatar for Shraddha Kiran

If you use the HTMLParser class provided in python's HTMLParser module. You can use it to create method's that parse through the tags to find certain tags and links and whatnot. That might help. If that doesn't you can also use the re module provided with python to search for …

Member Avatar for Shraddha Kiran
0
170
Member Avatar for poeticinsanity

I'm attempting to search a string for a certain sequence. I have not done anything with re, and it is... a bit confusing. I'm looking for this string: <div class="indexcenter"> (there's a portion of text here using newlines and characters) <!-- end indexcenter --> I am thinking something alone these …

Member Avatar for poeticinsanity
0
107
Member Avatar for poeticinsanity

I'm having a simple problem. I'm using this class to do some stuff with another module. Now, for some reason the self.database and other variables are not able to be accessed by the other methods. I thought _init_ was suppose to work as a constructor, thus the other methods should …

Member Avatar for poeticinsanity
0
101
Member Avatar for poeticinsanity

I'm using HTMLParser to find some thing among this page given below. The link i'm looking to find and follow is in red. I'm using the code, also provided below to find this link, but it isn't seeming to find it at all. The portion of code that isn't working …

0
62
Member Avatar for poeticinsanity

When I use the external module that runs the same code (line commented out) the program terminates. However, when I run the code inside the current module, the program seems to work just fine. Anyone tell me where I'm going wrong? I'd like to be able to use the utilities …

Member Avatar for poeticinsanity
0
99
Member Avatar for redZERO

Depends, if you mean taking certain elements from images and putting them together in one image, you'll have to find a way to isolate the pixels needed from the images and transfer the pixels over into the other image. You'll also have to take image size into account with this …

Member Avatar for redZERO
0
379
Member Avatar for brandongood

It would help if you could someone make those error lines stand out a bit. Maybe a highlight or a comment or something. Do that, and I'll give it another look over.

Member Avatar for poeticinsanity
0
218
Member Avatar for poeticinsanity

When the .request method is called, an error is happening. The page does exist, but for some reason the request is failing. Any idea as to why? [CODE]''' Created on May 29, 2009 @author: snorris4 This program will spider the repo.or.cz site for information on their open source projects, gathering …

0
56
Member Avatar for billymcguffin

A quick search found this [URL="http://pymedia.org/tut/"]site[/URL] that provides a python module and tutorials for handling and manipulating media files. It might be of some help.

Member Avatar for vegaseat
0
90
Member Avatar for lickettysplit

First off, using the module [URL="http://sourceforge.net/projects/mysql-python"]MySQLdb[/URL] will help you access databases and whatnot (if your teacher will allow you to use a seperate module for that, if not, look at the code in the module to figure out your own coding for it.) Other than that, I'm not exactly sure …

Member Avatar for poeticinsanity
0
124
Member Avatar for poeticinsanity

I'm new to the forum and to web programming. I appreciate all the help thus far, and I have a couple more questions. 1. What is the purpose of HTTPconnection object? If i can get a page simply using an HTTPresponse object formed from .request("GET",URL) call? What is the difference …

0
70
Member Avatar for poeticinsanity

I am coding a web spider for research purposes and have run into an error I am uncertain about. I am fairly new to web programming and need a bit of guidance. I use http.client to get a connection, request a site, get the response, and read the resonse into …

Member Avatar for poeticinsanity
0
234
Member Avatar for poeticinsanity

I am coding a web spider for research purposes and have run into an error I am uncertain about. I am fairly new to web programming and need a bit of guidance. I use http.client to get a connection, request a site, get the response, and read the resonse into …

Member Avatar for scru
0
78

The End.