[Tutor] Aug 1 & 16- Global VOIP Free SW HW Culture meeting, BerkeleyTIP, For Forwarding

2009-08-01 Thread john_re
Interested in joining the friendly global Free SW HW & Culture communities in a global Voice meeting? You´re invited. :) You can join from your home, or better: get a local meeting together. Tip: a college WiFi cafe could be a great local meeting place. Make sure you have a VOIP headset! For

[Tutor] Tkinter

2009-08-01 Thread Robert Johansson
Dear all, I have a problem with Tkinter and swedish letters such as ä (or '\xe4'). Here’s a small code example that counts the number of occurrences of the letter ‘a’ is in a string given by the user: from Tkinter import * root=Tk() def callback(): a=textLine.get() print a.cou

Re: [Tutor] flag to call methods on objects?

2009-08-01 Thread Dave Angel
(You replied off-list, so I'm copying your email, plus my response, to the list) prasad rao wrote: >I still see four problems. Hello Dave.I made modification as suggested by you. You made the first three. But the problem of zlib.compress() producing a string with an embedded (0a) sti

Re: [Tutor] Tkinter

2009-08-01 Thread Kent Johnson
On Sat, Aug 1, 2009 at 5:05 AM, Robert Johansson wrote: > Dear all, I have a problem with Tkinter and swedish letters such as ä (or >  '\xe4'). Here’s a small code example that counts the number of occurrences > of the letter ‘a’ is in a string given by the user: > > > > from Tkinter import * > > >

[Tutor] [pygame] why does my window not close?

2009-08-01 Thread David
Dear Tutors, I have written a simple pygame program: import pygame, sys pygame.init() screen = pygame.display.set_mode([640, 480]) screen.fill([255,255,255,255]) pygame.draw.circle(screen, [0,255,0], [150,200,], 30, 0) my_rect = (250, 150, 300, 200) pygame.draw.rect(screen, [0,0,255], my_rect, 0

[Tutor] Question about the FONT in Tkinter

2009-08-01 Thread Mohannad Mohammad
Hello all, Kindly refer to the attached photo. There are two sentences appearing when the user checked two checkbutton, I make it as a practice. ok I want to change the font of these two sentences. how? This is the code I use to make this simple application: from Tkinter import * class Appl