Practice #20: How to Put Console Text Output in a Stylish Frame | Python Coding for Beginners

preview_player
Показать описание
In this video I'll show you how to use unicode characters to create a bordered frame, and put text inside the frame.
Of course there are some fancy modules and tools you can use to design and style your text output, but I just want to mention the program concept and logic, to build things from basic stuff.

Here the github link for a multiple-line text version
-------------------------
Python Coding for Beginners
Python Programming for Beginners
Learn Python by Building Projects
Python Exercises and Practical Examples with solutions
Practice Python Online with solution
How to write a Python program
Python Programming Data Structure and Algorithm
Python Problem Solving
Python Game Tutorial
Python Game Programming
Python Game Development
Python Tips and Tricks
Рекомендации по теме
Комментарии
Автор

Of course you can use "rich" module with a lot of cool features and styles but I just want to show you the concept of building things from basic stuff. As well as the logic of program, what is the solution if you want to put the text in the frame and how to fit it nicely...

makeeverydayezday
Автор

thanks for the tutorial very informative and clear for beginners

paulshirley
Автор

Thank you. I found another way to print the frame borders, you can copy and paste from the text.

tsudashiro
Автор

This is a nice video, thanks I can now do it myself ❤️

nishimuraryo
Автор

If I remember correctly, there is a third party module that provides all types of text-based frame in Python. This video is great!

austinbeaumont
Автор

I've found quite a bit of special symbols like ♥ and ❦ that I want to use for a program with Python 3.3, and the programs work just fine in IDLE, but when I run it using the command line it immediately crashes, giving an error about characters not being recognized

starboys
join shbcf.ru