Skip to content
murmot

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

  • mail.python.org

    [Tutor] script error question [checking for substrings]

    Instead of 'in', you'll probably want to use the 'find()' > method, which tells us exactly the position where the > smaller string starts to occurs.Previous message: [Tutor] Better (free) IDEs than IDLE for Linux ? Next message: [Tutor] script error question [checking for substrings].

  • mail.python.org

    [Tutor] Split Method

    [Tutor] Split Method. Rafael Knuth rafael.knuth at gmail.com Thu Jan 30 12:11:56 CET 2014.I already know how to split strings that are separated through empty spaces: def SplitMyStrings(): Colors = "red blue green white black".split() return (Colors).

  • mail.python.org

    [Tutor] python 3.3 split method confusion

    But in the majority of cases split is used where we read a line > of input from a data file where the data fields are separated > by some arbitrary character, usually comma, tab or pipe. The > important bit is the data not the separator. > > > -- > Alan G > Author of the Learn to Program web site...