background preloader

Development

Facebook Twitter

Embed IPython in a virtualenv - *.isBullsh.it. I recently got introduced to virtualenv : a “tool to create isolated Python evironments”. It allows to have a fine grain control on the dependencies of each of your python project, and separate each project environment from the others. For example, if a cool project requires the spamspam v1.1 and another cool project requires the version 1.2, performing a system-wide update of the spamspam library from 1.1 to 1.2 would cause the first project to break. To avoid this kind of problem, you can place each project in a separate virtualenv, and force the version of the spamspam library to the required one.

You can read more about virtualenv on their PyPI page , but a important takeaway is that you will have pseudo-root rights in your virtualenv: you will be able to install whatever python packages you need. If you don’t know IPython, check it out . There are two ways to make it work: the good way the bad way I’ll describe both techniques and you’ll decide which is which. Yay. Issue 2676 - android - Windows cannot detect ADB interface - Project Hosting on Google Code. Android Development Tutorial. To deploy and run your Android application, define a new Android virtual device (AVD) via Android Studio. You can create new AVDs either: before creating your first Android projectafter your created an Android project If you have not yet created a project, start Android Studio and wait until its Welcome to Android Studio screen appears. Near the bottom there is a Configure menu entry. Click it and open the AVD Manager. If you already created and Android project, open the AVD Manager via the menu entry.

Select values similar to the following screenshots. On the next screen select the latest API level for your AVD. Afterwards press the Finish button. 4.1. Select your new virtual device and press the Play button. You can now ready to deploy and run your application on this virtual device.

Réalité Augmentée

WebDev. SL4A / Python. Tips. Tutorial. Andbook! Preview available... Anddev.org • Index page.