-
jose3f23
Some time ago new Pythonista users posted requests to have numpy and other scientific libraries in Pythonista.
Omz kindly answered that the port was hard job mainly due to the need of compiling some fortran code for IOS and ARM.
In my experience numpy setup only needs c compilation. The .f files appear only in the f2py sublibrary of numpy. f2py is needed to translate fortran user code to python and this feature is, of course, no needed in Pythonista. Just comment the f2py line in the numpy setup file.
So I suggest to omz reconsider future inclusion of numpy in Pythonista that would open the door to other packages that need numpy.
I have had a dream....
Thanks for your attention.
-
jose3f23
canvas.translate(0, -screenHeight)
and do not forget that now the origin is top left
-
-
-
-
jose3f23
Thank you @ccc and @achorrath.
The problem I have is that the name of my iPad that appears in the script can not be recognised by the browser in the Mac. I know the problem is related to the DNS not having the Ipad name.
I would like that the script shows the message with the Ipad Ip address. Of course a circumvent is to go to Settings>Wifi and look up for the IP address. This is that I do everyday.
@ccc: nice collection of useful links.
-
jose3f23
With this line
<code>ipAddr = socket.gethostbyname(socket.gethostname() + '.local') </code>Remains the error:
socket.gaierror: [Errno 8] nodename nor servname provided, or not known -
jose3f23
Thank you ccc. But i have the error:
nodename nor servname provided, or not known
-
jose3f23
Very useful script. I use everyday but I need to change the url name of the Ipad to the IP address. i.e.: http://123.456.1.81:8080
That only works in my home wifi network where I know the IP address but not works in another wifi network.
-
jose3f23
I would thank omz to release Scene and Canvas module emulator for use in MacOsx. Not very difficult task as I assume Scene and Canvas wrap UIKit functions.
In other OS like Linux and Windows I understand the job is much more complicated.