Use the list constructor:

>>> list("foobar")
['f', 'o', 'o', 'b', 'a', 'r']

list builds a new list using items obtained by iterating over the input iterable. A string is an iterable -- iterating over it yields a single character at each iteration step.

Answer from user225312 on Stack Overflow
🌐
W3Schools
w3schools.com › python › ref_string_split.asp
Python String split() Method
Remove List Duplicates Reverse ... Syllabus Python Study Plan Python Interview Q&A Python Training ... The split() method splits a string into a list....
Discussions

Split string to list without split method
Is there any way to split a string into a list “directly”, i.e., perhaps to replace newlines with a character which causes Python to reinterpret that… More on reddit.com
🌐 r/learnpython
5
1
December 25, 2021
Splitting a list in sublists by values
from bisect import bisect_left def split_list(iterable, splitters): left, right = sorted(splitters) left_idx = bisect_left(iterable,left) right_idx = bisect_left(iterable,right) return [ iterable[:left_idx], iterable[left_idx:right_idx], iterable[right_idx:]] As a bonus this works even if the splitter is not in the list. More on reddit.com
🌐 r/learnpython
8
3
November 12, 2015
Split a list into sublists using an array of indexes
Still using a for loop, but just one. Not sure if it'll be efficient enough, but here's my go at it. lists = [[0], [1], [2], [3], [4]] vals = [9, 8, 7, 6, 5] inds = [2, 1, 3, 2, 0] vals_and_indexes = zip(vals, inds) for val,index in vals_and_indexes: lists[index].append(val) print(lists) # [[0, 5], [1, 8], [2, 9, 6], [3, 7], [4]] More on reddit.com
🌐 r/learnpython
6
0
August 20, 2019
Splitting an input sentence into a list
Please format your code for reddit or use a site like pastebin. Your code is very hard to read and impossible to test otherwise. split(" ") returns the split version, it does not split in place. So you need to assign the returned value to a variable if you want to use it. Try: split_sentence = sentencestring.split(" ") print(split_sentence) More on reddit.com
🌐 r/learnpython
7
3
August 5, 2015
🌐
Reddit
reddit.com › r/learnpython › how to split each string into words and collects all words in a new list.
r/learnpython on Reddit: How to split each string into words and collects all words in a new list.
May 9, 2021 -

I'm working on a book I've downloaded from project Guttenberg and after doing some data cleaning I have ended up with a list of strings. Next I should split each string into words and collect all the words in a new list.

I have tried to use the split commando but somehow I end up with transforming each string into a list instead of a a string.

I'm sorry if I'm being vague. Please let me know if I should provide more infromation...

I have created the following function.

def splitter():

wordList = [s.split(" ") for s in book]

return wordList

book = splitter()

Somehow I end up with the following output when I type book[0] into the console:

['the',

'history',

'of',

'australian',

'exploration',

'from',

'1788',

'to',

'1888']

Instead of splitting the string and ending up with a list of strings I have created a list of lists.

What I want to end up with is:

In[] book[0]

Out[] the

and

in[] book[:9]

['the',

'history',

'of',

'australian',

'exploration',

'from',

'1788',

'to',

'1888']

🌐
Mimo
mimo.org › glossary › python › string-split-method
Learn Python's String Split Method, Simplify Text Processing
To split a string into a list of substrings, you use the built-in string method .split(). Its behavior depends on the arguments you provide. ... Become a Python developer.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-split-string-into-list-of-characters
Split String into List of Characters in Python - GeeksforGeeks
Explanation: [char for char in s] loops through each character in s and places each char into the list, creating a list of all characters. The unpacking operator * can be used to split a string into a list of characters in a single line.
Published: November 27, 2025
🌐
Sentry
sentry.io › sentry answers › python › split a string into a list of words in python
Split a string into a list of words in Python | Sentry
June 15, 2024 - Here, we’ve added (?:[-']\w+)* to the regular expression, which allows characters after the first one in the word to be apostrophes or hyphens. Our code now splits the sentence into a list of words, preserving words with apostrophes and hyphens, while discarding commas, periods, and other sentence-level punctuation.
Find elsewhere
🌐
freeCodeCamp
freecodecamp.org › news › python-split-string-how-to-split-a-string-into-a-list-or-array-in-python
Python Split String – How to Split a String into a List or Array in Python
April 4, 2023 - In this example, we split the string "hello\nworld" into a list of two elements, "hello" and "world", using the splitlines() method. The re module in Python provides a powerful way to split strings based on regular expressions.
🌐
DevGenius
blog.devgenius.io › transforming-strings-into-lists-2fdbbd697ad9
Transforming Strings into Lists. A guide to splitting in python | by A.I Hub | Dev Genius
December 24, 2024 - If we have a multiline string and ... the separator or we can use the splitlines method. The method splitlines() splits a multiline string into a list of single-line strings....
🌐
CodeSignal
codesignal.com › learn › courses › string-manipulation-for-python-coders › lessons › mastering-text-analysis-with-python-splitting-and-joining-strings-like-a-pro
Mastering Text Analysis with Python: Splitting and Joining ...
text = """Syntactic Structures - Noam Chomsky The Interpretation of Cultures - Clifford Geertz The Structure of Scientific Revolutions - Thomas Kuhn The Two Cultures - C.P. Snow""" # Turn the text into a list of lines lines = text.splitlines() # For each line, split the line into title and author catalog = [] for line in lines: title, author = line.split(" - ") catalog.append((title, author)) # Print the catalog for title, author in catalog: print(f"{title}, by {author}") """ Prints: Syntactic Structures, by Noam Chomsky The Interpretation of Cultures, by Clifford Geertz The Structure of Scientific Revolutions, by Thomas Kuhn The Two Cultures, by C.P.
🌐
Enki
enki.com › post › how-to-split-strings-in-python
Enki | Blog - How to Split Strings in Python
String splitting in Python revolves around the split() method. It's a versatile function that takes a string and divides it into a list of substrings, making it suitable for all sorts of data processing tasks.
🌐
Real Python
realpython.com › python-split-string
How to Split a String in Python – Real Python
October 22, 2025 - By passing a comma (",") as the argument to sep, you instruct Python to use commas as the delimiter for splitting. As a result, .split() separates the string into a list of individual names.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-string-split
Python split() Method - GeeksforGeeks
July 1, 2026 - DSA Python · Data Science · NumPy · Pandas · Practice · Django · Flask · Last Updated : 1 Jul, 2026 · split() method is used to divide a string into multiple parts based on a specified separator.
🌐
GeeksforGeeks
geeksforgeeks.org › python › split-elements-of-a-list-in-python
Split Elements of a List in Python - GeeksforGeeks
July 23, 2025 - Using map() is useful if we're ... map() function applies the given function to each element of the list a. The lambda function splits each string at the comma and selects the first part. And then the list() function is used to convert the result from map() into a list...
🌐
Server Academy
serveracademy.com › blog › python-string-split-method
Python String split(): Split Strings the Right Way Blog | Server Academy
July 18, 2026 - Python string split guide: master str.split() for whitespace, commas, maxsplit, rsplit, splitlines, and multiple delimiters, with verified code examples.
🌐
Pluralsight
pluralsight.com › blog › software development
6 Best Methods for Python String to List Conversion | Pluralsight
Let’s see how it works. x = "plural ... ', 's', 'i', 'g', 'h', 't'] The built-in split() method takes the delimiter as an argument and converts the string to a list based on the specified delimiter....
🌐
Reddit
reddit.com › r/learnpython › split string to list without split method
r/learnpython on Reddit: Split string to list without split method
December 25, 2021 - This means if you change a character in your Python-string, you only change a character inside your char[], but in order to get a list you need to allocate memory for such a list, split the string into different Python objects, etc.
🌐
Note.nkmk.me
note.nkmk.me › home › python
Split a String in Python (Delimiter, Line Breaks, Regex) | note.nkmk.me
May 4, 2025 - ... Use the split() method to split a string using a specified delimiter. ... If no argument is provided, the string is split using whitespace (spaces, newlines \n, tabs \t, etc.), treating consecutive whitespace characters as a single delimiter.
🌐
Runestone Academy
runestone.academy › ns › books › published › fopp › Sequences › SplitandJoin.html
6.9. Splitting and Joining Strings — Foundations of Python Programming
Also, you can use empty glue or multi-character strings as glue. ... Create a new list of the 6th through 13th elements of lst (eight items in all) and assign it to the variable output. Create a variable output and assign to it a list whose elements are the words in the string str1.
🌐
ReqBin
reqbin.com › code › python › nxrhfweu › python-split-string-example
How do I split a string in Python?
December 20, 2022 - In this Python Split String example, we use the string.split() method to split the string into a list. Other splitting options are presented below, with detailed examples and a description of each.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-splitting-string-to-list-of-characters
Splitting String to List of Characters - Python - GeeksforGeeks
July 11, 2025 - Explanation: list() convert the string s into a list, where each character from the string becomes an individual element in the list. map() applies a given function to each item of an iterable and returns an iterator.