Python on windows phone

def(x: Experience):Code

I’ve been doing development work in Python and as an experiment I thought I’d have a go at getting Python installed on my Windows Mobile PDA . It’s an HP iPaq running Windows Mobile 6 (CE OS 5.2.1.1616).

I installed PythonCE-2.5-20061219-setup.exe from sourceforget.net and amazingly it worked first time!

After clicking Start -> Programs -> Python I was able to verify that it worked by typing

>>> print ‘Hello World’
Hello World

Using Ilium Software Screen Capture software I was able to get a screen shot very easily. It can be downloaded from http://www.mobiletopsoft.com/pocket-pc/download-ilium-software-screen-capture-free-1-1.html

  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps
  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps

Comments

Python libraries on an air-gapped machine

The Problem Development and test clusters may be air-gapped so that client data or sensitive software under development is less likely to be leaked. This can cause problems when trying to install libraries, e.g. for Python-based software, especially if the cluster has an old version of a Linux OS installed. The Solution Setup Python’s pip on the remote machine On an Internet-enabled machine, download the Wheel file for pip from https://pypi.python.org/pypi/pip , such as pip-9.0.1-py2.py3-none-any.whl. Copy the Wheel file (e.g. pip-9.0.1-py2.py3-none-any.whl) to the remote machine, e.g. using scp: scp pip-9.0.1-py2.py3-none-any.whl user@host:/path On the remote machine: python pip-9.0.1-py2.py3-none-any.whl/pip install —no-index pip-9.0.1-py2.py3-none-any.whl pip —version # this should display the version number if correctly installed Download the required libraries On an Internet-enabled machine, download the library and its dependencies using the fol

  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps
Читайте также:  Forms html как сделать

Getting started with Kafka and Kafka Tool

This provides a quick introduction to setting up a local Kafka instance and using Kafka Tool to view the messages. The initial part of the Kafka tutorial is adapted slightly from http://kafka.apache.org/quickstart.html . The following are steps for: Downloading and unpacking Apache Kafka in Linux Starting the Zookeeper and Kafka servers Creating a new topic Adding and viewing messages using the command line tools Use Kafka Tool to view the messages in a topic Step 1: Download Kafka cd ./Downloads/ wget http://mirror.catn.com/pub/apache/kafka/0.10.0.0/kafka_2.11-0.10.0.0.tgz tar -zxf kafka_2.11-0.10.0.0.tgz cd kafka_2.11-0.10.0.0 Step 2: Start the Zookeeper and Kafka servers Check the Kafka port in zookeeper.properties by looking at clientPort (typically 2181) in config/zookeeper.properties Start Zookeeper with: bin/zookeeper-server-start.sh config/zookeeper.properties and then start Kafka: bin/kafka-server-start.sh config/server.properties Step 3:

  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps

Communicating between a Windows laptop and the Windows Mobile PDA using sockets

Introduction Having successfully installed Python on my Windows Mobile PDA I wanted to investigate if I could communicate between my Windows XP machine and my PDA using sockets. I used Cygwin to act as a Linux emulator, although there are Windows-based Python solutions, such as Enthought’s Pylab . Step One: Communication between processes on the same machine As a first step, try communication between processes on a single machine. I used the command ipconfig in a Windows command prompt to determine that my IP address is 192.168.1.64. To create the server, I used the following Python code, which is largely from http://www.devshed.com/c/a/Python/Sockets-in-Python/1/ . Create a file called server.py with the following contents: #! /usr/bin/env python import socket mySocket = socket.socket (socket.AF_INET, socket.SOCK_STREAM) mySocket.bind (( ‘192.168.1.64’, 1200 )) mySocket.listen (1) while True: channel, details = mySocket.accept() print ‘Opened a connection with&

  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps
Читайте также:  Php socket create sol tcp

Источник

Python on windows phone

I want to run a python library from my managed C# app, however, I’m having problems referencing this library in Visual Studio.

I tried just getting the downloaded project to run by itself before trying to tie it with C# and I’m still getting linking error.

Error 14 error LNK1120: 13 unresolved externals C:\Users\Frank\Downloads\python_example\native_python\ARM\Debug\native_python\native_python.exe native_python Error 9 error LNK2019: unresolved external symbol __imp_Py_BuildValue referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 13 error LNK2019: unresolved external symbol __imp_Py_Finalize referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 1 error LNK2019: unresolved external symbol __imp_Py_Initialize referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 2 error LNK2019: unresolved external symbol __imp_Py_IsInitialized referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 7 error LNK2019: unresolved external symbol __imp_PyCallable_Check referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 6 error LNK2019: unresolved external symbol __imp_PyDict_GetItemString referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 4 error LNK2019: unresolved external symbol __imp_PyImport_Import referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 12 error LNK2019: unresolved external symbol __imp_PyInt_AsLong referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 5 error LNK2019: unresolved external symbol __imp_PyModule_GetDict referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 11 error LNK2019: unresolved external symbol __imp_PyObject_CallObject referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 3 error LNK2019: unresolved external symbol __imp_PyString_FromString referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 8 error LNK2019: unresolved external symbol __imp_PyTuple_New referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python Error 10 error LNK2019: unresolved external symbol __imp_PyTuple_SetItem referenced in function "void __cdecl test(void)" (?test@@YAXXZ) C:\Users\Frank\Downloads\python_example\native_python\native_python\native_python.obj native_python

Can you please point me in the right direction?

You should add «python27.dll»and «python27.lib» of arm version into the project, and set it’s «content type» property to «yes»

General News Suggestion Question Bug Answer Joke Praise Rant Admin

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Источник

Python on windows phone

Python 3 For Windows Phone is a Windows Phone 8 app that provides an interactive Python shell. You can run scripts either interactively, by typing them into the bottom window, or run a script from SkyDrive.

Similar Apps View all

TouchDevelop

Create apps on your phone, share them with other people! Create fun games and automate recurring tasks. You compose programs by tapping on the screen. Query the phone sensors, send web requests, and manage your data in the cloud. Update v3.3: — Bug fixes — in particular for back button WP .

מבזקים

The application’s content is in Hebrew. אפליקצית החדשות בעברית מספר אחת ב-ווינדוס פון עכשיו גם ב-ווינדוס פון 8 ! «מבזקים» מציגה תוכן מאתרי החדשות החשובים בישראל ועוקפת את מרבית המגבלות הקיימות בתמיכה העברית של ווינדוס פון, על מנת להציג את התוכן בצורה נוחה ושימושית. רשימת אתרי החדשות תתעדכן אוטומטית מעת .

Code Compiler WP8

Code Compiler is an online compiler and lets you compile and run your programming scripts written in most of the popular modern programming languages. The tool supports languages such as C, C++, C++11, Clojure, C#, Java, JavaScript, Haskell, Perl, PHP, Python and Ruby. You can feed custom program input .

Al Quran

For reviews, please send it in English, French, Urdu or Hindi otherwise i won’t be able to understand, thank you. Al-Quran is the perfect Quran for the Windows Phone Mobile — a full featured app giving you an interactive way to read and study the Quran. Al-Quran has complete scalable .

Источник

Оцените статью