ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
Re: [Tutor] problem importing the PIL and cPickle module
by Kent Johnson other posts by this author
Nov 6 2009 2:13PM messages near this date
[Tutor] problem importing the PIL and cPickle module | [Tutor] can time.time() be reversed so as to get date?
On Fri, Nov 6, 2009 at 12:56 PM, Khalid Al-Ghamdi <emailkgnow@[...].com>  wrote:
>  Hi,
>  I'm currently using python 3.1 and I tried to import PIL and cPickle as per
>  tutorial i was following, but both gave me errors. I tried to download PIL
>  from its respective site, but it only installed on the python 2.6
>  directory.

If you are using a Python 2 tutorial you will find it much easier to
use Python 2.6 instead of 3.1.

>  As for cPickle, I couldn't find it, but I found some kind of reference to
>  _pickle in the python documentation.
>  my questions:
>  is there a way to import PIL to python 3?

No, PIL is not available for python 3

>  is _pickle the same as cPickle?

More or less, but it is used automatically when it is available. You
should just use pickle in Python 3.

Kent
_______________________________________________
Tutor maillist  -  Tutor@[...].org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thread:
Khalid Al-Ghamdi
Kent Johnson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved