понеделник, 24 февруари 2020 г.

How to convert .py to .exe

    Have you ever wondered how to convert your .py file with code into independent program that can run when Python isn't installed on the PC/laptop? Well, there are a couple of ways to do that and my modest advise is to try all of them and decide which one fits your way of work best. Right now I will share the way I transform .py into .exe.

неделя, 23 февруари 2020 г.

[SnakeData]create_db()

    This functon was built to create new database node and has just one argument - the name of the database we aim to create /create_db(db_name)/. To call the function just type the desired db name in quotations in place of db_name argument:
python create_db() function
I am using the setup of this usecase to illustrate functionallity of create_db( ). Full code can be seen on the printscreen below.