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
Favorite Forums
Favorite Tags
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
340
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
5K
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
60
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
100
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
104
Member Avatar for Shraddha Kiran

hey people i wud really really appreciate a hand here ohk dis is my task i have been given a bunch of urls to webpages containing blog posts i need to extract the authorname,date,content of blogpost and meta data and put it into a database. Here is wat i thought …

Member Avatar for Shraddha Kiran
0
141
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
93
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
86
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
55
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
81
Member Avatar for redZERO

Hi guys, I want to paint multiple layers of images onto one image. I'm going to be using BufferedImage for this. How would I go about painting these multiple images onto one (in essence creating a new image. sort of like a collage)? Would i get the graphics context and …

Member Avatar for redZERO
0
360
Member Avatar for brandongood

Hello, I am getting the following errors: unexpected type line 433 operator + cannot be applied to <any>,double line 433 operator + cannot be applied to <nulltype>,double line 433 incompatible types line 433 unexpected type line 441 In the below file. I know its probably something simple, but could use …

Member Avatar for poeticinsanity
0
200
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
51
Member Avatar for billymcguffin

I was wondering if it is possible to convert audio files with python. like wma to mp3. thanks!

Member Avatar for vegaseat
0
80
Member Avatar for lickettysplit

hi ive got a school assignment where i need to access data in a MySQL table, use style formatting and output it in a HTML file. Additionally, there is a frequency column that I need to use to create the style. The more frequent it is the larger the font …

Member Avatar for poeticinsanity
0
111
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
61
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
215
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
71