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
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
gt;> import re
> >>> s = 'dddaabcdeddd'
> >>> re.sub('d+', 'd', s, 1)
>
> 'daabcdeddd'
>
> >>> re.sub('d+', 'd', s)
>
> 'dadabcded'
&g
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
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
>
>
>
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
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
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
__
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
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 :)
>
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
, 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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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!
_
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
27 matches
Mail list logo