How to Convert String to Integer in Python [Str to Int]

Sometimes we need to convert the string into an integer value. In our HTML form, when we submit the form, it takes the value as a string. If we submit a number as a value, then it will be considered as a string value. So it is necessary to convert it to an integer for […]

How to Generate Authorization(oauth2)/Bearer Token for Firebase V1 API in Python

Firebase is a service-based mobile and web development platform that provides lots of services like messaging, push notifications, cloud storage, authentication, real-time database, and much more. To use these functionalities, firebase API requires an Authorization or Bearer token. This Authorization token, also called “oauth2 Token,” needs to be generated through backend languages like Python, Java, […]

How to Copy File in Python

Python supports copying of source file into the destination file. Here i’ve described few methods to copy file in python. It is easier than other programming languages and easy to understand for the developer. We have to import some libraries and write a few lines of code. File Copy in Python There are 2 Methods […]