Questions tagged [qpython]

Python scripting facility for Android

QPython is a Python scripting engine running on Android. It embeds the python interpreter, console, editor and the SL4A library for Android, which can allow you to use your Android device to write & run python scripts or projects.

221 questions
0
votes
2 answers

Import pyjnius from kivy

I want to ask if it's possible to import only jnius from Kivy. I using Python for Android "qpython" distribution with Kivy compiled in it. Kivy also have pyjnius included. Now I try to use jnius without calling a Kivy app to call Java modules? Any…
fteinz
  • 1,085
  • 5
  • 15
  • 30
0
votes
1 answer

Qpython or Qpython3?

I'd like to try Qpython on a Samsung Galaxy Tab 4 running Android 4.4.2. Which would be better, in terms of stability, functionality, supported libraries, etc., Qpython or Qpython3? Or can they be installed side-by-side? Thanks.
David
  • 1
  • 1
  • 2
0
votes
0 answers

QPython console error in Bluestacks emulator

I have installed QPython on my android bluestacks emulator. When I launch the console, I get the following error: u0_a56@klte:/ $ /data/data/com.hipipal.qpyplus/files/bin/qpython.sh "/storage/sdcard/com.hipipal.qpyplus/.run/.last_tmp.py" &&…
jay
  • 1,982
  • 2
  • 24
  • 54
0
votes
1 answer

Qpython - Not executable when run a script

I have the Genymotion emulator and I installed the Qpython app from its apk (found it on internet). I moved the script "qpy.py" in folder "/storage/emulated/0/com.hipipal.qpyplus/scripts" and tried to run it from qpython command line. However, I…
elli
  • 1,109
  • 1
  • 13
  • 20
0
votes
2 answers

Pass parameter through shell to python

I run python in my Android Terminal and want to run a .py file with: python /sdcard/myScript.py The problem is that python is called in my Android enviroment indirect with a shell in my /system/bin/ path (to get it direct accessable via Terminal…
fteinz
  • 1,085
  • 5
  • 15
  • 30
0
votes
1 answer

qpython in android giving me 'permission denied' when trying subprocess.Popen

I'm trying to build a chess GUI for android using stockfish engine. But whenever I try to use subprocess I get the permission denied error I don't know how to give any permission to qpython since I'm a beginner in programming. I know that I'm…
user3101703
  • 43
  • 1
  • 1
  • 6
0
votes
1 answer

qpython keyboard missing backspace

I am running qpython on my Samsung S4 and when I start the console it starts with python running and I get a keyboard with no BS key. Also, if I try to use the Special keys by using (e.g.) the Vol-UP W to invoke the UP key I get the Esc sequence.…
ihf
  • 51
  • 1
  • 9
0
votes
1 answer

Using plyer with qpython

Sorry if this is too obvious but I am trying the following under qpython on Android: from plyer import notification notification.notify("something","else") and I get errors which end with: NotImplementedError: No usable implementation found! What…
ihf
  • 51
  • 1
  • 9
0
votes
1 answer

Qpython in Android

I wanted to write python code in my local computer and transfer it to Android device to execute the codes in mobile or Tablet. Is it possible to transfer? If yes, in which location do I need to transfer.
jOSe
  • 687
  • 11
  • 22
0
votes
3 answers

SL4A Qpython error

I've tried to use Qpython and everything seemed to be fine. But later, when I started script with lines import androidhelper droid = androidhelper.Android() It gave me error socket.gaierror: [Errno 4] non-recoverable failure in name…
desu
  • 455
  • 2
  • 18
0
votes
1 answer

how to manually install modules in qpython

I have downloaded django and other modules for qpython, then here comes the confusion, I have no idea how to manually install django for qpython, I thaught this should had been automatically. Please how can django be install manually. Thanks
0
votes
0 answers

Kivy app exits unexpectedly

As I'm new to QPython and kivy I encountered a problem that might be very easy to eliminate but I don't know, how to do it. I have an app which captures QR code and then displays the content of QR code on the screen. The problem is, my app exits…
Jagoda
  • 424
  • 1
  • 5
  • 18
0
votes
0 answers

qpython kivy textinput and display

Using qpython and kivy on my android phone, I'm trying to write a program that inputs some text, processes it and shows the output. from kivy.app import App from kivy.uix.button import Button from kivy.uix.textinput import TextInput class…
foosion
  • 7,619
  • 25
  • 65
  • 102
0
votes
1 answer

Installation error numpy in Qpython

In Qpython which uses Python 2.7.2; I can't install the numpy module. The message I get is: command python setup.py egg_info failed with error code 2
LudgerSB
  • 1
  • 3
0
votes
2 answers

qpython console cannot run helloworld.py

I recently installed QPython version-1.2.1 on my Android phone, which is running on Android 4.2.2 Jelly-Bean. I can use the console on QPython to execute some python commands, but having problem running the helloworld.py script that comes with…
Asiful Nobel
  • 323
  • 4
  • 14