On 2019-05-01 17:44, David Sumbler wrote:
>
> On Tue, 2019-04-30 at 20:46 +0100, MRAB wrote:
> > On 2019-04-30 16:40, David Sumbler wrote:
> > > Running Ubuntu 18.04, Python 3.6.7, tkinter 8.6
> > >
> > > I am very new to tkinter. The simple program I am writing requires
> > > a
> > > user file t
On Tue, 2019-04-30 at 20:46 +0100, MRAB wrote:
> On 2019-04-30 16:40, David Sumbler wrote:
> > Running Ubuntu 18.04, Python 3.6.7, tkinter 8.6
> >
> > I am very new to tkinter. The simple program I am writing requires
> > a
> > user file to be selected before it does anything else, so I would
>
On 2019-04-30 16:40, David Sumbler wrote:
Running Ubuntu 18.04, Python 3.6.7, tkinter 8.6
I am very new to tkinter. The simple program I am writing requires a
user file to be selected before it does anything else, so I would like
a file selection dialog in the main window as soon as the program
Hi, Colin.
Thanks for your answer.
But C:\Python27\Scripts is in my path and my trouble is about INSTALL
easy_isntall.
Bye
A.
--
http://mail.python.org/mailman/listinfo/python-list
On 12/02/2013 10:06 AM, Alberto Salvati wrote:
Hi, All.
I'm a (old) delphi developer.
I want to learn Python.
I've python 2.7 and django.
For learning purpose I want to use firebird.
But, package (egg) to use firebird needs easy_install for setup.
When i run:
python ez_setup.py install
pyth
Jim Qiu wrote:
Hi everyone.
I am reading a python library code and found something i can not understand.
Please help!
class Envelope(object):
def __init__(self,ta_info):
self.ta_info = ta_info
def writefilelist(self,ta_list,tofile):
for filename in ta_list:
On Mon, May 18, 2009 at 5:30 PM, Rhodri James
wrote:
> On Mon, 18 May 2009 10:18:52 +0100, Jim Qiu
> wrote:
>
> Please check the blue highlighted part, I don't understand how the object
>> get the property?
>>
>
> Colours and highlighting don't come across in Usenet postings. Could
> you be a
On Mon, May 18, 2009 at 2:18 AM, Jim Qiu wrote:
> Hi everyone.
> I am reading a python library code and found something i can not understand.
> Please help!
> class Envelope(object):
> def __init__(self,ta_info):
> self.ta_info = ta_info
>
> def writefilelist(self,ta_list,tofile):
On Mon, 18 May 2009 10:18:52 +0100, Jim Qiu wrote:
Please check the blue highlighted part, I don't understand how the
object
get the property?
Colours and highlighting don't come across in Usenet postings. Could
you be a bit more specific. Which object, and what property?
--
Rhodri Jame
On Apr 12, 11:01 pm, Peter Otten <__pete...@web.de> wrote:
> zhangle2...@gmail.com wrote:
> > I am just learning Python and get a problem when trying this example:
>
> > from urllib import urlopen
> > doc=urlopen("http://www.python.org";).read()
> > print(doc)
>
> > when i run this, i was tould tha
zhangle2...@gmail.com wrote:
> I am just learning Python and get a problem when trying this example:
>
> from urllib import urlopen
> doc=urlopen("http://www.python.org";).read()
> print(doc)
>
> when i run this, i was tould that 'cannot import name "urlopen"
>
>
> What's wrong with this code?
use urllib2
2009/4/12 :
> hi,
>
> I am just learning Python and get a problem when trying this example:
>
> from urllib import urlopen
> doc=urlopen("http://www.python.org";).read()
> print(doc)
>
> when i run this, i was tould that 'cannot import name "urlopen"
>
>
> What's wrong with this code?
t;To: python-list@python.org
>Subject: Re: A newbie question
>Date: 21 May 2007 16:22:06 -0700
>
>On May 21, 6:04 pm, "wang frank" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am trying to write a python class with a new data type such as:
> &
On May 21, 6:04 pm, "wang frank" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write a python class with a new data type such as:
> class Cc14:
>def __init__(self, realpart, imagpart):
> self.r=realart
> self.i=imagpart
>
>def __add__(self,x):
How about this:
[code]
def __add__(self,x):
return Cc14(self.r+x.r, self.i+x.i)
[/code]
However... Are you aware that Python has built in support for complex
numbers already?
>>> x = 4+5j
>>> y = 4+5j
>>> x+y
(8+10j)
>>>
--
http://mail.python.org/mailman/listinfo/python-list
On May 11, 1:24 pm, "OhKyu Yoon" <[EMAIL PROTECTED]> wrote:
> Hi!
> I am opening files using the wx.FileDialog in wxPython.
> I want to modify the FileDialog such that some information about a
> highlighted file is displayed before I decide to open the file.
> This is what I tried:
>
> class Modifi
flyaflya wrote:
> I use pdb.set_trace() to debug code.the Debugger Commands "enable" and
> "disable" need argumet -- "breakpoint number",but I can't find any
> information about it,so how to can i get the breakpoint number? I think
> "disable","enable" are very useful commands...
I know why I c
Thank you. That's exactly what I needed.
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
If that's not what you wanted, try specifying what you mean
by "preinstalled python libraries". I can think of at least
two things that this phrase might refer to...
For the "where's the standard library" interpretation, the following works on
any platform:
python -c "import
chris wrote:
In what directory are the preinstalled python libraries located on a
Linux RH9 machine?
Run python and at the prompt type "import sys" and then
"sys.path". This should show you where all kinds of
things are installed...
If that's not what you wanted, try specifying what you mean
by "p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] jonel]$ ls /usr/lib/python2.2/
- --
I not know English well, but I know 7 computer languages.
anonymous
On Dec 8, 2004, at 4:38 PM, chris wrote:
> In what directo
21 matches
Mail list logo