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/
> 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
Hey Matata,
>From the website http://www.boddie.org.uk/python/HTML.html:
import urllib
# Get a file-like object for the Python Web site's home page.
f = urllib.urlopen("http://www.python.org";)
# Read from the object, storing the page's contents in 's'.
s = f.read()
f.close()
Hope this helps,
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)])
?
Thanks,
-- Bernd
___
Tutor