Posts
Fatalement
Cancel

Agile Tour 2019 Lausanne - Feedback

Yesterday I was at the Agile Lausanne tour. I will write to you what I have learnt yesterday. Conf 1: Is the tester dead in an Agile world? Laurent Bouhier the tester should be in charge of write...

Coding Club des filles

At the EPFL, there is a service dedicated to promoting the sciences to young people and large public. They also have a specific section dedicated to promoting computer sciences for young ladies. Th...

How to easily import data from CSV file in Django

I need to import a lot of data but I do not want to do that manually. How can I take a CSV file and import it in my Django table? I will show you how I use the django-import-export library to do t...

Git stash part 2

If you had by mistake pop a stash in a wrong branch and you now have conflicts, just do 1 2 3 git reset HEAD --hard git checkout my_correct_branch git stash pop

Json in command line

When I am debugging a part of a code which does not work, I print quite often some dictionary of a json object in my shell. Most of the time it happens in one line quite difficult to read, so I ope...

Poetry instead of Pipenv?

One month ago I wrote about Pipenv because I appreciate how it is easy to set up a virtual env and because I have to use at work. Today, I have discovered Poetry, and decide to play a bit with Fi...

NamedTuple

Thanks to an amazing tweet of Sam & Max, I have read an article about how to start with Python in 2019 which give me the opportunity to watch the video Beyond PEP8 from Raymond Hettinger. This...

Guard file

Guardfile to run : 1 2 3 4 pylint pep8 through flake8 mypy tests associated to the file you just saved. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33...