does not work. I am not
sure, but the number i running through the primes for checking does not seem to
work properly.
Would you please be so kind as to help?
Thank you very much.
Best wishes,
Bernd
# This program calculates the prime factors of a number entered.
primefactors = []
n, num = 0
Does anybody know if there is a precision difference when I use mpmath and
take an expression:
from mpmath import *
mp.dps = 100
mu0 = [mpf('4') * pi * power(10, -7)
rather then:
mu0 = fprod([mpf('4'), pi, power(10, -7)])
ead()
f.close()
Hope this helps,
-- Bernd
MATATA EMMANUEL wrote:
>
> Hi there,
>
> I'm tasked to write a Paython script which is supposed to hit a web
> site and download a shapefile from that web site. I don't have any
> clue and would like
Hi,
I have a python script that I want my users to execute with a
"Right-Mouse-Click" on a file under Windows XP.
(If possible without changing the default "Open with ..." behavior from
Windows.)
Does anybody has a simple example on how to do tha
> Rumor has it that Bernd Prager may have mentioned these words:
>
> [snippety]
>
>> # curses.delwin(s) <-- that doesn't exist :-/
>
> I've *only* done curses in python, so quite often I don't know the C
> analogue, but try:
>
> curses.endwin
Hi,
I'm trying to get my hands on some curses experiences in Python.
The examples I found don't really tell me how to get rid of subwindows and
restore the underlying window again. Is there something that replaces the
curses functionality "delwin"?
Thanks for any help!
Here's my example:
#!/usr/