Hello Kent, Bob, Steve
Thank you all for your help and suggestions. I believe I 'll have a good
program soon.
2008/8/17 Kent Johnson <[EMAIL PROTECTED]>
> On 8/16/08, Emad Nawfal (عماد نوفل) <[EMAIL PROTECTED]> wrote:
> > #! usr/bin/python
> > # Chi-squared collocation discovery
> > # Important d
optimum wrote:
Hey. Is there anyone who can give me some help?
Below is the question I was set.
This sounds like a homework assignment. We don't write programs for
assignments. We offer help after you give it your best effort.
I am having trouble with the gaussian function and don't really k
On 8/16/08, Emad Nawfal (عماد نوفل) <[EMAIL PROTECTED]> wrote:
> #! usr/bin/python
> # Chi-squared collocation discovery
> # Important definitions first. Let's suppose that we
> # are trying to find whether "powerful computers" is a collocation
> # N = The number of all bigrams in the corpus
> # O1
On 8/17/08, Robert Johansson <[EMAIL PROTECTED]> wrote:
> Hi, I have problems using characters from the Swedish language. I tried the
> following in IDLE under MacOS X leopard (running Python 2.5.1) :
> S='ö'
> Displaying error message: "unsupported characters in input".
To use non-ascii charac
On 8/17/08, Rick Pasotto <[EMAIL PROTECTED]> wrote:
> I have a dictionary that looks like: d = {k:[v1,[v2,v3,v4]]}
>
> v1,v2,v3,v4 are integers.
>
> I want to print the dictionary sorted by v1, high to low.
Do you want just the keys, or the key/value pairs, or what?
> sorted(d,operator.itemgetter
Hey. Is there anyone who can give me some help?
I am having trouble with the gaussian function and don't really know where
to start.
Below is the question I was set.
"Write a program which asks the user for values
of xmin, dx and nx. The program should then
output a plot of the gaussian function
I have a dictionary that looks like: d = {k:[v1,[v2,v3,v4]]}
v1,v2,v3,v4 are integers.
I want to print the dictionary sorted by v1, high to low.
sorted(d,operator.itemgetter(0),reverse=True)
gives me the keys in some order different than if I just looped through
the dictionary and not in key or
> Message: 3
> Date: Sun, 17 Aug 2008 01:28:23 -0400
> From: xbmuncher <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Is there python editor or plugin for a python
> editor for curly brackets around code blocks?
> To: "Timothy Grant" <[EMAIL PROTECTED]>
> Cc: tutor@python.org
> Message-ID:
>
On 8/16/08, Emad Nawfal (عماد نوفل) <[EMAIL PROTECTED]> wrote:
> Thank you so much Steve,
> I followed your advice about calculating o the fly and it really rang a
> bell. Now I have this script. It's faster and does not give me the nasty
> memory error message the first one sometimes did:
A few h
Hi, I have problems using characters from the Swedish language. I tried the
following in IDLE under MacOS X leopard (running Python 2.5.1) :
S=ö
Displaying error message: unsupported characters in input.
Running Python from a terminal I cant even type the character, all that
happe
10 matches
Mail list logo