Questions tagged [qpython3]

QPython3 is a port of Python3 for android. It can run Python3 applications on android devices like mobile or tablet.

QPython3 is a port of Python3 for android. It can run Python3 applications on android devices like mobile or tablet.

89 questions
0
votes
1 answer

How can I install OpenCV on QPython?

I ran "pip install opencv" in the QPython pip console and got the following error: Could not find any downloads that satisfy the requirement opencv No distributions at all for opencv Is there a way that I can manually install opencv…
Sachit Gali
  • 129
  • 1
  • 2
  • 10
0
votes
1 answer

qpython3 printing variable after string

I'm wanting to print a variable after a string but the variable doesn't show. I'm following a book called learning python the hard way. In it, it asks to declare a variable: cars = 100 Print ("how many cars are there"), (cars) And print it after a…
1byanymeans
  • 105
  • 1
  • 3
0
votes
1 answer

How to run Flask Project in QPython Android app?

I have written a code using python and Flask Framework, Which is working fine. Now i want to run that complete code in my android phone, Qpython app is there for running python code but the problem is how to setup flask framework in Qpython app. I…
Ritesh Mathur
  • 829
  • 2
  • 8
  • 17
0
votes
1 answer

Variable error in function

I wanted to make a number guesser game, and I wrote this code: from random import randint as rand number=rand(-1,1001) tries=0 def numguess(): guess=int(input("The chosen number is between 0 to 1000.\nEnter your guess : ")) tries=tries+1 …
Keethesh
  • 15
  • 2
  • 8
0
votes
1 answer

Change text of an android message

Recently I made a challenge for myself: make a clock using qpython3 on my android. The script was working fine when I "told" it to print the current time every second, however when I "told" it to make a notification, a lot of different notifications…
ArthurQ
  • 118
  • 1
  • 8
0
votes
0 answers

is there a version of numpy that is compatible with qpython3 and if so how do I download it

I have recently started some development with qpython3 for android and would like to utilize numpy in the code implementation. I have tried to install numpy through the following code process intall pip pip.main(['install','numpy]) however, when…
Jon
  • 1,621
  • 5
  • 23
  • 46
0
votes
1 answer

is it possible to make calls in qpython

im making an alexa like artificial intelligence/virtual assistant and have already added the ability to send texts, but cant figure out how to call. i found a post on how to make a notification when you get one, but not the ability to actally send…
Saradoc
  • 103
  • 1
  • 10
0
votes
2 answers

Sending string via socket qpython3 android (client) to python2.7 linux (server)

Someone know how can I send string by socket qpython3 android (client) to python2.7 linux (server)? For python2.7 linux (server) ok, I know, but I dont know how create the client with qpython3 android. Someone Know? TKS
0
votes
1 answer

QPython3 permission error - subprocess module on android

I want to run some apps on android with QPython3. So I tried but got permission error. #-*-coding:utf8;-*- #qpy:3 #qpy:console import subprocess yt = subprocess.Popen('/system/app/YouTube/YouTube.apk') yt.wait() print("done") The result is…
0
votes
1 answer

Could I use Qpyton as a library to interpreter a necessary python subroutine?

I have an APP which needs a python lib to support. So I would like to retrieve qpython in order to execute python. Is there anyone has tried to do it before? I am finding a way to retrieve the part of Qpython to serve my purpose, instead of execute…
chang jc
  • 489
  • 8
  • 16
0
votes
1 answer

ImportError: when importing from a local script library

Does importing from a local script lib work in qpython3? I have a script I created in the Qpython projects3 directory of qpython. projects3/MPU6502/ I have my main code here in this directory. main.py I have a local subdirectory,…
0
votes
2 answers

QPython3 problems with Javascript in HTML GUI

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…
Gustav
  • 11
  • 3
0
votes
0 answers

How to convert Python 2.x to 3.x ADB

I would like to test my applications on real device through ADB. I've found the code but from Python 2.x. Could someone help me to make it work with Python 3.x? I have Qpython3 on my smartphone, ADB in windows command list my phone as available…
0
votes
1 answer

Open web browser on android

I haven't been able to figure this out. I'm using qpython3 in android 4.4.2 with a metro pcs Samsung galaxy lite. I do very very little developing in android, so I'm unfamiliar with the differences between android and windows and how I could go…
user5721764
0
votes
3 answers

Can't find qpython on the playstore

I can't find qpython in the playstore anymore. If it's removed, is there another way to get it. I tried the link on the qpython website but this goes to a playstore page that says the article doesn't exist.
user6672312