Skip to content
murmot

Results for “python split method example program error code site:mail.python.org”

  • mail.python.org

    [BangPypers] python split

    [BangPypers] python split. Sibtey Mehdi sibteym at infotechsw.com Tue Oct 21 12:49:18 CEST 2008.Is there a way to split text like below example.

  • mail.python.org

    mail.python.org/pipermail/boston/2015-July.txt

    I'm trying to write a python program that prompts for a file name, then opens that file and reads through the file, looking for lines of the form: X-DSPAM-Confidence: 0.8475.

  • mail.python.org

    [Tutor] regular expressions

    That got my a syntax error. Any hints? First to the syntax error. If you want to concatenate two strings (I assume `final_ext[x]' is a string) just write a `+' between them.exts[ext] = exts.get(ext, 0) + 1. I wrote here ext[1:] since the split method returns also the period with the extension.