Hi all,
OP here, thanks for all your reply's, all very useful. I'm going to check out a
couple and see what works for the project I have in mind.
Thanks again!
Doug
--
https://mail.python.org/mailman/listinfo/python-list
Hi all,
I'd like to build a web site for myself, essentially a "vanity" web site to
show off whatever web development skills I have, and perhaps do some blogging.
I'm a Python developer, so I'd like to develop the site with the following
stack:
web applications written with Python and Flask, r
Hi all,
I'm trying to write an Twisted program that uses the Application object (and
will run with twistd) and I'd like to parse command line arguments. The Twisted
documentation shows how to use a Twisted thing called usage.Options. However to
me this looks a lot like the older Python module g
Dieter,
Thanks for the response, and you're correct, debugging memory leaks is tough!
So far I haven't had much luck other than determining I have a leak. I've used
objgraph to see that objects are being created that don't seem to get cleaned
up. What I can't figure out so far is why, they are
Hi all,
I've written a program using Twisted that uses SqlAlchemy to access a database
using threads.deferToThread(...) and SqlAlchemy's scoped_session(...). This
program runs for a long time, but leaks memory slowly to the point of needing
to be restarted. I don't know that the SqlAlchemy/thre
Hi all,
I'm modifying a Twisted project and I'd like to implement the txJSON-
RPC code show here: https://launchpad.net/txjsonrpc However, when I
try to install this with this command line:
sudo easy_install txJSON-RPC
I get an error message: error: docs/PRELUDE.txt: No such file or
directory
David,
Thanks for your reply, I'll take a look at pdftohtml and see if it
suits my needs.
Thanks!
Doug
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I've looked around with Google quite a bit, but haven't found anything
like what I'm looking for. Is there a Python library that will extract
images from PDF files? My ultimate goal is to pull the images out, use
the PIL library to reduce the size of the images and rebuild another
PDF file
rs. Perhaps because
it is stateless and doesn't have to re-establish a connection? I'm not
sure, what are your thoughts?
Again, thanks for your help and support,
Doug
On Mar 6, 1:35 pm, Vinay Sajip wrote:
> On Mar 6, 4:09 pm, writeson wrote:
>
> This would appear to indicate that the
Vinay,
Thanks for the quick response, very much appreciated. I tried the two
scripts you pointed to, modifying the client so it produces log
messages in an endless loop, and it worked fine. If I left the client
running and stopped and started the server, the client would reconnect
and messages wou
Hi everyone,
I wrote a logging server that receives messages from
logging.handlers.SocketHandler objects in client Python programs. This
works well so long as the client programs are start/stop affairs.
However, if the client is also a long running daemon a problem shows
up. If the logging server
Guys,
Thanks for your replies, they are helpful. I should have included in
my initial question that I don't have as much control over the program
that writes (pgm-W) as I'd like. Otherwise, the write to a different
filename and then rename solution would work great. There's no way to
tell from the
On Jul 9, 12:04 pm, dp_pearce <[EMAIL PROTECTED]> wrote:
> I have some code that takes data from an Access database and processes
> it into text files for another application. At the moment, I am using
> a number of loops that are pretty slow. I am not a hugely experienced
> python user so I would
Hi all,
I'm writing some code that monitors a directory for the appearance of
files from a workflow. When those files appear I write a command file
to a device that tells the device how to process the file. The
appearance of the command file triggers the device to grab the
original file. My proble
Hi all,
I've been looking at IPython for awhile, but I'm always disappointed
that it comes up in NoColor mode no matter what I try. It is
configured in the ipythonrc file to be 'color Linux'. I've run it from
a Putty terminal window, Konsole and xterm, still no luck. The Putty
window shows color f
Hi all,
I'm running a CentOS 4 server and have installed Python2.5 on there
(it's our development machine) in preparation of moving to Python2.5
everywhere. All looks good with our code and 2.5, except where it
comes to MySQLdb, I can't get that to install on the machine. It
generates a huge lists
Hi everyone,
I'm trying to build a distributed system using the code in the
examples/distributed_computing2 directory of the Pyro un-tarred
distribution. I'm trying to make this generic so one Pyro class can
kick off another on mulit-core/multi-cpu/multi-server systems. What
I'd like to know is th
On Jan 17, 2:45 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
Vinay,
Again, thanks for your very timely help! I was just editing the
handlers.py code, and didn't really understand how that was going to
work, and of course it didn't. I was just about to write to you again,
and voila, you'd already re
Vinay,
Thanks for your reply, very interesting. We're currently running
Python2.3 (though we are getting ready to move to Python2.5), so I'm
guessing the code you're showing comes from Python2.5? I'm wondering
if I can edit the handlers.py code in my Python2.3 installation, make
the changes you sh
Mark,
>
> Check out the traceback module. It can translate the traceback into a
> variety of formats (such as a string) that can be pickled.
>
> --Mark
Thanks for the reply. I was looking at the traceback module and
thinking along the same lines you are. The problem I'm having with
that is how t
Hi all,
On our Linux systems at work I've written a Twisted logging server
that receives log messages from multiple servers/processes to post
them to a log file, essentially serializing all the process log
messages. This works well, that is until I tried this test code:
try:
t = 10 / 0
except
On Dec 27, 2:17 pm, Max Erickson <[EMAIL PROTECTED]> wrote:
> Doug Farrell <[EMAIL PROTECTED]> wrote:
> > Hi all,
>
> > Does anyone know how to extract images from aPDFfile? What I'm
> > looking to do is use pdflib_py to open largePDFfiles on our
> > Linux servers, then use PIL to verify image data
On Dec 27, 10:13 am, writeson <[EMAIL PROTECTED]> wrote:
> On Dec 27, 1:12 am, Carl K <[EMAIL PROTECTED]> wrote:
>
>
>
> > Doug Farrell wrote:
> > > Hi all,
>
> > > Does anyone know how to extract images from aPDFfile? What I'm looking
&
On Dec 27, 1:12 am, Carl K <[EMAIL PROTECTED]> wrote:
> Doug Farrell wrote:
> > Hi all,
>
> > Does anyone know how to extract images from a PDF file? What I'm looking
> > to do is use pdflib_py to open large PDF files on our Linux servers,
> > then use PIL to verify image data. I want to do this in
Hi all,
At work we're using python2.3 and I'd like to start getting us moved
up to python2.5. We run Centos4 which is the free, open source version
of RedHat Enterprise. I've got python2.5 installed on this machine,
but am stuck trying to get mysqldb installed and running on this
machine. I've tri
Irmen,
Thanks, you're very good about answering Pyro related questions!
Thanks again. I posted a more detailed question to the mailing list
describing as best I could how I want to use Pyro and the questions I
have in regards to the system described.
Doug
Irmen de Jong wrote:
> writes
Hi all,
At work I'm considering proposing a solution for our distributed
processing system (a web based shopping cart that feeds an actual
printing production line) based on Pyro. I've done some minor
experiments with this and Pyro looks interesting and like a good
implementation of what I want. I
Frank,
Thanks for the link, that solved the problem for me with FC5! That was
a great help to me!
Doug
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I'm trying to use wxPython from a fairly new installation of Fedora
Core 5. I installed wxPython using yum -y install wxPython and that all
seemed to work fine. However, when I run Python and do this:
import wx
I get this:
Traceback (most recent call last):
File "", line 1, in ?
Fil
Swaroop,
Thanks for the reply, I'll take a look at HarvestMan and see if we can
use it directly, or get some ideas from the source code. :)
Doug
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
We've got an application we wrote in Python called pagecrawler that
generates a list of URL's based on sql queries. It then runs through
this list of URL's 'browsing' one of our staging servers for all those
URL's. We do this to build the site dynamically, but each page
generated by the UR
Steve,
Thanks for your reply, I'll look into things based on your comments.
Also, I've read your book "Python Web Programming" and wanted you to
know it has helped me a lot with various python projects, thanks!
Doug
--
http://mail.python.org/mailman/listinfo/python-list
Duncan,
Thanks for the reply. We are running this on an Apache server on the
linux box, and an iPlanet4.1 server on the solaris machines. However,
both these servers are strictly 'inside' the firewall. I checked the
apache configuration and there is no limitrequestbody parameter in the
file at all
Hi all,
I helped one of my co-workers put together an XMLRPC Python script that
allowed him to get database data from remote machines. This was done
because the source of the data could be Oracle on a Sun/Solaris
machine, and MySQL on our linux machines. Doing the script in Python
allowed him to g
Thanks for the responses, you were both on the right track, I just
didn't provide enough of the right information. I solved the problem by
changing "localhost" in the server code to actually contain the name of
the machine, the same as it appears in our DNS. This enabled the client
to connect to th
Hi,
I tried the xmlrpclib examples from the Python Cookbook and had a
problem. The example works fine so long as the server and client are on
the same machine. But as soon as I try to run the client from another
machine (all linux machines on the same network) I get a socket.error
111, connection r
36 matches
Mail list logo