>>> list("Word to Split")
['W', 'o', 'r', 'd', ' ', 't', 'o', ' ', 'S', 'p', 'l', 'i', 't']
Answer from Greg Hewgill on Stack Overflow
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ python-split-string-into-list-of-characters
Split String into List of Characters in Python - GeeksforGeeks
The unpacking operator * can be used to split a string into a list of characters in a single line. This approach is compact and works well for quickly converting a string to a list.
Published ย  November 27, 2025
Discussions

Is it possible to make python split a word into letters?
Yup. Create a list from the string. txt = 'sunny' txt = list(txt) print(txt) or just print(list('sunny')) More on reddit.com
๐ŸŒ r/learnpython
9
1
April 6, 2019
How to split a word into letters in Python - Stack Overflow
I was wondering if there is a straightforward way to do the following: Input string: input = 'Hello' Output string: output = 'H,e,l,l,o' I understand you can do list(input), but that returns a l... More on stackoverflow.com
๐ŸŒ stackoverflow.com
split() function splitting every character?
You call c.split() but don't do anything with the result. c continues to refer to the original, unsplit, string; so c[0] gives you the first character of that string. You possibly mean c = c.split(), but it would be better to assign it to a new variable. More on reddit.com
๐ŸŒ r/learnpython
20
44
April 27, 2022
How to split each string into words and collects all words in a new list.
string.split() return a list or words, so if you put [s.split()] it would return a list of lists. i would try something like this: new_list = [] for line in book: for word in line.split(' '): new_list.append(word) More on reddit.com
๐ŸŒ r/learnpython
6
4
May 9, 2021
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ ref_string_split.asp
Python String split() Method
Python Examples Python Compiler ... Study Plan Python Interview Q&A Python Bootcamp Python Training ... The split() method splits a string into a list....
๐ŸŒ
Mimo
mimo.org โ€บ glossary โ€บ python โ€บ string-split-method
Learn Python's String Split Method, Simplify Text Processing
Start your coding journey with Python. Learn basics, data types, control flow, and more ... 1. Split by Whitespace (Default): If you call .split() with no arguments, it splits the string by any sequence of whitespace (spaces, tabs, newlines) and discards empty strings.
๐ŸŒ
Enki
enki.com โ€บ post โ€บ how-to-split-strings-in-python
Enki | Blog - How to Split Strings in Python
Want to split a string by anything other than spaces? Just specify the delimiter in the split() method. In this case, data is broken down using a comma, which gives us a list of fruits. The pipe character | serves as the delimiter here, splitting custom_data into three parts.
Find elsewhere
๐ŸŒ
University of Pittsburgh
sites.pitt.edu โ€บ ~naraehan โ€บ python3 โ€บ split_join.html
Python 3 Notes: Split and Join
Python 3 Notes [ HOME | LING 1330/2330 ] Splitting and Joining Strings <<Previous Note Next Note >> On this page: .split(), .join(), and list(). Splitting a Sentence into Words: .split() Below, mary is a single string. Even though it is a sentence, the words are not represented as discreet units.
๐ŸŒ
Real Python
realpython.com โ€บ python-split-string
How to Split a String in Python โ€“ Real Python
November 4, 2024 - The .split() method in Python is a versatile tool that allows you to divide a string into a list of substrings based on a specified delimiter. By default, .split() separates a string at each occurrence of whitespace, which includes spaces, tabs, ...
๐ŸŒ
Board Infinity
boardinfinity.com โ€บ blog โ€บ split-string-into-list-of-characters-in-python
Split String into List of Characters in Python
August 13, 2025 - The split's syntax consists of a function with the names separator and max and a return value. ... Separator: To identify the delimiter, a separator is defined. The split function divides the primary string into several substrings using a separator.
๐ŸŒ
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 - sentence = 'Jackdaws love my big sphinx of quartz.' wordlist = sentence.split() print(wordlist) # will print ['Jackdaws', 'love', 'my', 'big', 'sphinx', 'of', 'quartz.'] The split method takes an optional sep argument, allowing us to specify a substring to treat as the separator between items in our list. If no separator is specified, as in the above example, the string is split on each run of one or more whitespace characters (spaces, tabs, and newlines). Splitting the string on whitespace characters preserves sentence punctuation such as periods and commas, like quartz.
๐ŸŒ
Quora
quora.com โ€บ What-is-the-code-to-split-the-string-into-words-and-save-it-as-files-in-Python
What is the code to split the string into words and save it as files in Python? - Quora
Answer: Splitting a string is easy, but you didnโ€™t say where the string came from or how you define โ€œwordโ€. Assuming itโ€™s just a space separated thing and you donโ€™t care about punctuation then thatโ€™s pretty simple. You would need to decide when you clean the punctuation from the ...
๐ŸŒ
Quora
quora.com โ€บ How-do-you-split-a-character-in-a-string-in-Python
How to split a character in a string in Python - Quora
Answer (1 of 4): split a character in a string in Python:- we would like to give some introduction about string and character because it can be little bit confusion so letโ€™s talk about string, are surrounded by single quotation mark or double quotation mark on the other hand Python does not ...
๐ŸŒ
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 ... it's also a good option for splitting a string into characters when combined with the str() function....
๐ŸŒ
PythonForBeginners.com
pythonforbeginners.com โ€บ home โ€บ split a string into characters in python
Split a String into Characters in Python - PythonForBeginners.com
December 30, 2022 - Hence, you can also convert a string ... and returns a tuple containing the elements of the iterable object. To split a string, we will pass the input string to the tuple() function....
๐ŸŒ
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']

๐ŸŒ
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.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ python-string-split
Python split() Method - GeeksforGeeks
4 weeks ago - split() method is used to divide a string into multiple parts based on a specified separator.
๐ŸŒ
YouTube
youtube.com โ€บ watch
Split a word into Letters in Python
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.