Thank you, again, Michael, for all your help many months ago.
I *FINALLY* got a HowTo done up; please see
http://wiki.python.org/moin/HowTo/FileMagic
I've also emailed Mr. Hupp to see if he'll re-post the SWIG version;
he's working on a newer binding (forget... ctypes??) and once that
one's work
Thank you, again, Michael, for all your help many months ago.
I *FINALLY* got a HowTo done up; please see
http://wiki.python.org/moin/HowTo/FileMagic
I've also emailed Mr. Hupp to see if he'll re-post the SWIG version;
he's working on a newer binding (forget... ctypes??) and once that
one's work
Since it seems I have a "unique" problem, I wonder if anyone could
point me in the general/right direction for tracking down the issue
and resolving it myself.
See my prior post @
http://groups.google.com/group/comp.lang.python/browse_thread/thread/44775994a6b55161?hl=en#
for more info. (Python
is <[EMAIL PROTECTED]> wrote:
> On Jul 17, 6:40 pm, Larry Hale <[EMAIL PROTECTED]> wrote:
>
> > Err, the line above should be:
>
> > proxy_handler = urllib2.ProxyHandler( { "http": "http://
> > myusername:[EMAIL PROTECTED]:3128" } )
>
is <[EMAIL PROTECTED]> wrote:
> On Jul 17, 6:40 pm, Larry Hale <[EMAIL PROTECTED]> wrote:
>
> > Err, the line above should be:
>
> > proxy_handler = urllib2.ProxyHandler( { "http": "http://
> > myusername:[EMAIL PROTECTED]:3128" } )
>
is <[EMAIL PROTECTED]> wrote:
> On Jul 17, 6:40 pm, Larry Hale <[EMAIL PROTECTED]> wrote:
>
> > Err, the line above should be:
>
> > proxy_handler = urllib2.ProxyHandler( { "http": "http://
> > myusername:[EMAIL PROTECTED]:3128" } )
>
Err, the line above should be:
proxy_handler = urllib2.ProxyHandler( { "http": "http://
myusername:[EMAIL PROTECTED]:3128" } )
(Sorry! :)
--
http://mail.python.org/mailman/listinfo/python-list
Greetings, Pythonistas!
My employer has a Squid Proxy between my Python programs and The
Internet.
I've searched high-and-low, and can only find examples online of how
to do basic authentication to connect TO an external Web Server, but
not how to go THROUGH a (corporate) Proxy, thus my question
On May 12, 1:34 am, Larry Hale <[EMAIL PROTECTED]> wrote:
> The file source (previously linked from http://hupp.org/adam/hg/python-magic/)
> has the man pages...
Err... I meant "http://downloads.sourceforge.net/gnuwin32/file-4.21-
bin.zip?modtime=1180175868&big_m
On May 12, 1:34 am, Larry Hale <[EMAIL PROTECTED]> wrote:
> The file source (previously linked from http://hupp.org/adam/hg/python-magic/)
> has the man pages...
Err... I meant "http://downloads.sourceforge.net/gnuwin32/file-4.21-
bin.zip?modtime=1180175868&big_m
On May 11, 11:42 pm, Larry Hale <[EMAIL PROTECTED]> wrote:
> THANKS, AGAIN, for the reply! :)
>
> Okay, now I -really- feel silly... :>
>
> So, when I was going to try what you'd suggested, I noticed something
> peculiar: I hadn't "changed" an
On May 11, 11:42 pm, Larry Hale <[EMAIL PROTECTED]> wrote:
> THANKS, AGAIN, for the reply! :)
>
> Okay, now I -really- feel silly... :>
>
> So, when I was going to try what you'd suggested, I noticed something
> peculiar: I hadn't "changed" an
eplies, Michael, and I'm
off to work _with_ the module now, then work-up my HowTo (and
experiment with making an "egg"?? ;) )...
Caio!
-Larry :P :)
On May 11, 11:09 pm, Michael Torrie <[EMAIL PROTECTED]> wrote:
> Larry Hale wrote:
> > ALSO: I've even tried p
On May 10, 11:41 pm, Larry Hale <[EMAIL PROTECTED]> wrote:
> I've heard tell of a Python binding for libmagic (file(1) *nixy
> command; seehttp://darwinsys.com/file/). Generally, has anybody
> built this and worked with it under Windows?
>
> The only thing I've
or my Google search of
http://www.google.com/search?hl=en&q=python+snack+module&btnG=Google+Search
seemed to show the same thing.)
The short answer is: Huh?/What?/Why? Why not put the picture + sound
==> video file. (Sure the image remains static, but there's the
Soundtrack with it! ;) )
Cheers,
-Larry Hale
--
http://mail.python.org/mailman/listinfo/python-list
rpret this as if you're
attempting to "call" the list object (["a", "b", ...]) as if it were a
function/method
Indeed, the "(1)" is what's causing the problem, but it's -because-
the list *object* is, well, "not callable". :)
As an aside, see what "li" contains if you do:
li = ["a", "b", "mpilgrim", "z", "example"][1]
;)
Cheers!
-Larry Hale
--
http://mail.python.org/mailman/listinfo/python-list
other than explicitly DOING what they do,
which would be [1] messier and/or [2] non-transparent/duplicative, I
sadly have no alternative thought[s]... ;) )
Cheers,
-Larry Hale
--
http://mail.python.org/mailman/listinfo/python-list
After putting the magic1.dll file to C:\Program Files\Python25\DLLs
(looking at the directory structure, that seemed as good a place as
any), now I can *import* the module, but...
>>> import magic
>>> test = magic.Magic()
Traceback (most recent call last):
File "", line 1, in
ommunity.com/DevCenter/
EasyInstall]... I'll -see-... :) )
Ah, sometimes one CAN'T see the forest for the trees; a few hours
hacking away at getting things going to THIS point will do it to ya...
err, or at least "to me"! :D
Thanks, again, Michael...
-Larry
On May 11, 11:34 am,
E Python/
modules expect to find such things.
Also, which version(s)/file(s) should be placed where, or...??
Thanks for any/all help/pointers. I apologize up-front if I left out
any pertinent info; I'm paranoid about putting in too much (and some
that may be worthless) already... :)
Cheers,
Larry Hale
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo