Tag: Python
All the articles with the tag "Python".
-
How to now where is located my current python Virtual enviroment
If you are working in your machine with different virtual env perhaps you wondered "Wait a minute. What environment I'm working on?" There is two ways (I now to know that) Using PIP: pip -V Or using
-
TOX: First steps
Tox is a tool for Python testing. I'm doing my first steps because I found it in the project: Faker, which is: Faker is a Python package that generates fake data for you. Faker Git Hub repository If
-
Logging in a file to avoid print statements
A video that was enlightening We need to avoid the misuse of the print statements once we master the basic tools and ideas about programming in particular and software developer in general. So, here
-
Python calculate seconds and total_seconds
If you want to calculate the total seconds between two dates. You could be tempted to do a time delta and see the seconds. But this approach will give you an unexpected result. You have to use
-
Logger In python - First Approach
Besides using the print statements and the debugging tools sometimes (more and more frequently) I'm seeing in the code the logging module. According to the python documentation: This module defines
-
Enviroments in Virtual Env
The importance of using environments As was said in Setting environments in Python it’s important to use environments for your deployment, even if these are side projects or wild repositories. But at
-
Testing in Python: Pytest Vs Unit test
How important are the tests? Testing is one of the most important skills we need to develop once we join the industry. In fact, knowing about testing is something that is not as evaluated as it could
-
Why is it important to know what Environment Variables are?
While learning to avoid hardcoding some keys in my projects, I found the concept of environment variables. I've found this interesting article about this topic here in medium: An Introduction to