@osamu Ok, good for you if you only want device type, and no more its user name.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by cvp
-
RE: platform.node() does not return anymore the device (user) name
-
RE: Extract text from a pdf
@ccc yes, I've tried with some different pdf but
extractText
method returns an empty string, known problem with this module. And without the text, not easy to search word occurrences for splitting. -
RE: SystemError: NULL object passed to Py_BuildValue
@TravelCoder not easy to (try to) help without the code it-self
-
RE: Segmentation fault using dialogs
@LankyDonkey said
Do we know if Ole is still actively involved in the product?
normally I would say no but the latest update 3.4 arrived so long after the previous one that it is difficult to deduce anything from this delay
As for my health, I have nothing to complain about. Thanks for asking.
-
RE: IpadOS17
@rb the only problems I met came from Pythonista upgrade, not iPadOS
-
RE: "What SSH Key Format Does Pythonista Require? Getting 'not a valid ec private key file' Error"
@FloMaster a part of new Paramiko is written in C, then you couldn't integrate it yourself (@omz could do it 😭).
"Cryptography provides the low-level (C-based) encryption algorithms we need to implement the SSH protocol. It has detailed installation instructions which you should read carefully"
-
RE: platform.node() does not return anymore the device (user) name
@osamu said
anyway we've got to find some other way in
Not sure it is possible if the app needs to be modified to allow that
Of course, you can always ask the user to enter his device name -
RE: Simple program output
@AM1965 the input function sends your input to the console, that's your first line, the print function also sends your name to the console, that's your second line.
Perhaps, could you try this
import console myName = console.input_alert('enter your name') print(myName)
-
RE: Segmentation fault using dialogs
@bosco said
I hope your continued presence here indicates that your health is headed in the right direction.
Thanks, and it is true and false at the same time. After weeks of antibiotics due to lung infections, things seem to be getting better but every six months, a petscan is necessary to check for the absence of metastases from my original cancer. So, permanent stress which implies a lack of motivation and courage to concentrate on the two important programs that I developed in Pythonista at the request of @ihf (outline) and @shinya.ta (flick button keyboard).
-
RE: Segmentation fault using dialogs
@LankyDonkey @bosco glad to see a real post, drowned in an ocean of spams
-
RE: "What SSH Key Format Does Pythonista Require? Getting 'not a valid ec private key file' Error"
@FloMaster as @bosco said, Paramiko version of Pythonista is 1.18.5, see change log, current is 3.3.1, 1.18.5 is from 2018-03-12....
-
RE: "What SSH Key Format Does Pythonista Require? Getting 'not a valid ec private key file' Error"
@FloMaster Sorry for you, I can't help, I hope that a skilled forum user will see your topic, unfortunately hidden by a lot of spams, and would be able to help you.
-
RE: "What SSH Key Format Does Pythonista Require? Getting 'not a valid ec private key file' Error"
@FloMaster Perhaps this could help you, see https://blog.peddals.com/en/pythonista3_ssh_to_xserver/
I don't have any experience nor knowledge about ssh and perhaps is this advice no more valid. Good luck
-
platform.node() does not return anymore the device (user) name
@osamu In the past platform.node() returned the name assigned by the user to its device.
I guess platform.node() uses ObjectiveC UIDevice.name but this has changed in iOS 16In iOS, the user-assigned device name is available in the Settings app under General > About > Name. In iOS 15 and earlier, the name property returns this name. In iOS 16 and later, the name property returns a generic device name by default instead.
-
RE: sound.Player() only outputs on earphone, not BT device when connected
@robot1125 did you check your setting explained in previous post?
And could you run this little script and post result
import cb class MyDelegate (object): def did_update_state(self): # State was updated (e.g. Bluetooth powered on/off) pass delegate = MyDelegate() cb.set_central_delegate(delegate) print(cb.get_state()) ''' https://developer.apple.com/documentation/corebluetooth/cbmanagerstate Manager States case poweredOff 4 A state that indicates Bluetooth is currently powered off. case poweredOn 5 A state that indicates Bluetooth is currently powered on and available to use. case resetting 1 A state that indicates the connection with the system service was momentarily lost. case unauthorized 3 A state that indicates the application isn’t authorized to use the Bluetooth low energy role. case unknown 0 The manager’s state is unknown. case unsupported 2 A state that indicates this device doesn’t support the Bluetooth low energy central or client role '''