Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5116
| From | Reimar Bauer <rb.proj@gmail.com> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Python3 - pathlib - python-gnupg Problem |
| Date | 2018-02-06 13:08 +0100 |
| Message-ID | <mailman.40.1517918902.27157.python-de@python.org> (permalink) |
| References | <98cfc895-06a7-495e-93b5-182f4cc367fd@googlegroups.com> <d65ba20c-5a43-4682-8d40-f1e4c93141ea@googlegroups.com> <CADfaKO-2az+Wa0UkvGfkBF5y2nVpr6=u+Q9ys7xzZUfn_UN=XQ@mail.gmail.com> |
Hi Zusammen,
evtl. magst dich auch mal damit befassen, das löst einige OS Probleme für
mich, abgesehen davon das man auch entfernte Dateisysteme einheitlich
erreicht.
http://pyfilesystem2.readthedocs.io/en/latest/
Grüße
Reimar
2018-02-06 13:00 GMT+01:00 Maurice Kemmann via python-de <
python-de@python.org>:
> Hi Zusammen,
>
> Am Dienstag, 6. Februar 2018 09:23:07 UTC+1 schrieb Maurice Kemmann:
> > Hallo,
> >
> > ich nutze pathlib um OS unabhängige Scripte zu schreiben. Im Moment
> spiele ich ein wenig mit python-gnupg herrum und laufe in folgendes Problem:
> >
> > <code>
> > import gnupg
> > from pathlib import Path
> > from pprint import pprint
> >
> > gpg = gnupg.GPG(gnupghome=Path("/home/mucki/.gnupg/"))
> > <\code>
> >
> > Das führt zu folgenden Fehler unter Linux:
> >
>
> Problem gelöst.
>
> gpg = gnupg.GPG(gnupghome=str(Path("/home/mucki/.gnupg/")))
>
> Path liefert in diesem Fall wohl keinen String zuück, da habe ich wohl die
> Doku nicht richtig gelesen. Danke an Uwe!
>
> Maurice
> _______________________________________________
> python-de maillist - python-de@python.org
> https://mail.python.org/mailman/listinfo/python-de
>
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Python3 - pathlib - python-gnupg Problem Maurice Kemmann <muckisg@googlemail.com> - 2018-02-06 00:23 -0800
Re: Python3 - pathlib - python-gnupg Problem Maurice Kemmann <muckisg@googlemail.com> - 2018-02-06 04:00 -0800
Re: [Python-de] Python3 - pathlib - python-gnupg Problem Reimar Bauer <rb.proj@gmail.com> - 2018-02-06 13:08 +0100
Re: [Python-de] Python3 - pathlib - python-gnupg Problem Maurice Kemmann <muckisg@googlemail.com> - 2018-02-06 20:25 +0100
Re: [Python-de] Python3 - pathlib - python-gnupg Problem Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2018-02-07 06:36 +0100
csiph-web