# Python CodeRecipe|isprintable()の使い方
❮ Home ❮ String Methods
# isprintable()の例1
Check if all the characters in the text are printable:
txt =
"Hello! Are you #1?"x = txt.isprintable()
print(x)
# isprintable()の定義及び使い方
The isprintable() method returns True if all the characters are printable, otherwise False.
# isprintable()の例2
## isprintable()の構文
```python
string.isprintable()
# isprintable()の引数
パラメータがありません。
# isprintable()の例2
Check if all the characters in the text are printable:
txt =
"Hello!\nAre you #1?"x = txt.isprintable()
print(x)
❮ Home ❮ String Methods