Latest
Loading...

Featured Post

Developers are most Wanted People Now : BY The world Fact Studies

Developers are enormously in demand at the moment thanks to a long-term tech skills gap in the UK. Developers can earn about $30,000 o...

First Step to Lean Python | Pythonista for IOS Development iPhone Development

First Step to Lean Python | Pythonista for IOS Development iPhone Development



Python is a widely used general-purpose, high-level programming language. Its design idea emphasizes code readability, and its syntax lets programmers to direct concepts in less lines of code than would be likely in languages such as C++ or Java. The language provides concepts future to enable clear programs on both a small and large scale.



1)    Pythonista used for highlighting syntax, you have 6 color themes to picked from in the Settings, including dark and light (Solarized options); Through Settings, you can also change the editor font, font size, line spacing, and tab width.
2)    The editor with Auto-complete your code: suggestions appear directly above the keyboard with colored as per color scheme at time of typing, by tapping Pythonista ample your code; code completion for only functions/class names/etc
3)    You can Deactivate Code completion from Settings with options enabled/Disable buttons
4)    Pythonista to highlight matching provides a subtle with hint to confirm you’ve coordinated additions in the right way.
5)    Auto-pairing: parentheses, square brackets, and single/double quotes will be matched with closing characters automatically.
6)    Navigations ALT or Sublime Text 2, gives with ( a closing ) character will be immediately put on the right, with the cursor in the middle ready to type. Or, if you select text and hit (The entire text will be wrapped inside ( )).
7)    Search field in the code editor: you can also navigate your code’s structure is also available.
8)    Pythonista powered with Script Library: 1. “snippet view”, as thumbnails with preview of the first lines of code, and “list view” by date or modifications. The scripts with a + button at the top & delete existing ones by tapping on the Edit button.
9)    Confusion At downside for creation of folders and all and it gets with snippet view.
10)  As restrictions forced by Apple, Pythonista Don’t have a synchronization feature to import executable code from external springs like Dropbox. But we can export to iTones.
11)  Limitations Apple hold on developers. It includes typical python libraries, also Dropbox, graphics and clipboard libraries, exactly made for iOS.
12)  We can program games using accelerometers and touch. It have automating monotonous tasks like arranging text or images for blogs etc.
13)  We also add home screen shortcuts, creation of scripts available directly from home screen to iOS device.
14)  To create a Pythonista home screen shortcut ( http://omz-software.com/pythonista/shortcut/) is to go to a web page and enter the script name and optional arguments. After that, just add the page home-screen with Safari’s bookmarks button.
15)  Pythonista chains the x-callback-url specification. It makes it possible to send info to one app and get the results back and then endure development it or distribution it to yet another app.
16)  Extended Keyboard is another future. There is a excessive extended keyboard with the most used keys you need when programming. In Python we can move the cursor in the text by sliding your finger from back and out across on extended part of the keyboard, for cursor moves.

Pythonista URL Schemes:

It is used to form other programs in same program. Pythonista superb app on the iPhone alike Launch Center Pro on iPhone that supports URL Schemes to start your Python scripts with many apps supporting handleOpenURL, the things you can do starts to look very handy indeed.
You can launch the App with pythonista://, But the good gear lies in parameters so we can pass along with the URL.

Firstly, Open a specific script using something like pythonista MyScript  But even better, Open and run a script by using pythonista://MyScript?action=run in the URL.

To use this, a script with that exact name will have to be in our Library, and no other script will have to be running upon calling action=run.

We can pass one argument at a time by using &args= or multiple ones with &argv= in the URL.

This is best explained with an example: because of the URL scheme, you can create JavaScript book-mark-lets that launch Pythonista and pass command line arguments in the URL.



Pythonista Libraries Included:

Standard libraries are included for Python, but the developer of Pythonista has also created some handy libraries for things specific to the iPhone/iPad
Canvas — Vector Graphics
Clipboard — Copy and paste
Console — Functions for working with the text output and keyboard input
Editor — Functions for scripting Pythonista’s text editor
Keychain — Secure Password Storage
Scene — 2D Graphics and Animation
Sound — Play simple sounds

Pythonista Other handy libraries that are included are:
bs4 — BeautifulSoup 4
Dropbox
feedparser — Universal Feed Parser
Markdown
Python Imaging Library
Requests – HTTP for Humans

Pythonista having plenty of other libraries day by day extending in world... Start leaning now...

Toobler : Source


Mobiles, Smartphones, Mobile apps, latest technology, latest tech news, Animation updates, Animation Futers, sidekickzz, tech updates, technology updates, New Technology, Animations