Liberian Geek
  • How-To/Tips
  • Linux
  • Windows
  • Ubuntu
  • WordPress
  • Privacy
Select Page

Python Class Constructor – Python __init__() Function

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

A programmer has to go through the concepts of object-oriented programming during their programming journey. Constructors are an essential part of object-oriented programming. A constructor enables to create and initialize the objects of a class. In Python, the class...

Python: How do I make a subclass from a superclass?

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

A class contains the sub-class. A class is considered a broader term and the subclass is derived from it. For example, an animal is a class; mammals, birds, and reptiles are the subclasses. Cats, dolphins, crows, sparrows, lizards, and snakes are further subclasses of...

What does the ‘b’ character do in front of a string literal?

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

A byte is a combination of eight bits while a string consists of a characters and a combination of these characters makes words and then sentences. These are easily comprehended by a human. However, a machine can only understand the binary information. To convert the...

How to Understand ‘%s’ in Python Format Strings

by Michael Stolzer | Jan 12, 2024 | How-To/Tips

The “%s” symbol is widely used in Python. This symbol represents a placeholder. The %s symbol is used to concatenate a string with another string. In this post, we will be learning about this “%s” format used in Python. So let’s get started. How to Understand...

How Do You Copy and Paste a Terminal Command in Linux/Ubuntu?

by Michael Stolzer | Jan 11, 2024 | Linux, Ubuntu 16.04

When someone is switching from one platform to another such as Windows and Mac to Linux he must know that different commands are used to perform different functions. For example, if you want to copy and paste the text or command in Linux from terminal to text editor...
« Older Entries
Next Entries »

Looking For Something ?

About Us & Privacy Policy

  • About Us
  • Contact
  • Glossary
  • Privacy Policy
  • Home
  • About Us
  • Privacy
  • Contact
  • Facebook
  • X
  • Instagram
  • RSS

Designed by Elegant Themes | Powered by WordPress