omz:software Forums

Pythonista

If you want to participate in the discussion, you have to sign up or log in.

Categories: General, Share Code, Questions RSS (All Posts)

All Discussions

StaSh - Shell Like an Expert in Pythonista

Inspired by shellista and its variants, StaSh is a serious attempt to implement a bash-like shell for Pythonista. StaSh behaves more like a real Shell, such as Bash. It is feature rich and allows users focus on tasks without getting in the way. Notable ...

Started by ywangd (in Share Code) — 31 replies, latest 39 minutes ago


How to set focus to textfield (2)

How to set focus to a textfield was subject of an earlier forum discussion. The solution that was given is to call textfield.begin_editing() (as present in the delegate). This method is not implemented in the current version of Pythonista. Instead there ar...

Started by PetervdKamp (in General) — 3 replies, latest 3 hours ago


SMBclient

Here you can find a SMBclient. Feel free to improve the code, e.g. any ideas to implement multiple select of files/directories, but also leave the possibility to open directories directly?

Started by brumm (in Share Code) — 2 replies, latest 3 hours ago


Easy way to display formatted text

I have a script that outputs some text to the console and all I want to do is display it in a specific size and font. It appears I could use Scene, UI, Hydrogen, HTML (to the internal browser), and maybe other ways. What is the simplest way? Does anyone h...

Started by ihf (in General) — 9 replies, latest 4 hours ago


[HELP] TypeError: Expected callable/function

I was trying to implement a live updating timer. Well, a love updating label that will ultimately be proportionate to the time passed. I was able to implement it successfully in a test script, but when I popped the previously working function into the actu...

Started by Tizzy (in Questions) — 3 replies, latest 4 hours ago


Camera to DropBox

Is there a way to take a picture from my picture script: import photos x=photos.capture_image() photos.save_image(x) And save that photo directly to Dropbox?

Started by reefboy1 (in General) — 10 replies, latest 5 hours ago


very basic ui designer question

I'm playing with using the ui designer for the first time, and am confused. I'm trying to create a view with a few labels and textfields, and would like to read the values of a couple of textfields, do something with them, and display the result in anothe...

Started by michael_recchione (in General) — 1 reply 7 hours ago


Computer Vision support ...

Is there any interest in having Pythonista be able to do CV apps? I ran across this very recent project that seems to be looking for a new home. It is a port of OpenCV for ios. https://github.com/macmade/OpenCV-iOS No python bindings or anything but at ...

Started by wradcliffe (in General) — 9 replies, latest 7 hours ago


Save Script via Open In directly to Pythonista

This is a python script that work in conjunction with a workflow (you need Workflow for ios) to enable open scripts .py (Only .py for now) and save it directly on Pythonista. It's useful when someone send you a .py via email or if you have scripts saved in...

Started by mncfre (in Share Code) — 7 replies, latest 8 hours ago


BUG: When looking at the console, you can not Run with Arguements

If you tap-and-hold on the run button while you are looking at the console, Pythonista will run the current script without showing the Run with Arguements dialog.

Started by ccc (in General) — 1 reply 12 hours ago


New Xcode Template (beta)

I've made a new Xcode template for turning Pythonista scripts into apps. It's based on the current beta of v. 1.6, so it's work-in-progress... Some notes: 64-bit devices (iPhone 5s/6, iPad Air...) are supported now, but the 64-bit simulator isn't, so if...

Started by omz (in General) — 12 replies, latest 17 hours ago


My RPG/Help/suggestions

Ok so this is my first time actually trying to TRY to do something in Python and I am going to need some suggestions . Also feel free to add code and post. My code: #coding: utf-8 import sound import speech print(' รถ ') print('-|-') print('| |') op = r...

Started by reefboy1 (in General) — 2 replies, latest 1 day ago


How do I combine two scenes?

I would like for someone to show me how to combine these two scenes into one: from scene import * class dumb (Scene): def setup(self): self.x = self.size.w * 0.5 self.y = self.size.h * 0.5 def draw(self): background(0.00, 0...

Started by janaaron97 (in General) — 6 replies, latest 1 day ago


How to add two shapes

I'm trying to use the example program that discusses the gravity() function in Pythonista to learn the "scene" library. What I want to do is have a square and a circle move around on the screen when I tilt the phone, at the same time. However, right now,...

Started by janaaron97 (in General) — 5 replies, latest 1 day ago


Help with FTP

I want to read lines from a text document. But I can't seem to get the FTP connection working.. from ftplib import FTP_TLS ftps=FTP_TLS('ftp.mydomain.com') ftps.login('username','password') ftps.prot_p ftps.retrlines('LIST') I know this will list the di...

Started by TQA (in Questions) — 4 replies, latest 1 day ago


filenav - a simple file navigator

(no, I couldn't think of a more original name.) https://github.com/dgelessus/filenav What is there to say? It's a file navigator with UI and a few neat features: Quick access to a customizable list of favorite folders, including normally inaccessible o...

Started by dgelessus (in Share Code) — 21 replies, latest 1 day ago


Working Copy integration sidebar

I recently stumbled on an app called Working Copy, which is a github client (though it also works with other services). It's a very well put together app, and to make things better, the beta currently out for testing with testflight supports x-callback-url...

Started by smath (in Share Code) — 11 replies, latest 2 days ago


UI lesson

Hi I'm new here. I'm trying to create a UI interface for the "tap me" example pythonistia documentation. When I try to run the code though it says "value error: UI file not found" when I run this line of code [ui.load_view('My UI').present('sheet')]. I can...

Started by Prgmr1996 (in Questions) — 6 replies, latest 2 days ago


gitview and .gitignore

Does gitview (gitui) recongnize the .gitignore file if present?

Started by polymerchm (in General) — 3 replies, latest 2 days ago


Bring again Open In Function

Hi, I have an idea about how to bring again the Open In Pythonista feature, I download a new app that maybe you people know it, it's called Workflow for iOS, it's make workflows like editorial but it integrates the workflows via action extension, so it's p...

Started by mncfre (in Questions) — 4 replies, latest 2 days ago