Tag: Programming
All the articles with the tag "Programming".
-
Django Jinja Isn't a thing
I was reading about Jinja and an article on Wikipedia caught my attention: Jinja (template engine) At the beginning I read: Jinja is similar to the Django So, Django Jinja and Jinja projects are
-
FAKER: Create Unique Random
You have to use: unique.random_int(min=11, max=123) A full example where you can see the creation of a persona is the following: from faker import Faker import pandas as pd fake = Faker() def
-
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
-
What $ in shell scripts means?
In this video: https://www.youtube.com/watch?v=o9THkT5ZPi4&t=308s I saw the weird symbol: echo $? When I'm start looking about it on the internet I discovered that a lot of people has asked, and
-
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
-
What is programming?
've finished reading "Coders at work" a series of interviews between @peterseibel and well-known programmers/coders/(etc). The first edition was in 2009. And in the preface you can read: Yet despite
-
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