KeyboardInterrupt close failed in file object destructor: sys.excepthook is missing lost sys.stderr

2013-11-19 Thread Jai
Code # #!/usr/bin/env python import sys, re def find_position(line): pun = "" if re.search(r"[.?!]+", line): pun = re.search(r"[.?!]+", line).group() pos = line.find(pun) pos = pos+len(pun)-1 return pos def sentence_splitter(f

ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'S SIZE 11.5 NEW IN BOX', '$49.99')' at

2013-12-09 Thread Jai
from BeautifulSoup import BeautifulSoup import re, urllib2, MySQLdb #MySQLdb.escape_string(" ") import sys import unicodedata if __name__=="__main__": #link = raw_input("Enter the url link: ") db = MySQLdb.connect("localhost","root","", "ebay") cursor=db.cursor() link = "http://w

please guide to make proxy type function in python

2013-12-11 Thread Jai
please guide to make proxy type function in python -- https://mail.python.org/mailman/listinfo/python-list

want to run proxy in python

2013-12-13 Thread Jai
hey , will u guide me how to run proxies from python i have tested lots of code but my ip show always constant on when i see it online plz help . -- https://mail.python.org/mailman/listinfo/python-list

TypeError: not all arguments converted during string formatting

2013-12-13 Thread Jai
my code : #!/usr/bin/env python from bs4 import BeautifulSoup import re,urllib2,urlparse, MySQLdb def get_domain(url): return urlparse.urlparse(url).netloc def men_tshirts2(main_link, cat_link,db,cursor): #print main_link for cat,link in cat_link.iteritems(): cat = str(cat

GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-14 Thread Jai
GUI:-want to learn GUI programming in python , how should i proceed. There are lots of book here so I am confuse which book i should refer so that i don't waste time . please answer -- https://mail.python.org/mailman/listinfo/python-list

Re: GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-14 Thread Jai
thank you sir -- https://mail.python.org/mailman/listinfo/python-list

Want guidance to set proxy please help

2013-12-15 Thread Jai
hey i am working on parsing like project . so , i need some step to set proxy so that my ip is not blocked by them += i am using this method proxy_support = urllib2.ProxyHandler({"http":"http://61.147.82.87:8000"}) opener = urllib2.build_opener(proxy_support) u

CAPTCHA HANDLING IN MECHANIZE

2013-12-18 Thread Jai
HEY , I AM NEW TO THE PYTHON STARTED WORKING ON MECHANIZE , WANT HELP THAT TO HOW TO FILL A FORM HAVING CAPTCHA FIELD AUTOMATIC PLEASE ANSWER -- https://mail.python.org/mailman/listinfo/python-list

HOW TO HANDLE CAPTCHA WHILE PARSING A WEB SITE

2013-12-18 Thread Jai
RIGHT NOW NOW I AM WORKING WITH MECHANIZE MODULE . BUT UNABLE TO SUBMIT CAPTACHA AUTOMATICALLY . DO U HAVE ANY IDEA PLEASE SHARE WITH ME , ANY IDEA WILL BE APPRECIATES ON ANY M MODULE. -- https://mail.python.org/mailman/listinfo/python-list

how to handle captcha through machanize module or any module

2013-12-18 Thread Jai
please do replay how to handle captcha through machanize module -- https://mail.python.org/mailman/listinfo/python-list

Re: how to handle captcha through machanize module or any module

2013-12-18 Thread Jai
#/usr/bin/env python import mechanize, re import cookielib import cgi import urllib2 from random import choice def get_domain(url): return urlparse.urlparse(url).netloc if __name__=="__main__": br = mechanize.Browser() cj = cookielib.LWPCookieJar() br.set_proxies({"http": "217.174

Re: HOW TO HANDLE CAPTCHA WHILE PARSING A WEB SITE

2013-12-18 Thread Jai
sorry sir, it will not happen again in future. -- https://mail.python.org/mailman/listinfo/python-list

Re: HOW TO HANDLE CAPTCHA WHILE PARSING A WEB SITE

2013-12-18 Thread Jai
sorry sir , it will not happen in future -- https://mail.python.org/mailman/listinfo/python-list

Re: CAPTCHA HANDLING IN MECHANIZE

2013-12-18 Thread Jai
it will not happen in future -- https://mail.python.org/mailman/listinfo/python-list

python querry on firebug extention

2014-01-11 Thread Jai
hello i am working on selenium module of python, i know how to make extension of firebug with selenium, but i want to know how to use firebug extension with request module / mechanize . i search a lot but unable to find it , please help . technique similar like :- from selenium impo

Re: How to install googleapp engine on ubuntu 12.04 already downloads google_appengine_1.8.2.zip

2013-08-01 Thread Jai
got answer downloaded google_appengine_1.8.2.zip unziped it command path-to-/dev_appserver.py path-to/application-diectory that it -- http://mail.python.org/mailman/listinfo/python-list

requesting you all to please guide me , which tutorials is best to learn redis database

2015-02-26 Thread Jai
hello all, i want to learn redis database and its use via python , please guide me which tutorials i should be study, so that i can learn it in good way I search this on google but i am little confuse, so please help me thank you jai -- https://mail.python.org/mailman/listinfo/python

Problem with PEXPECT in Python

2007-10-23 Thread jai simhan
import sys,os import pexpect source_file= 'sourcefile.txt' user='username' ip='00.00.00.00' desti_path='/home/jai/………' password='bond007' cmd ='scp'+' '+source_file+' '+user+'@'+ip+':'+des

python query on firebug extention

2014-01-12 Thread JAI PRAKASH SINGH
hello i am working on selenium module of python, i know how to make extension of firebug with selenium, but i want to know how to use firebug extension with request module / mechanize . i search a lot but unable to find it , please help . i want technique similar like :- from seleniu