Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Pythonista for Python 3.x.
-
How do the chained stargs work? If I have
func(*args, *moreargs)
and I then put infunc(1,2,3,4,5,6)
, how is it decided what goes into the listargs
and what goes intomoreargs
? -
-
@Webmaster4o Not when defining functions, but when calling them. For example, this is how you could implement
functools.partial
:def partial(callable, *frozen_args, **frozen_kwargs): def _partial(*new_args, **new_kwargs): return callable(*frozen_args, *new_args, **frozen_kwargs, **new_kwargs) return _partial
-
Ah, ok. Now I get it.
-
I'm sure @ccc would point this out soon enough
;)
but Python 2.7.11 was released today/yesterday: https://www.python.org/downloads/release/python-2711/ -
@dgelessus LOL... Yes. And Python 3.5.1 is due tomorrow: https://www.python.org/downloads/release/python-351
-
Brett Cannon - Where are we in the Python 3 transition? http://www.snarky.ca/the-stages-of-the-python-3-transition
-
@ccc , thanks. I subscribed to his blog. I read through quite a few of his blog entries. Really good info for someone like me (limited info on the history of Python and the future and more...) for one, I will start to look at Unicode seriously, it's good to do while I am still a beginner. Anyway, great info from this guy (Not just the mentioned blog entry here) and he has the credentials
-
Most of the posts here are 3 years old. More libraries are now available on Python 3 and it appears to be the clear direction forward for Python. My requirements are for Python 3.
Pythonista looks great and as soon as it is on Python 3 I will purchase it!
-
Just FYI to anyone who may have missed it - it's happening...