all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: python-parse  ]

Package: python3-parse (1.20.2-1)

Links for python3-parse

Screenshot

Debian Resources:

Download Source Package python-parse:

Maintainer:

External Resources:

Similar packages:

fornisce la funzione inversa di format(), pacchetto per Python 3

Analizza stringhe usando una specifica basata sulla sintassi di format() di Python. parse() รจ l'opposto di format(). Per esempio:

 >>> parse("It's {}, I love it!", "It's spam, I love it!")
 <Result ('spam',) {}>
 >>> _[0]
 'spam'

Oppure cercare un qualche modello in una stringa:

 >>> search('Age: {:d}\n', 'Name: Rufus\nAge: 42\nColor: red\n')
 <Result (42,) {}>

Other Packages Related to python3-parse

  • depends
  • recommends
  • suggests
  • enhances

Download python3-parse

Download for all available architectures
Architecture Package Size Installed Size Files
all 26.1 kB86.0 kB [list of files]