Django error tracebacks019 (2/27/2013 5:31:16 PM) comp.lang.python I've been developing in Django for a while now and I often find that when
there is an exception in a view I'm working on, the error traceback screen
does not show the actual error; instead it claims the error... John
Terminal line wrapping and cut/paste429 (9/11/2012 7:19:49 PM) comp.unix.questions I use the PuTTY terminal software to access several different unix host
machines. I've noticed that on some machines, when I select a line of
text that has wrapped and then paste it into another window, it w... John
Best way to disconnect from ldap?1239 (3/21/2012 7:30:16 PM) comp.lang.python I'm writing an application that interacts with ldap, and I'm looking for advice on how to handle the connection. Specifically, how to close the ldap connection when the application is done. I wrote a class to... John
How can I catch misnamed variables?628 (2/10/2012 9:06:58 PM) comp.lang.python Recently I was been bitten by some stupid errors in my code, and I'm wondering if there's a simple way to catch them. One error was of the form: my_object.some_function() ... when I hadn't declared an obje... John
Benefits of xml.dom.minidom?138 (10/20/2011 5:46:31 PM) comp.lang.python I recently inherited some code that uses xml.dom.minidom to build a large XML document, and I noticed that it is quite slow and uses a ton of memory. I converted the same code to use lxml.etree and it is much ... John
Data issues with Django and Apache328 (8/14/2011 2:20:30 AM) comp.lang.python I'm devleoping a website using the Django framework along with Apache, and I'm seeing some odd data issues. During the course of navigating through the website content, a user will cause the creation of some d... John
Repeated output when logging exceptions627 (9/24/2009 7:43:14 PM) comp.lang.python I wrote some code to handle and log exceptions in my application. It works well, but it produces double output for each exception. How can I fix this? Here's the pared-down code: ----- main.py import exceptio... John
VERY BASIC HELP66 (9/30/2013 4:55:43 PM) comp.lang.python c=int(raw_input("How many numbers do you want to work? (Min. 2 Max. 3)"))
x=int(raw_input("Enter the first number to be worked"))
y=int(raw_input("Enter the second number to be worked"))
Do I really need a web framework?46 (9/30/2013 7:57:08 PM) comp.lang.python I want to set up a very simple website, and I need to know if it is necessary to use a web framework (e.g. Django) to do basic interactive operations such as receiving input from the user, looking up a database... dufriz(8)
Screenshots in Mac OS X144 (10/19/2013 10:12:23 PM) comp.lang.python Hi Guys,
How are you all doing?
I am in need of your help.
I am stuck in a problem.
I want to write my own Screenshot Taking program in Python for Mac OS X.
Example : Whenever Comm... pratik.mehta13390(9)
Help me with this code PLEASE296 (11/5/2013 5:06:25 PM) comp.lang.python ======================================
# fetch those columns that act as lists but are stored as strings
cur.execute('''SELECT refs, visits, downloads FROM visitors WHERE
counterID = %s and host = %s'''... nikos.gr33k(972)