f-string in Python 3.6 for formatting strings

If you are new to Python 3, learning to use f-string, Python’s relatively new string formatting is a lot of fun. f-string, a short name for “formatted string literal”, is a string literal that is prefixed with letter ‘f’ or ‘F’ and is available from Python version 3.6 There are multiple options to format a… Continue reading f-string in Python 3.6 for formatting strings

Installing Python 3 from Python 2 with Anaconda

If you have already installed Anaconda 2.7 and finally decided to take a plunge into Python 3 and want to install Python 3. Congrats. You don’t have to start fresh. You can easily upgrade to Python 3 using Anaconda package manager by creating new environment for Python 3. Note that this virtual environment is completely… Continue reading Installing Python 3 from Python 2 with Anaconda