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

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) — 8 replies, latest 4 hours ago


Mega noob here!!!!

Hey everyone! I don't know what the hell I am doing but allI know is that I am more than a little fascinated with all this iPhone automation stuff. I have Workflow, Drafts, LCP, etc...and I want to get more involved in automating and even creating with my...

Started by sealinski (in General) — 6 replies, latest 8 hours ago


RPG update

this is an update to my game. I would have posted my update in the comments of this post but it glitches so I made this one: #coding: utf-8 import sound import speech import console rate=.1 lang='en-US' console.setfont('Futura-CondensedExtraBold') print('...

Started by reefboy1 (in General) — 1 reply 8 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) — 12 replies, latest 13 hours ago


Instructions for Pythonista beginners

Seeing a few new people join the forum and ask questions lately, I was thinking that it might be good to have someone write a quick intro to the forum, what some of the must-have tools, how to go about getting those setup on Pythonista, and how to increase...

Started by dvader9 (in General) — 2 replies, latest 14 hours ago


Pythonista 1.6 Beta

So, with Apple's new TestFlight, I can finally have a lot more beta testers, and won't have to worry about device limits so much. If you'd like to play with the next version of Pythonista before it hits the App Store, please send me an email with your App...

Started by omz (in General) — 185 replies, latest 15 hours ago


Bonus Sample Code: Drum Machine

This one uses the scene and sound modules to create a very simple drum sequencer, using the built-in sound effects. Currently, it only works on the iPad (though it would be relatively easy to adjust the size to the iPhone screen). It overrides the scene's...

Started by omz (in Share Code) — 2 replies, latest 16 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) — 13 replies, latest 16 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) — 4 replies, latest 18 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) — 10 replies, latest 19 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) — 8 replies, latest 23 hours ago


Current Project Method

As of today, 1-25-15 is there any possible way with Pythonista to get a Pythonista project into Xcode? I understand this feature has been removed and the developer is working on a Mac method. But is it true we just can't get our Pythonista apps to Xcode r...

Started by donnieh (in Questions) — 2 replies, latest 23 hours ago


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) — 32 replies, latest 1 day 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 1 day 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 1 day 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 1 day 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 1 day 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 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 2 days 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 2 days ago