[Tutor] Finding the version # of a module, and py module problem

W. eWatson wolftracks at invalid.com
Sat Aug 7 18:12:50 CEST 2010


On 8/6/2010 7:18 PM, Philip Semanchuk wrote:
>
> On Aug 6, 2010, at 3:14 PM, W. eWatson wrote:
>
>> I must be missing something. I tried this. (Windows, IDLE, Python 2.5)
>
> Yes, as Benjamin Kaplan pointed out and as I said in the email where I
> posted this code snippet, "dependencies is a list of custom classes that
> represent modules we need (e.g. numpy)." The code I posted was not meant
> to be a complete working example. It's part of a larger piece of code
> that I didn't have time to cook down to a simpler, self-sufficient whole.
>
> Also, in your list you've got "numyp" instead of "numpy".
>
> Also, at the top of your code you have "import numpy" and "import scipy"
> which defeats the purpose of this code.
>
Good. It worked. Are there other attributes of a module that can help 
identify it further? Release date, ...?



More information about the Python-list mailing list