On Mon, 28 May 2012 09:18:29 -0700, ru...@yahoo.com wrote:
> What is this output from 2to3 supposed to mean?
> $ cat mysub.py
> isinstance (3, (int,float))
> $ 2to3 -f isinstance mysub.py
> RefactoringTool: No changes to mysub.py
> RefactoringTool: Files that need to be modified:
> R
On Mon, 28 May 2012 06:20:06 -0700, cate wrote:
> setup(**config)
>
> What is the construct **?
It expands the dict "config" into keyword arguments. A single * expands
to positional arguments.
A simple example:
args = [1, 2, 3]
kwargs = {'x': 4, 'y': 5}
somefunc(*args, **kwargs)
is expande
rusi wrote:
>
> Any specific tips will of course be welcome
< but also the general idea
> -- is android really python friendly (yet)?
You might take a look at Kivy
http://kivy.org/
"It is built with Cython ( C extensions for Python )
and, in order to create apps, Python
On Mon, 28 May 2012 08:56:51 -0700 (PDT), rusi
wrote:
>Ive been wanting to try the sl4a for a new android phone Ive got hold
>of as spelt out at
>http://www.linuxjournal.com/article/10940
>
>Has anyone any experience/dos/donts for this?
>
>I am writing this while the update of the android sdk is
On May 28, 9:13 pm, Paul Rubin wrote:
> rusi writes:
> > Ive been wanting to try the sl4a for a new android phone Ive got hold
> > of as spelt out at
> >http://www.linuxjournal.com/article/10940
>
> > Has anyone any experience/dos/donts for this?
>
> One of my co-workers used it for something, an
What is this output from 2to3 supposed to mean?
$ cat mysub.py
isinstance (3, (int,float))
$ 2to3 -f isinstance mysub.py
RefactoringTool: No changes to mysub.py
RefactoringTool: Files that need to be modified:
RefactoringTool: mysub.py
Why does mysub.py need to be modified, and how?
--
rusi writes:
> Ive been wanting to try the sl4a for a new android phone Ive got hold
> of as spelt out at
> http://www.linuxjournal.com/article/10940
>
> Has anyone any experience/dos/donts for this?
One of my co-workers used it for something, and I've been looking into
it but haven't tried it ye
Ive been wanting to try the sl4a for a new android phone Ive got hold
of as spelt out at
http://www.linuxjournal.com/article/10940
Has anyone any experience/dos/donts for this?
I am writing this while the update of the android sdk is happening and
its taking forever.
So just wondering if its wort
cate wrote:
I going thru a 101 and came upon this (http://
learnpythonthehardway.org/book/ex46.html)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'My Project',
'author': 'My Name',
'url': 'URL to get it at.'
In article
,
cate wrote:
> I going thru a 101 and came upon this (http://
> learnpythonthehardway.org/book/ex46.html)
>
> try:
> from setuptools import setup
> except ImportError:
> from distutils.core import setup
>
> config = {
> 'description': 'My Project',
> 'author': 'My
I going thru a 101 and came upon this (http://
learnpythonthehardway.org/book/ex46.html)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'My Project',
'author': 'My Name',
'url': 'URL to get it at.',
'downloa
Tomasz Rola wrote:
> If you are on tight budget and depend so much on Python, I'm afraid you
> should either:
>
> a. grow your budget
>
> b. try another language
such as PyMite...
--
---
| Radovan Garabík http://kassiopeia.juls.savba.
12 matches
Mail list logo