Change by amjad ben hedhili <amjadbenhedh...@gmail.com>:
--
title: Syntax to get multiple items from an iterable -> Syntax to get multiple
arbitrary items from an iterable
___
Python tracker <rep...@bugs.python.org>
<https
New submission from amjad ben hedhili <amjadbenhedh...@gmail.com>:
It will be much of improvement for readability to write:
my_list = ["John", "Richard", "Alice", 1, True, 2.1, "End"]
a, b, c = my_list[1, 3, -1]
instead of:
my_list = ["John
Change by amjad ben hedhili <amjadbenhedh...@gmail.com>:
--
title: get the nth folder -> get the nth folder of a given path
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
New submission from amjad ben hedhili <amjadbenhedh...@gmail.com>:
It will be handy if there was an os or os.path function that returns the path
to the nth directory in a given path
for example:
given path =
"C:\Users\User\AppData\Local\Programs\Python\Python36\Lib\asyncio\