Hello,
I'm embedding python in to my Objective-C app and I need to know how do I
convert a PyDictObject (PyObject) to a NSDictionary?
Thanks!
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I'm messing around with the embedded python and I can get parts to work. What
I'm having a hard time is getting my head around calling a function in the
python string and getting it's result.
Question, how do I load the python script and call runMe() and get it's value?
Thanks!
Example
Hello,
I have a MySQL database that is not managed (yet) and I would like to get an
output or diff against my new model file. I'm using flask-sqlalchemy.
Are there any modules that would help me discover the differences so that I can
script a migration to begin using flask-migrate?
Thanks!
--
Hello,
I have a MySQL database that is not managed (yet) and I would like to get an
output or diff against my new model file. I'm using flask-sqlalchemy.
Are there any modules that would help me discover the differences so that I can
script a migration to begin using flask-migrate?
Thanks!
--
On Monday, March 2, 2015 at 11:23:37 AM UTC-8, Peter Otten wrote:
> Charles Heizer wrote:
>
> > Never mind, the light bulb finally went off. :-\
> >
> > sortedlist = sorted(mylist , key=lambda elem: "%s %s" % ( elem['name'],
> > (&
Never mind, the light bulb finally went off. :-\
sortedlist = sorted(mylist , key=lambda elem: "%s %s" % ( elem['name'],
(".".join([i.zfill(5) for i in elem['version'].split(".")])) ), reverse=True)
On Monday, March 2, 2015 at 10:40:30 AM UTC
quot;40.0.2214.111" is
higher than "40.0.2214.91" but in the end result it's not sorting it that way.
Thanks,
Charlie
On Monday, March 2, 2015 at 10:32:40 AM UTC-8, Emile van Sebille wrote:
> On 3/2/2015 10:17 AM, Charles Heizer wrote:
> > Hello,
> > I'm ne
Hello,
I'm new to python and I'm trying to find the right way to solve this issue I
have.
I'm trying to sort this list by name and then by version numbers. The problem
I'm having is that I can not get the version numbers sorted with the highest at
the top or sorted properly.
mylist = [{'name'