[Tutor] using help

Jason Massey jason.massey at gmail.com
Mon Nov 28 21:56:38 CET 2005


Boyan,

A listing of all the built-in exceptions can be found at:

http://docs.python.org/lib/module-exceptions.html


And is this what you're looking for?

>>> a='123'
>>> int(a)
123
>>>

A description of this, and the other built-in functions, is at:

http://docs.python.org/lib/built-in-funcs.html#built-in-funcs

On 11/28/05, Boyan R. <boyanpn at yahoo.com> wrote:
>
> How can I see all error keywords for using Try..Except,
> like EOFError, ValueError etc by typing help('something') ?
> Also, what to type to see string handling commands ?
> like "int" [number = int(raw_input("Enter a number: "))]
> What's python equivalent for basic "val" command ?
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051128/7896d8c7/attachment.htm


More information about the Tutor mailing list