MICHAEL BASHAGI wrote:
[Please send your posts to the mailing list, not individual posters. Thank
you.]
> But the PIL doesn't work in my version of Python, i use Python 3.4
If you are still working on this: as Tim hinted there is a fork of PIL
called Pillow with installers for Python 3.4. See
Alan Gauld writes:
> On 09/03/14 19:56, Ben Finney wrote:
> > Now all I need is for the Tkinter-using community to change itself
> > to fix this confusing practice [‘from tkinter import *’]. I won't
> > hold my breath.
>
> I don't find everyone in the Tkinter community using from tkinter
> import
On 09/03/2014 21:35, Alan Gauld wrote:
On 09/03/14 19:56, Ben Finney wrote:
Then I'm further confirmed in my view that ‘from tkinter import *’ is
dreadful practice, especially for a system we recommend to newcomers.
Its always dreadful practice for production code regardless of the
module. It
On 09/03/14 19:56, Ben Finney wrote:
Then I'm further confirmed in my view that ‘from tkinter import *’ is
dreadful practice, especially for a system we recommend to newcomers.
Its always dreadful practice for production code regardless of the
module. Its OK for playing at the >>> prompt but
Peter Otten <__pete...@web.de> writes:
> Ben Finney wrote:
> > And Python is correct, the ‘Image’ type has no ‘open’ attribute. What
> > leads you to think that would work? If there is some article online
> > telling you to use that, it's incorrect; please help us to correct that.
>
> There are a
On 09/03/2014 17:06, Alan Gauld wrote:
On 09/03/14 10:37, Peter Otten wrote:
In this case, I'm fairly sure the line producing this error is::
image = Image.open("logo.jpg")
And Python is correct, the ‘Image’ type has no ‘open’ attribute. What
There are a few things around called `Image
On 09/03/14 10:37, Peter Otten wrote:
In this case, I'm fairly sure the line producing this error is::
image = Image.open("logo.jpg")
And Python is correct, the ‘Image’ type has no ‘open’ attribute. What
There are a few things around called `Image`. The code the OP is trying to
adapt pr
Ben Finney wrote:
> Welcome, Michael!
>
> MICHAEL BASHAGI writes:
>
>> when i run those codes i get this error message:-
>
> When showing an error, please show the entire traceback; it usually
> contains information useful for diagnosing the problem.
>
>> AttributeError: type object 'Image' h
Ben Finney writes:
> It's best not to guess what attributes are in a type (otherwise known as
> the “API” for the type). Instead, consult the documentation. For
> Tkinter, that is http://www.python.org/topics/tkinter/>.
My apologies; there's a broken link in the documentation.
Use this instead
Welcome, Michael!
MICHAEL BASHAGI writes:
> when i run those codes i get this error message:-
When showing an error, please show the entire traceback; it usually
contains information useful for diagnosing the problem.
> AttributeError: type object 'Image' has no attribute 'open'
In this case,
i wanted to use a .jpeg image file on a label in a small program that am
building in Python, i use Window 7 professional OS, and Python 3.4here
are my codes:-
import sys
from tkinter import *
#Window
mGui=Tk()
mGui.geometry("1000x500")
mGui.title("Kamusi")
#Functions
#Variables
ment=StringV
11 matches
Mail list logo