Can a couple of Vista and XP users please test this out?
Thanks - Stephen
_
Could anyone help reproing this minor IDLE
bug?http://bugs.python.org/issue3841I found it on Windows Vista with Python 2.5
/ IDLE 1.2.2.Other people have reported it does NOT occur with either:Win XP /
Python 2.5
Title: Signature.html
Yes, I noticed that it does not seem to correspond to the actual code.
The "print updown" line is not to be seen and the line # it points to
seems erroneous. Line 35 is the "Date OK" remark. I'm going to bring
down IDLE. To see if that helps.
Well, it made a difference,
Dear all,
I am a bit stuck in a small project, trying to quit a PyGTK program.
Here are some relevant snippets:
def init_gui (self) :
self.window = gtk.Window (gtk.WINDOW_TOPLEVEL)
self.window.connect ("delete_event", self.
"Patrick" <[EMAIL PROTECTED]> wrote
is of paramount importance. It appears to me that Django is an
all-in-one monolithic application. Years ago Zope was the number 1
and now it's basically gone.
Zope is still around but it has retreated into something of a niche
where it offers its own uniqu
On Fri, Sep 19, 2008 at 21:51, Wayne Watson
<[EMAIL PROTECTED]> wrote:
The code does not belong the Traceback. When I run the code I get a
different issue, see below.
> def sync_high2low_files():
> morris()
> sync_low2high_files()
Search for the difference.
Greets
Sander
_
On Fri, Sep 19, 2008 at 3:51 PM, Wayne Watson
<[EMAIL PROTECTED]> wrote:
> In some code I'm writing, I ran into a problem with the variable updown. I
> want it to be global. I cut down the code to near the essentials. I set a
> variable abc, and it seems to be happy with an almost identical use of
Title: Signature.html
In some code I'm writing, I ran into a problem with the variable
updown. I want it to be global. I cut down the code to near the
essentials. I set a variable abc, and it seems to be happy with an
almost identical use of updown. Where's this going wrong? Although
there's an
Sorry to create another post and fill up everyones mailboxes but I
forgot something important...
In terms of searching for documentation I believe you should look to the
framework of your choice. There is not that much non-cgi related
programming documentation out there-patrick
Alan Gauld wr
Hi Dorje and Alan
First off, everything that Alan has said is true and I would like to
re-iterate my lack of qualifications. I depend on people like Alan to
guide me. Just a couple of days ago I posted an extremely silly question
about shell programming.
So having said that I think there are
"Patrick" <[EMAIL PROTECTED]> wrote
I am in the small minority of people who are don't like frameworks.
There used to be a small minority of people who didn't like compiled
or other high level languages. But they gradually died out... There
was even a very small community who didn't like assem
On Fri, Sep 19, 2008 at 12:19 PM, Patrick <[EMAIL PROTECTED]> wrote:
> According to this article there have been changes to 350K lines of code in
> Django:
> http://www.djangoproject.com/weblog/2008/sep/03/1/
Note there are also 40,000 lines of new documentation.
> I am sure this is an awesomely
Things you need to know. In order
* HTML
* Javascript
* CGI Webscripting, this teaches you the difference between GET and POST,
with this you can make simple things, like a page view counter for example,
or a simple game of hangman.
* Web framework or Templating language, python is not we
Hi Dorje
I am a beginner like you, I can't provide perfect advice but I have been
working through this same problem for months.
If you use Python CGI you can get started right away with virtually any
hosting company but the performance is terrible and the Python
interpreter installed will be
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of dorje tarap
> Sent: Friday, September 19, 2008 9:38 AM
> To: Tutor@python.org
> Subject: [Tutor] Web programming advice
>
> Hi All,
>
> I would really like to learn about using python for creating a website
> from scratch to a
Hi All,
I would really like to learn about using python for creating a website
from scratch to allow me to learn about web programming and python.
I have zero experience of web programming, and some limited exposure
to python. Can someone recommend a book or resource that will
introduce me to web
Try taking a look at nltk:
http://nltk.org
> Date: Fri, 19 Sep 2008 12:05:39 +0200
> From: Daniele <[EMAIL PROTECTED]>
> Subject: [Tutor] Name Generator
> To: tutor@python.org
> Message-ID:
><[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="utf-8"
>
> Hi list,
> I'd like to implem
On Fri, Sep 19, 2008 at 7:20 AM, bob gailer <[EMAIL PROTECTED]> wrote:
> FWIW I'd like to see all numbers have real and imag attributes.
Your wish has been granted in Python 2.6.
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailm
Well, I know it doesn't repro with python 2.5 on ubuntu 8.04.
-Wayne
On Fri, Sep 19, 2008 at 4:49 AM, Stephen McInerney
<[EMAIL PROTECTED]>wrote:
> Could anyone help reproing this minor IDLE bug?
> http://bugs.python.org/issue3841
> I found it on Windows Vista with Python 2.5 / IDLE 1.2.2.
> Othe
On Fri, Sep 19, 2008 at 5:43 AM, Stephen McInerney
<[EMAIL PROTECTED]> wrote:
> Two questions about complex numbers:
>
> a) why are methods __add__,__mul__ defined but not the
> operators '+','-','*','/' ?
This is true of all the numeric types. The method that implements +
for a type is called __
Stephen McInerney wrote:
Two questions about complex numbers:
a) why are methods __add__,__mul__ defined but not the
operators '+','-','*','/' ?
I must be missing something. There operators work for me:
>>> a=1+2j
>>> b=2+3j
>>> a+b, a-b, a*b, a/b
((3+5j), (-1-1j), (-4+7j), (0.61538461
Stephen McInerney wrote:
Why does the complex.__str__() method on complex numbers add the
enclosing parentheses?
Because it was designed that way and then implemented to follow the
design.
Or are you asking why it was designed that way? I guess you'd have to
ask the designer.
At least
On Fri, Sep 19, 2008 at 4:26 AM, Stephen McInerney
<[EMAIL PROTECTED]>wrote:
>
> Why does the complex.__str__() method on complex numbers add the enclosing
> parentheses?
> It's unwanted, and it also makes them look like a tuple (other than the
> trailing comma).
> How can I get rid of it, other t
On Fri, Sep 19, 2008 at 4:49 AM, Paul McGuire <[EMAIL PROTECTED]> wrote:
> because validate, being a transitive verb, tells us we are going to do
> something to config, but since 'validate' is not a name that clearly
> asserts
> a truth or falsity, we aren't exactly sure what validate is going to
Hi list,
I'd like to implement a Name Generator based on a grammar (
http://en.wikipedia.org/wiki/Context-free_grammar). Are there any standard
modules that automatically generate words based on a grammar?
thanks for help,
Daniele
___
Tutor maillist - T
>>> the below doesn't work in python
>>> >>> if !(os.access(target_dir, os.F_OK)):
>>> SyntaxError: invalid syntax
What is that '!'? doing there? A left-handed factorial?
I'm just kidding, I know that '!' is a common 'not' operator in many other
programming languages. But this is Python, ma
Two questions about complex numbers:
a) why are methods __add__,__mul__ defined but not the operators
'+','-','*','/' ?
How can I bind the methods to the obvious operators (without creating a custom
subclass of complex?) It seems pretty weird writing a.__add__(b)
b) Say I have a list ll whic
Could anyone help reproing this minor IDLE
bug?http://bugs.python.org/issue3841I found it on Windows Vista with Python 2.5
/ IDLE 1.2.2.
Other people have reported it does NOT occur with either:
Win XP / Python 2.5 / Idle 1.2 Mac OS X 10.5.4 / Python 2.5.2 / IDLE 1.2.2
Can anyone repro it on
Why does the complex.__str__() method on complex numbers add the enclosing
parentheses?
It's unwanted, and it also makes them look like a tuple (other than the
trailing comma).
How can I get rid of it, other than the clunky:
>>> print d(0.80-0.58j)>>> print repr(d)[1:-1]0.80-0.58j
How can
28 matches
Mail list logo