Re: Question - problem downloading Python

2021-01-14 Thread vincent . vandevyvre
On 14/01/21 07:52, Christine Tiscareno wrote:
>I installed in my lap-top your latest version of Python (3.9.1), yet when I
>go to cmd.exe   to check,  I get that I have Python 22.7.17 ???
>
>Why? What should I do to get the latest version?

>  I tried going back to fix problems and it does not fix it, that is how I
>got your email.

>How can I get the latest Python version (3.9.1), instead of what I'm
>getting (22.7.17)?

>Thank you for your time.

Please, copy-paste all the content of your terminal (I presume this is wht you 
name cmd.exe).

Vincent
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Pickling issue.

2020-12-23 Thread vincent . vandevyvre
On 22/12/20 01:57, Bob Gailer wrote:
>
>
> On Mon, Dec 21, 2020, 3:03 PM Vincent Vande Vyvre 
>  wrote:
>
> Hi,
>
> I've an object that I want to serialise with pickle.
> When I reload the object the attributes of this object are correctly
> fixed except one of these.
>
> This attribute (value) define a simple string.
>
> Example:
> -
> tag =  XmpTag('Xmp.dc.form'image/jpeg')
>
>
> I am not familiar with XmpTag. Where might I get the containing module?
>
> ... skip
>
Yes, it's available with pip:
https://pypi.org/project/py3exiv2/
If you want to test it, just add from pyexiv2.xmp import XmpTag to my example.

and the source is here:
https://bazaar.launchpad.net/~vincent-vandevyvre/py3exiv2/trunk/view/head:/py3exiv2/src/pyexiv2/xmp.py

This is a Python-3 binding of the lib exiv2, the wrapper source code is here:
https://bazaar.launchpad.net/~vincent-vandevyvre/py3exiv2/trunk/view/head:/py3exiv2/src/exiv2wrapper.cpp#L359

exiv2 doc is here:
https://www.exiv2.org/doc/classExiv2_1_1Xmpdatum.html

Sorry for the late response but it seems a moderation problem with my account.

Vincent
-- 
https://mail.python.org/mailman/listinfo/python-list