I am using Ubuntu 12.04 64 bit version as a new install.
I downloaded the python2.3.tar.gz
I installed it and started the interpreter
I import Tkinter but get and error message
File "/opt/python/lib/python2.3/lib-tk/Tkinter.py", line 38, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
How do I fix this?
>>> import tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.2/tkinter/__init__.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: /lib64/libtk8.5.so: file too short
>>>
I have already installed 'tkinter
Gentlemen,
A very basic question here. I am trying to set up a Python development environment to learn the language. I have Python 2.7.3 running on Linux mint14. I downloaded IDLE and installed it too, as I need a tabbing editor, and syntax highlighting won't hurt. Clean installs and Python runs just fine. I am past "Hello World!".
So how do I invoke IDLE?
Hello,This may sound a very silly question but please do help:Just recently I started going through python programming tutorial and I noticed that my Python IDLE isn't colorful like we have in Vim editor!So, can anyone please tell me how do I enable coloring in python idle?!thank you
Hi, I wrote a python script(twitter conky plugin); it also has command-line interaction.NOTE: 1. You need the Tweepy library. http://code.google.com/p/tweepy/ 2. You need to register an app at https://dev.twitter.com/apps/newThe python script:# Mad_dev
# Twitter deletion(killme) was taken from a user in an irc chat room, I cant remember his handle.
> adeskbar.0.3.7-all.debDependencies:python , python-gtk2 , python-cairo ( usually already installed )optional : python-dbusplugin :
I had 2 versions of python (i.e) python 2.7 installed by the OS and python 3.2 which i installed from the python site.
I am on fedora 17 with GNOME 3.4.2 and have installed python's IDLE but to get to it I have to run,
Code:
idle
in terminal every time i want to use it and was wondering if there is anyway I could create an icon that I could search for in the application search bar.
Any help would be appreciated