[Pdx-pm] help with archivemail (python) ??
john at digitalmx.com
Sat Feb 10 14:26:41 PST 2007
On Feb 10, 2007, at 12:56 AM, Eric Wilhelm wrote:
> Only if you're giving a talk on Inline::Python in the next 4
> months. If
> you're calling it from a system call, you better use a list context
> check the return value or else you have to buy the beer :-D
It's @result=system($command); #whew! escaped that one.
> "If you only know how to use a hammer, every problem begins to look
> a nail."
> --Richard B. Johnson
That would be me. But it beats only having a pencil. or a python.
On Feb 10, 2007, at 12:17 AM, Amy Farrell wrote:
> I've been working with python somewhat the last few months. I guess
> you could say I know squat now, but it's still mostly Google for
> me. To wit:
>> import tempfile (seems to be a python module.. i'm suspicious
>> this is where /tmp is coming from.)
> Yep. Read this (skim down to where it defines "tempdir" and you'll
> see your solution:
your squat is way better than my squat. thank you! i wasn't smart
enough to find that.
Somewhere in Portland
Where it's probably raining.
More information about the Pdx-pm-list