Home Blog Blog
Riccardo Poggi
Cancel

Install python package in its own virtualenv

This will be a practical example with flexget, but with any other package the drill is the same. Reasons for why you may want to do this: Flexget comes with a lot dependecies. Some of this depending libraries are requiring a specific version. For instance SQLAlchemy==0.7.4 while the latest version is 0.7.5 (as for now). Avoid conflicts between the flexget depending libraries and the one...

How to handle integer and string from input

It’s not very long since I joined the SO community, but even in my short experience I could see that from time to time ir comes a guy trying to build some kind of dungeon/room-based super game in Python without any Python skills. Some time ago I gave an asnwer to someone who seemed to coming straight off php. His Python script was a simple “print a menu and ask at the user what to do”. It wasn...

Stereo Hearts: A Cliché Love Song?

I was struck this morning by the thought that the song Stereo Hearts by Gym Class Hereos (feat. Adam Levine) is incredibly similar to this other cliché-pardy love song by The Axis of Awesome. The Axis of Awesome is an Australian musical comedy act (I’m not sure about what that means, but that’s what the holy wikipedia says about this band). What I know though is that there’s this other awesome...

Can you recognise them all?

I just stumbled upon (and when I say stumbleupon what I’m really meaning is 9gag) this picture with a whole bunch of TV-Show’s main charachters all gathered together in one room: I was only able to spot 15 of them, and my favourite is the one in the down-right corner sat on the couch. How many of them can you recognize? Anna Rettberg, the author of this magnificent drawing, directly provid...

A little of everything!

This is my first post, ever! And to be honest I’m a little excited, I know that I shouldn’t for a endless list of reasons, but I am a little anyway. I never wrote in a blog/something-public-on-the-internet about me, so I’m also a little scared, but I expect nobody to read this, so I’m also a little reassured. I don’t have very much time to spend on this, but since for now it’s like a brand ne...