isprintable()

All String methods
my_str.isprintable()
Returns True if all chars in a string are printable , otherwise rturns False
my_str='Welcome to plus2net'
print(my_str.isprintable())      # Output is False 

my_str='Welcome \t to plus2net'
print(my_str.isprintable())      # Output is False ( presence of Tab \t)

my_str='Welcome to plus2net \n'
print(my_str.isprintable())      # Output is False ( presence of line break \n)

my_str='1234'              
print(my_str.isprintable())      # Output is True


All String methods

Subscribe to our YouTube Channel here

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    Post your comments , suggestion , error , requirements etc here





    Python Video Tutorials
    Python SQLite Video Tutorials
    Python MySQL Video Tutorials
    Python Tkinter Video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer