Hello,

[sim-ironpython]> python
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> "a".encode()
'a'
>>> ^Z

[sim-ironpython]> ironpython/ipy.exe
IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> "a".encode()
Traceback (most recent call last):
  File , line 0, in <stdin>##86
TypeError: encode() takes at least 1 argument (0 given)
>>>


-- 
-----------------------------------------------------------------
   Stanislas Pinte             e-mail: [EMAIL PROTECTED]
   ERTMS Solutions               http://www.ertmssolutions.com
   Rue de l'Autonomie, 1             Tel:    + 322 - 522.06.63
   1070        Bruxelles              Fax:   + 322 - 522.09.30
-----------------------------------------------------------------
   Skype (http://www.skype.com) id:                  stanpinte
-----------------------------------------------------------------

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to