Die Suche ergab 3 Treffer

von parallelpython
Donnerstag 4. Januar 2007, 02:09
Forum: Allgemeine Fragen
Thema: Parallel Python
Antworten: 4
Zugriffe: 837


Much better:
def isPrime(n):
if not isinstance(n, int):
raise TypeError("n is not from data type int or long")


BTW: The name of the function is not conform with the PEP8 Style Guide . ``is_prime`` ist better as ``isPrime`` :)

Thank you for the feedback!
I've changed the examples section ...
von parallelpython
Donnerstag 4. Januar 2007, 01:58
Forum: Allgemeine Fragen
Thema: Parallel Python
Antworten: 4
Zugriffe: 837

Hi parallelpython, welcome in the forum!

Is it your project?

Hi Leonidas,
Yes, it is my project.


There are examples but I don't see any documentation how it works under the hood.

In short, it creates worker processes which may run on different cpus/cores.
These processes execute jobs in ...
von parallelpython
Mittwoch 3. Januar 2007, 06:29
Forum: Allgemeine Fragen
Thema: Parallel Python
Antworten: 4
Zugriffe: 837

Parallel Python

Does anybody have any experience with parallel python?
Recently I've made Parallel Python for SMP
I would appreciate any comments/suggestions regarding it.
Thank you!