When i try to open a python script it either says theres no ctk module or
no pip
On Sun, Aug 6, 2023, 3:51 PM Peter J. Holzer via Python-list <
python-list@python.org> wrote:
> Mostly, error messages got a lot better in Python 3.10, but this one had
> me scratching my head for a few minutes.
>
>
On 07Aug2023 08:02, Barry wrote:
On 7 Aug 2023, at 05:28, Cameron Simpson via Python-list
wrote:
Used to use a Pascal compiler once which was uncannily good at
suggesting where you'd missing a semicolon.
Was that on DEC VMS? It was a goal at DEC for its compilers to do this well.
No, a PD
> On 7 Aug 2023, at 05:28, Cameron Simpson via Python-list
> wrote:
>
> Used to use a Pascal compiler once which was uncannily good at suggesting
> where you'd missing a semicolon.
Was that on DEC VMS? It was a goal at DEC for its compilers to do this well.
They could output the errors in a
On 06Aug2023 22:41, Peter J. Holzer wrote:
Mostly, error messages got a lot better in Python 3.10, but this one had
me scratching my head for a few minutes.
Consider this useless and faulty script:
r = {
"x": (1 + 2 + 3
On 07/08/2023 08.41, Peter J. Holzer via Python-list wrote:
Mostly, error messages got a lot better in Python 3.10, but this one had
me scratching my head for a few minutes.
...
The error message is now a lot better, of course, but the fact that it
points at the expression *before* the error
Mostly, error messages got a lot better in Python 3.10, but this one had
me scratching my head for a few minutes.
Consider this useless and faulty script:
r = {
"x": (1 + 2 + 3)
"y": (4 + 5 + 6)
"z": (7 + 8 + 9)
[EMAIL PROTECTED] wrote:
... And my problem was that the commands worked on windows but not on
linux.
By the way, shouldn't you be using numpy? I thought numarray was going
away by mid-2008 i.e. now.
I know, but i'm not sure that it's the problem.
It's your job to get certain of some things,
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
On Jun 27, 10:12 pm, [EMAIL PROTECTED] wrote:
> There was an error with the name of the variable I would not ask
> this if it was just a question of different variable names !
>
Calm down. Stop shouting. It is not evident whether the above means
that diff_temp_Stumpf was an error (should
There was an error with the name of the variable I would not ask
this if it was just a question of different variable names !
diff_temp=(logical_and(values[:,5] > -2,values[:,5] < 2)).nonzero()
new_values=values[diff_temp,:]
Okay, I'm going to try to explain that more specifically that I
On Jun 27, 7:54 pm, [EMAIL PROTECTED] wrote:
> Maybe I didn't explain correctly what i wanted to do. I have a
> database and I just want to pick data under a certain criteria. So I
> wanted to use a function like nonzero or find or where to find the
> line for corresponding to the data following th
Maybe I didn't explain correctly what i wanted to do. I have a
database and I just want to pick data under a certain criteria. So I
wanted to use a function like nonzero or find or where to find the
line for corresponding to the data following this criteria. So to find
the lines, I used nonzero and
[EMAIL PROTECTED] wrote:
Hello,
I'm trying to assign data into an array with the nonzero function.
There is my code.
from numarray import *
diff_temp=(logical_and(values[:,5] > -2,values[:,5] < 2)).nonzero()
Does that have something to do with the question below?
This command works fine
Hello,
I'm trying to assign data into an array with the nonzero function.
There is my code.
from numarray import *
diff_temp=(logical_and(values[:,5] > -2,values[:,5] < 2)).nonzero()
This command works fine but when I apply the following,
values_matchup=values_Stumpf[diff_temp_Stumpf,:]
I have
hello,
when i run the following code to Read and tokenize data from a tagged text as follows :
from nltk.corpus import brownfrom nltk.tagger import TaggedTokenizerfrom nltk.tokenizer import *tagged_txt_str=open('corpus.txt' ).read()tagged_txt_token=Token(TEXT=tagged_txt_str)TaggedTokenizer.token
19 matches
Mail list logo