Category Uncategorized

Compile PyCrypto on Windows With Visual C++

Install Visual Studio 2008 SP1 Express Edition. Go to the command prompt. First, I had to set the following variable:

Note the trailing backslash – that needs to be there. The value must also NOT be in quotes.

Python – Enhance PyDev’s Code Completion

Because Python isn’t strongly typed, sometimes PyDev doesn’t know what type a variable is – and therefore it cannot give you accurate code completions. Here’s how to make that better. In simpler situations, PyDev works very well. For example: