By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,640 Members | 2,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,640 IT Pros & Developers. It's quick & easy.

No in Python3.4

P: 3
Now I have changed my mind and trying,
as python3.4 in Terminal

No, which is in Python2.7

?? How I could take from Python2.7, because I want to be with latest version of Python.

Help please

May 29 '16 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 621

P: 3
I found in python3.4 but it does not supply IntType
import sys
print (sys.path)
from types import IntType

alex@alex-GA-78LMT-USB3:~/Desktop/py$ python3.4
['/home/alex/Desktop/py', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-i386-linux-gnu', '/usr/lib/python3.4/lib-dynload',
'/usr/local/lib/python3.4/dist-packages', '/usr/lib/python3/dist-packages']

Traceback (most recent call last):
File "", line 5, in <module>
from types import IntType
ImportError: cannot import name 'IntType'

HELP, please
May 29 '16 #3

Post your reply

Sign in to post your reply or Sign up for a free account.