qpython3

Can you update QPython3 version of Python3?

百般思念 提交于 2020-01-01 10:03:48
问题 I want to install biopython on Qpython3 but it says that I have python 3.2 and need version 3.3 or greater. Is there no version of QPython3 available with a higher version? Can I update it somehow? -Thanks 回答1: There's something in the wiki about changing the core http://wiki.qpython.org/zh/diveinto/#how-to-replace-the-python-core but it is rather short and cryptic, ending with More detail coming soon ... 回答2: Now, you can install qpy36 (http://qpy36.qpython.org/) to update QPython3's core.

Can you update QPython3 version of Python3?

谁说我不能喝 提交于 2020-01-01 10:02:14
问题 I want to install biopython on Qpython3 but it says that I have python 3.2 and need version 3.3 or greater. Is there no version of QPython3 available with a higher version? Can I update it somehow? -Thanks 回答1: There's something in the wiki about changing the core http://wiki.qpython.org/zh/diveinto/#how-to-replace-the-python-core but it is rather short and cryptic, ending with More detail coming soon ... 回答2: Now, you can install qpy36 (http://qpy36.qpython.org/) to update QPython3's core.

Offline Speech Recognition in qpython3

*爱你&永不变心* 提交于 2019-12-24 16:14:36
问题 I have been trying to make a qpython program that uses sl4a.Android.recognizeSpeech function. The functionality works fine online. In my phone settings, I turned on and downloaded offline speech recognition and google now works fine offline, but the python speech does not work at all, asking me to try again every single time. Sample Code: import sl4a import time droid = sl4a.Android() def speak(text): droid.ttsSpeak(text) while droid.ttsIsSpeaking()[1] == True: time.sleep(1) def listen():

How to install library with pip-console?

北战南征 提交于 2019-12-22 11:05:25
问题 I downloaded some python library package (for example uncompile2) from GitHub. How I can install it into Qpython from the directory in my android device with pip-console? Or at least to try install... 回答1: You could install it directly through pip console, just type "pip install " Or, you can make a .sh file with contents python /your/path/to/the/package/setup.py install Or at least I think so. 回答2: You could copy the modules you want installed into the site-packages folder using a file

Installing numpy in qpython

不羁的心 提交于 2019-12-19 08:31:20
问题 I've been trying to install additional libraries on qpython. Unfortunately the documentation I've found so far is very sparse (e. g. http://wiki.qpython.org/doc/install-libraries/). It says you can install libraries on pip console but it doesn't explain anywhere what that means, neither how to access pip console etc. The second option is to add the library into the following folder: /sdcard/com.hipipal.qpyplus/lib/python3.2/site-packages (For QPython3) This second option seems straight

Installing numpy in qpython

核能气质少年 提交于 2019-12-19 08:31:15
问题 I've been trying to install additional libraries on qpython. Unfortunately the documentation I've found so far is very sparse (e. g. http://wiki.qpython.org/doc/install-libraries/). It says you can install libraries on pip console but it doesn't explain anywhere what that means, neither how to access pip console etc. The second option is to add the library into the following folder: /sdcard/com.hipipal.qpyplus/lib/python3.2/site-packages (For QPython3) This second option seems straight

QPython3 problems with Javascript in HTML GUI

主宰稳场 提交于 2019-12-12 03:47:29
问题 QPython3, Android 6.0; I guess JS cann't instance var droid = new Android(); Any hints to solve the problem? Python Code (the same in both cases!): import android droid=android.Android() droid.webViewShow('file:///storage/emulated/0/qpython/scripts3/test10_le_HTMLGUI_01.html') while True: result=droid.eventWaitFor('sag').result droid.ttsSpeak(result['data']) HTML-Code: test10_le_HTMLGUI_01.html (Case 1): <html> <head> <title>Text To Speech</title> <script> var n = prompt("Hello JavaScript",""

Qpython3, sqlite3 can't connect to database

大憨熊 提交于 2019-12-11 07:38:13
问题 I'm beginner and I just try qpython for android. I try to connect database at qpython3 by using sqlite3: My code import sqlite3 conn=sqlite3.connect('mydatabase.db') But it raises error and unable to open database file. Any solution for this?? If I try at pc, it automatically create a database if not exists 回答1: The reason it doesn't work is that QPython programs are run from '/' directory which of course is not writable to non-root users. You can check this with the following code run from

QPython3 webViewShow - Script doesn't receiving data

匆匆过客 提交于 2019-12-10 23:04:43
问题 I am trying to do simple program in QPython3 using the webViewShow method. I have a problem with receiving data from HTML file to QPython3 script. as you can see I am using droid.eventPost() method in HTML file but when i am trying to print the result to the console, nothing shows. The code of QPython3 script: #-*-coding:utf8;-*- #qpy:3 #qpy:console from android import Android droid = Android() droid.webViewShow('/storage/sdcard0/com.hipipal.qpyplus/scripts3/Bluetooth/btLED.html') while True:

Can you update QPython3 version of Python3?

两盒软妹~` 提交于 2019-12-04 06:23:14
I want to install biopython on Qpython3 but it says that I have python 3.2 and need version 3.3 or greater. Is there no version of QPython3 available with a higher version? Can I update it somehow? -Thanks There's something in the wiki about changing the core http://wiki.qpython.org/zh/diveinto/#how-to-replace-the-python-core but it is rather short and cryptic, ending with More detail coming soon ... Now, you can install qpy36 ( http://qpy36.qpython.org/ ) to update QPython3's core. 来源: https://stackoverflow.com/questions/30875258/can-you-update-qpython3-version-of-python3