; batch file works
> >> os.system("reg add HKEY_CURRENT_USER\Software .(etc)")
> >>
> >> Why is this not working using Python? Is there a built-in way to do
> this (I
> >> don't have win32api)?
> >
> >Wouldn't it be simpler
On 08/04/2012 09:11 PM, richard kappler wrote:
> Starting to work through "Programming Computer Vision with Python" in my
> -summer of learning python- quest.
Congratulations; that's a worthy goal.
> As I read through the intro to the PIL
> library, I came across the below code. When I read i
Starting to work through "Programming Computer Vision with Python" in my
-summer of learning python- quest. As I read through the intro to the PIL
library, I came across the below code. When I read it, I said to my self
"I don't see how that calls a set of files, there's no specificity. How
does
Codea is an iOS app for program in Lua. There is a framewok to port to
Objective-C. For python there is the app Pythonista. May be the programmer will
follow this way.
On the other hand, there is multiplatform framework (iOS included) that
supports python: kivy.org , I believe.
(Enviado desd
On 04/08/12 20:44, Alonzo Quijote wrote:
There must be a good reason that the responders use a tmp variable like this?
But I notice that the same effects can be obtained with:
def setValueAtPosition2(list, pos, value):
for i in pos[:-1]:
list = list[i]
list[pos[-1]] = valu
the "native app" part of building an "app" is somewhat trivial in
comparison to the backend needs.
Read this article here on what instagram uses for their architecture:
http://instagram-engineering.tumblr.com/post/13649370142/what-powers-instagram-hundreds-of-instances-dozens-of
As you can see,
Thanks for all the help with this. I have 2 very quick follow-up questions:
---
1. Several responses proposed code like this:
def setValueAtPosition(list, pos, value):
tmp = list
for i in pos[:-1]:
tmp = tmp[i]
tmp[pos[-1]] = value
There must be a good reason that the responders u
On Sat, Aug 4, 2012 at 8:26 PM, James Reynolds wrote:
> To clarify, that is their server side arc. The native app itself... I'm not
> sure what is written in. Probably java if I had to guess.
>
> In making an app, most of your work is going to be backend in any event.
>
> Also, what happens when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/08/2012 19:18, James Reynolds wrote:
> Instagram is written in python django.
>
Even if that were true (Django is, as I understand it, a web
framework) - how does that information help the original poster?
Chris
-BEGIN PGP SIGNATURE-
On Sat, Aug 4, 2012 at 8:18 PM, James Reynolds wrote:
> Instagram is written in python django.
>
> Sent from my iPad
>
> On Aug 3, 2012, at 7:13 PM, Fred G wrote:
>
>> I just googled whether it is possible to write an i-phone app in Python and
>> got very confusing, and not super good results.
>
To clarify, that is their server side arc. The native app itself... I'm not
sure what is written in. Probably java if I had to guess.
In making an app, most of your work is going to be backend in any event.
Also, what happens when an android user wants to download your app?
Sent from my iPad
Instagram is written in python django.
Sent from my iPad
On Aug 3, 2012, at 7:13 PM, Fred G wrote:
> I just googled whether it is possible to write an i-phone app in Python and
> got very confusing, and not super good results.
>
> Is it possible? And if so, what module(s) do I need to instal
Hi,
Thanks to all who replied, also those who replied off-list. Somebody else
confirmed that the code was working as expected on another machine, so it's
probably a rights issue. Still nice to have a look at _winreg though.
Regards,
Albert-Jan
~~~
On Sat, Aug 4, 2012 at 1:13 AM, Fred G wrote:
> I just googled whether it is possible to write an i-phone app in Python and
> got very confusing, and not super good results.
>
> Is it possible? And if so, what module(s) do I need to install?
>
> Much thanks!
>
> ___
On Sat, Aug 4, 2012 at 12:28 PM, Alonzo Quijote
wrote:
> Is there a way to define a function which takes
>a list (of lists),
>a position specified by a list of integers [i0,i1,...,in], and
>a value
> and returns the result of setting
> list[i0][i1]...[in]=value
>
> The following fu
Alonzo Quijote wrote:
> Is there a way to define a function which takes
>a list (of lists),
>a position specified by a list of integers [i0,i1,...,in], and
>a value
> and returns the result of setting
> list[i0][i1]...[in]=value
>
> The following function works for positions up to
On 04/08/12 16:58, Alonzo Quijote wrote:
Is there a way to define a function which takes
a list (of lists),
a position specified by a list of integers [i0,i1,...,in], and
a value
and returns the result of setting
list[i0][i1]...[in]=value
Yes it is possible, but if you need th
On Sat, Aug 4, 2012 at 12:28 PM, Alonzo Quijote
wrote:
> Is there a way to define a function which takes
>a list (of lists),
>a position specified by a list of integers [i0,i1,...,in], and
>a value
> and returns the result of setting
> list[i0][i1]...[in]=value
>
> The following fu
Is there a way to define a function which takes
a list (of lists),
a position specified by a list of integers [i0,i1,...,in], and
a value
and returns the result of setting
list[i0][i1]...[in]=value
The following function works for positions up to length 3 only.
Is it possible to writ
19 matches
Mail list logo