Skip to content
murmot

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

  • mail.python.org

    [Tutor] input and raw input

    A string has a method split(); that may help you. > In your case, where you want either a space or a comma as a separator, it depends whether both can be used at the same time. If not, you can check for the occurrence of one or the other separator and run split() with the correct separator.

  • 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.