Re: Crash when launching python

Liste des GroupesRevenir à cl python 
Sujet : Re: Crash when launching python
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 04. Sep 2024, 17:52:28
Autres entêtes
Organisation : Stefan Ram
Message-ID : <loading-20240904165126@ram.dialup.fu-berlin.de>
References : 1
Guenther Sohler <guenther.sohler@gmail.com> wrote or quoted:
Is it possible to turn on debugging and  to display on the console, where
python is loading files from ?

  The "-v" flag? It's like a snitch for module loading. It'll spill
  the beans on where each module's coming from - whether it's a file
  or baked right into Python. Stack those "-v"s for the full 411.

  Now, if you're feeling extra Californian, you can set the
  "PYTHONVERBOSE" environment variable to some integer. It's like
  hitting the "-v" button multiple times, but with that laid-back
  West Coast vibe.

  Oh, and get this - "sys.settrace(tracefunc)" is like the
  ultimate stalker for your code. It lets you set up a trace
  function that'll tail your Python source code closer than
  paparazzi on Rodeo Drive. Perfect for when you wanna debug
  your code like you're solving a Hollywood mystery!



Date Sujet#  Auteur
4 Sep 24 * Crash when launching python2Guenther Sohler
4 Sep 24 `- Re: Crash when launching python1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal