Explicit variable declaration

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Apr 23 01:10:02 EDT 2008


En Tue, 22 Apr 2008 21:39:41 -0300, Filip Gruszczyński  
<gruszczy at gmail.com> escribió:

> Hello everyone!
>
> It is my first message on this list, therefore I would like to say
> hello to everyone. I am fourth year student of CS on the Univeristy of
> Warsaw and recently I have become very interested in dynamically typed
> languages, especially Python.

Welcome to Python!

> I would like to ask, whether there is any way of explicitly declaring
> variables used in a function? While I am pretty sure, that there is no
> such way in the language itself, I would like to know, whether there
> are any third-party tools to do that. This would be very useful for me
> during development, so I am looking for such a tool.

Not part of the language itself, but there are some tools to do static  
code analysis, like PyLint and PyChecker; see  
http://wiki.python.org/moin/static_source_analysis

-- 
Gabriel Genellina




More information about the Python-list mailing list