[Tutor] gtk.TreeView displays all right on Windows, but can't see the values on Ubuntu

2012-04-24 Thread Lion Chen
Hi, All, first thanks the people who gave helps to me, :) now i encountered another question... my first program LionCalculator, works ok on Windows, but there is a problem on Ubuntu. LionCalculator has a function that can store the previous calculation results to the gtk.ListStore((gobject.TYPE_

[Tutor] Help with graphic file

2012-04-24 Thread Ivor Surveyor
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] Type "help", "copyright", "credits" or "license" for more information. Dear Steven D'Aprano I am most grateful for you directing me towards the file "graphics.py." I was able to download the file and inserted a copy in

Re: [Tutor] Fwd: The results of your email commands

2012-04-24 Thread 叶佑群
于 2012-4-24 18:13, Joel Goldstick 写道: On Tue, Apr 24, 2012 at 4:11 AM, 叶佑群 wrote: Hi, all I have two block code as: Block 1: #.. pobj = subprocess.Popen (["passwd", user], stdout=subprocess.PIPE, stdin = subprocess.PIPE) password = password + "\n"

Re: [Tutor] Fwd: The results of your email commands

2012-04-24 Thread Joel Goldstick
On Tue, Apr 24, 2012 at 4:11 AM, 叶佑群 wrote: > Hi, all > >    I have two block code as: > > Block 1: >            #.. >            pobj = subprocess.Popen (["passwd", user], > stdout=subprocess.PIPE, stdin = subprocess.PIPE) >            password = password + "\n" >            pobj.stdin.write

Re: [Tutor] Help with graphics please

2012-04-24 Thread Steven D'Aprano
On Tue, Apr 24, 2012 at 03:57:58PM +0800, Ivor Surveyor wrote: > > I request help in locating the graphics module "graphics.py" Have you tried searching for "Python programming by John Zelle graphics.py" on any of the major search engines, like Google, Yahoo or DuckDuckGo? That should always be

[Tutor] Fwd: The results of your email commands

2012-04-24 Thread 叶佑群
Hi, all I have two block code as: Block 1: #.. pobj = subprocess.Popen (["passwd", user], stdout=subprocess.PIPE, stdin = subprocess.PIPE) password = password + "\n" pobj.stdin.write (password) pobj.stdin.write (password)

[Tutor] Help with graphics please

2012-04-24 Thread Ivor Surveyor
I request help in locating the graphics module "graphics.py" I am new to both programming and Python. I have successfully down loaded Python 2.7.2 and WingIde 101 4.1. I am using Windows 7 as my operating system. I am reading Python programming by John Zelle supplemented by MIT lectures