Catégories
Uncategorized

Supprimer les duplicatas de mail

Utiliser maildir-deduplicate, mais attention il y a un bug concernant Unicode, une solution de contournement est décrite ici : https://github.com/kdeldycke/maildir-deduplicate/issues/32

 

 

Catégories
Uncategorized

Supprimer les 10 premières secondes d’un fichier mp3

sudo apt-get install poc-streamer
mp3cut -o trim.mp3 -t 00:10  PasaPas_ParisCombo.mp3

Le fichier trim.mp3 ne contiendra pas les 10 secondes de blanc du fichier PasaPas_ParisCombo.mp3

 

Catégories
Uncategorized

Python for the impatient has a new home !

Thanks to Aritra Das from facebook’s Python Programmers Community, Python for the impatient is kindly hosted over at http://pythonfortheimpatient.scribblehead.info.

You too can join the Python Programmers Community ! we have an excellent panel of contributors from more than 20 countries. Come over and have a great time with us !

Catégories
Uncategorized

Python for the impatient — Chapter 6 : loops and conditionals

Go to full chapter

Catégories
Uncategorized

Python for the impatient — Chapter 5 : Mutable vs Immutable types

Go to full chapter

Catégories
Uncategorized

Python for the impatient — Chapter 3 : collection types

Go to full chapter

Catégories
Uncategorized

Python for the impatient — chapter 2 : functions

Go to full chapter

Catégories
Uncategorized

Python for the impatient : Chapter 1 – The Python REPL and basic types

Link to the chapter

Catégories
Uncategorized

Python for the impatient

I am currently working on a short e-book about python programming for developers who already know another language. There are of course many books already written, most of them targeting beginners. My goal was to create a rather short book that introduces you to the specifics of the language without necessarily explaining what an if condition is or what the while loop does, so reading the book shouldn’t take too long before you code your first lines.

I would be delighted to hear from you in the comments and if you wish to participate in writing this e-book it would be the first python programmers community e-book, by the community, for the community (and for myself 🙂 ).

As for now I have a title in mind : python for the impatient.

I worked on a book cover, it sucks bad I know. If any talented designer who want to volunteer, that would be awesome.

book_cover

I think I’ll post chapters when they’re finished and collect comments to enhance them.

I hope I’ll finish this book someday. I’m just so used to start a personal project and never finish it. Wish me good luck !

Catégories
Uncategorized

Itertools.takewhile

Itertools is a standard python library module that has a number of interesting functions. In this article, we’ll show an example usage of its takewhile function. This function takes two arguments :