[Python-de] Re: Funktion ueberschreiben?

Ulli Horlacher <[email protected]>
Newsgroups gmane.comp.python.general.german
Organization University of Stuttgart, FRG
Message-ID <[email protected]>
Peter J. Holzer <[email protected]> wrote:
> On 2022-12-03 16:56, Ulli Horlacher <[email protected]> wrote:
>> Deshalb zurueck auf LOS: gibts bei Python keine Moeglichkeit VORAB eine
>> andere Library unterzuschieben?
> 
> Nicht, dass ich wüsste, aber ich wüsste auch nicht, wie das bei Perl
> gehen soll 

Via environment Variable PERLLIB, analog zu LD_LIBRARY_PATH.


> Du kannst natürlich PYTHONPATH setzen.

Wir kommen der Sache naeher :-)

/usr/lib/python3/dist-packages/duplicity/dup_time.py verwendet 

import time

Um time.asctime() zu ersetzen muesste ich also die Standard time
Bibliothek durch meine ersetzen und da time.asctime() passend umschreiben?

Leider finde ich kein time.py, wo versteckt sich das Python time Modul?

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: [email protected]
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
_______________________________________________
python-de Mailingliste -- [email protected]
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected]
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.