[Tutor] Newbie Question

2015-11-11 Thread George Henry
How do I find a site to download Python for Windows that includes a Toolbar? I'm using Windows 8.1 Have tried installing Python 3.4.2 but notice that the Python shell does not include a tool bar (i.e. File, Edit, Shell, Debug, etc.). Help please. Thanks! _

[Tutor] Calculating and displaying students record in Python v12 (Odoo)

2015-03-11 Thread Elroi Henry
 Hello everyone, am a newbie in python programming language. I am working on a student management system for a primary school using Odoo (Python v12). please am having problems with the report as certain fields are not being calculated. Here is the link to the image of what I'm trying to achieve

Re: [Tutor] Tutor Digest, Vol 128, Issue 22

2014-10-10 Thread Henry
Hi I am new to programming. After I created two text files(the text file is most consist of numbers), its class is "", how can I compare this class with two text files? Please give me a hint which area I should look under? Set? List? Thanks Henry On Fri, Oct 10, 2014 at 12:04

[Tutor] Praser

2011-10-22 Thread Henry
Hi Steven, First of all, I want to able to download the data from the web into the database. Here is the part of the link: http://boc.quotepower.com/web/bochk/stocks_mktTransactions.jsp?lang=en&domain=NCBHK&rand=-74344993&lastLevel1Name=nav_stocks&lastStock=5 I hope I can use the download data t

[Tutor] How to get MAC address using Python at Solaris

2008-03-11 Thread Henry Zhang
Hi there, I am curious if there is any way in Python to get MAC address at Solaris? I searched from google, didn't find a good idea. So could anyone give some comment? Thanks, Henry ___ Tutor maillist - Tutor@python.org http://mail.pytho

Re: [Tutor] Need help on "How to Think Like a Computer Scientist:Learning with Python".

2007-08-15 Thread Henry Dominik
We've all been there. But what exactly is the problem you're having? Its really hard to know what sort of help you require if you didn't tell us what the problem is. Please help us to help you! Ciao - Original Message - From: "Vanneth Tea" <[EMAIL PROTECTED]> To: Sent: Wednesday, A

Re: [Tutor] Class error

2007-06-17 Thread Henry Dominik
Well, I need to learn more :) Thanks anyway --Dom - Original Message - From: "Alan Gauld" <[EMAIL PROTECTED]> To: Sent: Sunday, June 17, 2007 7:28 PM Subject: Re: [Tutor] Class error > > "Henry Dominik" <[EMAIL PROTECTED]> wrote > > >

[Tutor] Class error

2007-06-17 Thread Henry Dominik
Hello people, I was trying my hands on Python's Classes and have a first hurdle and can't seem to get past it. -Below is the error message -- Traceback (most recent call last): File "C:/Development/python/EmplAddrBookEntry.py", line 3, in -toplevel- class EmplAddrBookEntry(AddrBoo

Re: [Tutor] information

2006-09-07 Thread Henry Dominik
Nice to have you around! This list is to help with any problem you may be having with the language and how to solve certain problems.   So, if you have specific questions, please do post them. And be warned, no one here would like to do any homework for you.   Enjoy you stay   Dom - O

Re: [Tutor] Problem with Pythonwin

2006-09-03 Thread Henry Dominik
It is very hard to know what caused that, but could you post the piece of code you were trying to execute??   Or did you get the error when you opened the Pythonwin without any code??   -- Dominik     - Original Message - From: Asrarahmed Kadri To: tutor@python.org Sent: S

Re: [Tutor] GUI Programing

2006-08-31 Thread Henry Dominik
This guy has been documenting his progress as he learns Python GUI programming. See if you can pick up a few tips http://www.learningpython.com/   - Original Message - From: Amadeo Bellotti To: Tutor Sent: Thursday, August 31, 2006 9:12 PM Subject: [Tutor] GUI Progra

Re: [Tutor] Tkinter Icon Suse 10

2006-08-27 Thread Henry Finucane
I found this mailing list message to be enlightening: http://mail.python.org/pipermail/python-list/2005-March/273123.html On 8/27/06, Alberto Troiano <[EMAIL PROTECTED]> wrote: > I tried that but still the same error. Any other idea? > > Rgds, > > Alberto > > > 2006/8/25, Alberto Troiano <[EMAIL PR

Re: [Tutor] Community documentation framework?

2006-08-07 Thread Henry Finucane
On 8/6/06, Bob Nienhuis <[EMAIL PROTECTED]> wrote: > > Have you had the experience of finding a nifty bit of code on the > web, trying it out, and then discovering that technique > only worked in version X.YY, or requires module Z that > is no longer available? > > Well perhaps we can address

[Tutor] This will run on Outlook but not Outlook Express

2006-08-05 Thread Grady Henry
The following script will run on Microsoft Outlook but not on Outlook Express:   from win32com.client import Dispatchs=Dispatch("Mapi.Session")s.Logon()newMsg = s.Outbox.Messages.Add("Hi from Python", "Hello")recip = newMsg.Recipients.Add("Greg Hart", "SMTP:[EMAIL PROTECTED]")newMsg.Send()s

Re: [Tutor] File like object for Windows registry

2006-08-03 Thread Henry Finucane
On 8/3/06, Andre Roberge <[EMAIL PROTECTED]> wrote: > On 8/3/06, Henry Finucane <[EMAIL PROTECTED]> wrote: > > On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello! > > > > > > My app should run on debian and windows platforms

Re: [Tutor] File like object for Windows registry

2006-08-03 Thread Henry Finucane
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello! > > My app should run on debian and windows platforms. For storing the > configuration data, I use the ConfigParser module. > > What I find difficult is to determine a place for my configuration file. On > debian, it is simply > > o

[Tutor] So close! But ... error: (10054, 'Connection reset by peer')

2006-07-16 Thread Grady Henry
I think that I am so close to getting this simple program to run correctly:   # Import smtplib for the actual sending functionimport smtplib   # Import the email modules we'll needfrom email.MIMEText import MIMEText   # Open a plain text file for reading.  For this example, assume that# the

[Tutor] error: (10054, 'Connection reset by peer')

2006-07-15 Thread Grady Henry
   line = self.file.readline()  File "C:\Python24\lib\socket.py", line 340, in readline    data = "">error: (10054, 'Connection reset by peer')   Anybody have any suggestions?   Grady Henry ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Python Programming Books

2006-07-13 Thread Grady Henry
I have three books on Python programming, "Learning Python" by O'Reilly, "Beginning Python" by Hetland, and "Python in a Nutshell" by O'Reilly. Are these good (recommended) books? Any others that might be recommended? ___ Tutor maillist - Tutor@p

[Tutor] How do I get my machine to run an SMTP server?

2006-07-11 Thread Grady Henry
essage, and multiplerecipients may be given.   The email is sent by forwarding to your local SMTP server, which then does thenormal delivery process.  Your local machine must be running an SMTP server.   Traceback (most recent call last):  File "C:\Documents and Settings\User\Desktop\EB2.

[Tutor] error: (10054, 'Connection reset by peer')

2006-07-09 Thread Grady Henry
, in ?    s.connect()  File "C:\Python24\lib\smtplib.py", line 307, in connect    (code, msg) = self.getreply()  File "C:\Python24\lib\smtplib.py", line 348, in getreply    line = self.file.readline()  File "C:\Python24\lib\socket.py", line 3

Re: [Tutor] Tkinter pass-by-reference query

2006-05-20 Thread Henry Finucane
Thanks for your help, I've gotten it to work. On 5/20/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > > While attempting to add images to a canvas programmatically, I wrote > > the following: > > for i in os.listdir('./icons/terrain'): > > ... img = PhotoImage(file='./icons/terrain/'+i) > > self.terr

Re: [Tutor] Please help!!

2006-05-19 Thread Henry Finucane
On 5/19/06, MATATA EMMANUEL <[EMAIL PROTECTED]> wrote: > > > > Hi there, Hi! > > I'm tasked to write a Paython script which is supposed to hit a web site and > download a shapefile from that web site. Cool. Look at urllib in your python documentation. > I don't have any clue and Me neither :) >

[Tutor] Tkinter pass-by-reference query

2006-05-19 Thread Henry Finucane
While attempting to add images to a canvas programmatically, I wrote the following: for i in os.listdir('./icons/terrain'): self.terrainScreen["height"] = str(int(self.terrainScreen["height"])+50) debug(self.terrainScreen["height"]+" height of terrainScreen",5) img = PhotoIm

[Tutor] Runing a Python program

2006-05-12 Thread Henry Dominik
t   Traceback (most recent call last):  File "", line 1, in -toplevel-    import mypythonFiles.readOut   ImportError: No module named myPythonFiles.readOut   >>> How do I run a program that is placed on its own folder/directory?   Thanks   Henry __

Re: [Tutor] [webbrowser] some help on an error running mozilla firefox

2006-01-23 Thread Henry Finucane
On 1/22/06, Rinzwind <[EMAIL PROTECTED]> wrote: > Why does this: > > >>> import webbrowser > >>> webbrowser.open('http://www.google.com";) > > give me this: > > run-mozilla.sh: Cannot execute > /opt/firefox/mozilla-firefox-bin. > I would assume it's a permissions error. Can you exec

Re: [Tutor] A simple Perl to Python regex xlation question

2005-04-22 Thread Gavin Henry
gt;> import re > >>> s = 'dddaabcdeddd' > >>> re.sub('d+', 'd', s, 1) > > 'daabcdeddd' > > >>> re.sub('d+', 'd', s) > > 'dadabcded' &g