Quantcast
Channel: All Discussions - Pythonista Forums
Browsing latest articles
Browse All 674 View Live

Saving an Image to the Camera Roll from a URL

I found a small piece of code posted on this forum to save an image from a url to the camera roll and it works very well. I added a small text manipulation of the URL and a notification below but I...

View Article



spammers

They are starting to annoy the forum. Maybe someone could add a captcha or some human verification to prevent auto-registration. If that's not enough, new registered member is not allowed to post...

View Article

GPS access

Pythonista is a great product- it opens up programming to the next generation of programmers on a platform they are familiar with. Quick question- is there any way to access the GPS through the...

View Article

Running desktop code on Pythonista

My question: What is the best way for Python to detect if it is running in Pythonista vs my computer?I love using the dropbox module to sync my Pythonista code between devices, and it's nice to edit...

View Article

Photos Module

Hi, I am new to Python and struggling with the Image/Photos modules. So far, I have managed to select a photo from photoroll, access pixels, save it, copy it...My problem is that I cannot figure out...

View Article


Youtube Downloader

Disclaimer: This works in combination with a (free) third-party App Store app.The code is here:http://gist.github.com/4704121Using the gist downloader or manually saving it into Pythonista, it should...

View Article

How to use telnet?

Hello everybody,I'm neither a python nor an iOS expert, but I wrote some python scripts for practicing and learning. One of my "most favorite" scripts I wrote in the past uses telnet with telnetlib. It...

View Article

Error when opening media in webbrowser

When opening a media file (e.g. an mp4 file) in the webbrowser, the file plays just fine, but a dialog box appears on top:An error occurred while loading the page: Plug-in handled loadwhich is not...

View Article


Use a predefined function with parameters

I have this code but it seems impossible for me to save the function to a variable with parameters and call it later on.from scene import *class MyScene (Scene): def setup(self): self.a = test(200,200)...

View Article


Image may be NSFW.
Clik here to view.

Grooveshark downloader - enjoy :)

Disclaimer: This works in combination with a (free) third-party App Store app.The app that this script works in combination with is called 'iDownloads PLUS - Download Manager!', free, from Amad Marwat,...

View Article

Pythonista advertise to import .py files

Hi, I have a question which I hope is not a duplicate.Pytonista is great, and can export a python script to various other apps (which I assume allows .py files)My question is: It does not seem that...

View Article

Creating Home Screen Icons

Version 1.2 introduces the pythonista:// URL scheme for opening and running scripts in your library. Using Safari web clips (home screen bookmarks), you can use this to create dedicated icons for your...

View Article

Fixed // Help! Error when removing from list.

Works!Very new to Python... However, I wrote this little list making script. If I run this, and go to my def Edit(), the script errors out when its asked to remove the item from the list using the user...

View Article


Malfunctioning iPad Keyboard Scrolling

Pythonista works fine on my iPhone 5. However, when I type on my iPad mini, the keyboard obscures:1) the bottom of any long script2) the interpreter input in the console window3) the code completion...

View Article

Twitter API on Pythonista

Hi,I'm developing a twitter client for many platformsnow I'm on python.I firstly tried with Pythonista but I have problems with the Twitter API.is that implemented correctly in Pythonista?

View Article


Wrapped lines not displaying correctly

Hi Ole,since iOS 7, on my iPhone 5, wrapped lines only display the part on the first line, the "wrapped" part isn't shown. Instead a funny character is displayed. It is not possible to see/edit the...

View Article

Writing to file?

So I had this working perfectly with just strings and a list. Switched to implementing writing to a file (tiny bit more permanent). All that's missing from this is the implementation of the string and...

View Article


ScreenShot code

Are there any avialable with the Pythonista modules able to write a screen dump to an image during run time ?

View Article

Using the Dropbox Module

Version 1.2 of Pythonista includes the official Dropbox Python SDK as a built-in module. Because of the way OAuth works, using it can be a little daunting at first, so I've created a minimal example...

View Article

Wrap problem with ios7

My py code written in ios5 will no longer wrap with indent or input lines on ios7 which I have just installed on my iPad. Have you other guys had this problem and how can it be fixed?

View Article

import zbar

Hi !Do you think it is possible to import the zbar library in a further release or Pythonista ?http://zbar.sourceforge.netZbar already exists on iOS and there are some wrappers in Python.We could...

View Article


URL Scheme and x-callback-url

Is there any chance of extending Pythonista's URL scheme to support x-callback-url like behavior?Basically, I'd like to be able to launch an app from Pythonista, while Pythonista sits and waits for a...

View Article


iPad 4 + ios7 + url scheme

Hello,I've made a html page with html links which opens pythonista and give me the ability to launch scripts with argument.example : [option name="GLOBAL_SYSTEME"...

View Article

Bug in image_quad

There seems to be a bug in image_quad regarding the 'from parameters'. I'm using this to draw part of an image as a poor mans substitute for a clipping function. Anyway, I found that when drawing an...

View Article

Scrolling in scene module

I am making an app in Pythonista with the scene module. The app collects images from the user's camera roll (using the photos module) and displays them as thumbnails in a scene. To account for large...

View Article


Use python to torrent?

I was wondering if it was possible to convert AutonomoTorrent to work on pythonista, as its pure pythonhttps://github.com/joshsziegler/AutonomoTorrent

View Article

Application size

I've been processing some pictures using PIL and now see that Pythonista takes 2.7 GB on my iPad. How can I recover this space without deleting the application and scripts, please.

View Article

Size of layer image

Is there a way to set the size of a layer's image in the scene module? I have something like this. self.layer.image = render_text('foo')[0]This will stretch the given text out of proportions, depending...

View Article

Recommended reading: Pycoder's Weekly

Pycoder's Weekly -- Your weekly dose of all things PythonA free weekly newsletter, on Fridays, for those interested in python development and various topics around python. Check out...

View Article


Browsing latest articles
Browse All 674 View Live




Latest Images