AES256 in PyCrypto
Gabriel Genellina
gagsl-py at yahoo.com.ar
Mon Jan 8 11:56:31 EST 2007
At Sunday 7/1/2007 18:23, mirandacascade at yahoo.com wrote:
>Is a docstring is the text between the three consecutive quote
>characters in a .py file? The reason for the question is that I looked
See section 4.6 in the Python Tutorial - I strongly suggest you read
it (or any other introductory text like diveintopython)
>Can docstrings be embedded within the .pyd extension modules as well?
Yes - if the original module writer has provided it.
> >>> x = AES.new(
>As soon as I type the '(' character, the IDE displays:
>new(key, [mode], [IV]): Return a new AES encryption object [...]
>I'm guessing that what the IDE is displaying is the first line of what
>may be multiple-line docstring that is embedded within the .pyd
>extension module? Might there be more lines in the docstring?
I don't know which IDE are you using, but try typing "help(AES.new)"
or simply "help" (without quotes) in the interpreter.
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the Python-list
mailing list