Re: crash while using PyCharm / Python3

2016-03-22 Thread Jonathan N. Little
Adam wrote: Thanks, but why fix if it ain't broke?:-) No reason to. -- Take care, Jonathan --- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com -- https://mail.python.org/mailman/listinfo/python-list

Re: crash while using PyCharm / Python3

2016-03-21 Thread Jonathan N. Little
" sdb1 "14.04-root" sdb5 "new-home" So from a live session when I mount both drives it is easy to keep things straight when I copy my profiles from old drive on sda to new drive with newer version of Ubuntu on sdb... -- Take care, Jonathan ---

Re: crash while using PyCharm / Python3

2016-03-21 Thread Jonathan N. Little
Adam wrote: "Adam" wrote in message news:ncprqb$tl9$1...@news.albasani.net... "Jonathan N. Little" wrote in message news:ncpjj0$7ug$1...@dont-email.me... Adam wrote: There ought to be a way to just reinstall the graphics subsystem rather than an all-or-none installation

Re: crash while using PyCharm / Python3

2016-03-21 Thread Jonathan N. Little
lem:_Need_to_purge_-fglrx> -- Take care, Jonathan --- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Hooking any/all 'calls'

2006-12-28 Thread Kevin Little
Thanks, Robert! That was exactly what I was looking for. -k "fumanchu" <[EMAIL PROTECTED]> wrote: >Kevin Little wrote: >> In Python 2.4 or 2.5, what is the easiest way to hook any and all >> callables such that designated code is executed at the very start and

Hooking any/all 'calls'

2006-12-27 Thread Kevin Little
In Python 2.4 or 2.5, what is the easiest way to hook any and all callables such that designated code is executed at the very start and end of each call? (Yes, I'm trying to come up with a little debugging tool!:) Is there a single metaclass who's "__call__" method can be wrap

ftplib errors/exceptions

2006-07-30 Thread Matthew Little
I'm new to Python and I am writing a simple FTP client.  I am having trouble handling errors like connection refused, invalid username or password, and the like.  I can use a try exception block like thistry:  ftp=FTP('some_server')   ftp.login()  # more linesexcept:  print "An error has occured.\n

ADD HTML to the code

2005-12-04 Thread Little
Could someone tell me how to add some HTML tags to this program. I want to be able to change the background color, add some headers, and put a table below the map that will be displayed. Could someone please tell me how to add this to the current program. Thanks in advance. Red.py """ Publisher e

Putting in an html table

2005-12-04 Thread Little
Could someone start me on putting in a table into this code, and some HTML tags. I would to make the table below the map and have a header at the top. Thanks for the help. """ Publisher example """ def query(req, building=""): # NOTE: best way to understand this is to see the output, #

Re: mod_python

2005-11-05 Thread Little
I have created the following database but the following errors occur when trying to execute the code. html source: Click here to display information from Chocolate menu: Press to view the display Please provide data for chocolate to be added: Name:

mod_python

2005-11-05 Thread Little
I can't figure out how to build this type of program using the publisher handler. I have the following connected to the program SetHandler python-program PythonHandler mod_python.publisher PythonDebug On But what I would like to do would be have a german word as the parameter in the HTTP request a

Re: HELP!! Accessing other machines with an IIS CGI script

2005-09-15 Thread little emma
Thanks for the info. I'm going to repost this in comp.lang.python as well as in a couple of MS IIS groups with some additional information (code snippets and results). Paul "Roger Upole" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Without knowing what operation fails, it's kind

Re: Adding bound methods dynamically... CORRECTED

2005-08-30 Thread Kevin Little
#!/usr/bin/env python # Sorry... :} cut/paste error fixed... ''' I want to dynamically add or replace bound methods in a class. I want the modifications to be immediately effective across all instances, whether created before or after the class was modified. I need this to work for both old ('c

Adding bound methods dynamically...

2005-08-30 Thread Kevin Little
#!/usr/bin/env python ''' I want to dynamically add or replace bound methods in a class. I want the modifications to be immediately effective across all instances, whether created before or after the class was modified. I need this to work for both old ('classic') and new style classes, at both

Re: Python or PHP?

2005-04-28 Thread Alan Little
Steve Holden <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > John Bokma wrote: > > Alan Little wrote: > > > > > >>Steve Holden <[EMAIL PROTECTED]> wrote: > >> > >> > >>>Your statement then become

Re: Python or PHP?

2005-04-25 Thread Alan Little
Steve Holden <[EMAIL PROTECTED]> wrote: >Your statement then becomes > >select * from foo where bar=1; drop table foo > >which is clearly not such a good idea. I'm sure Steve is very well aware of this and was just providing a simple and obvious example, nevertheless it might be worth pointing ou

xmlrpclib with technorati

2004-12-15 Thread Alan Little
I'm trying to write a generic weblog update notifier using xmlrpclib, starting with technorati. What I want to do is something like this : XML config file that would look like this: http://mail.python.org/mailman/listinfo/python-list