Date and Time The date, datetime, and time objects all support a strftime(format) method, to create a string representing the time under the control … [Read more...] about Basic date and time types in Python
Basics
Our Python Basics articles cover everything for the beginning programmer. If you are just starting to learn python, this is a great place to start. We cover setting up your environment to every facet of python functionality. You will find plenty to learn from in this section.
Booleans, True or False in Python
What are Boolean? Boolean values are the two constant objects False and True. They are used to represent truth values (other values can also be … [Read more...] about Booleans, True or False in Python
Strings Formatting in Python
String formatting is a method to insert a variable or another string into a predefined string. Whenever we need to insert a user input to a string, we … [Read more...] about Strings Formatting in Python
Python Strings Quotes
Overview Strings can be enclosed in single quotes or double quotes. Single quoted string can contain double quotes and double quoted string … [Read more...] about Python Strings Quotes
Built-in List Methods in Python
List Built-In Methods The data type "List" has several built-in methods. s = ['h','e','l','l','o'] #create a list s.append('d') … [Read more...] about Built-in List Methods in Python
Strings Built-In Methods
Strings Built-In Methods In this post I want to show what you can do with the built-in methods for python Strings. Let's first create a string with … [Read more...] about Strings Built-In Methods