sorry for typo (Was: Re: Puzzling difference between lists and tuples)

2020-09-19 Thread 황병희
> #+BEGIN_SRC: python > for n in ('first',): > print n > #+BEGIN_SRC The last 'BEGIN_SRC' should be 'END_SRC' so sorry ;;; -- ^고맙습니다 _救濟蒼生_ 감사합니다_^))// -- https://mail.python.org/mailman/listinfo/python-list

Re: Puzzling difference between lists and tuples

2020-09-19 Thread 황병희
William Pearson writes: > ... > for n in ('first'): > print n > > > ... but "f","i","r","s","t" in the second. #+BEGIN_SRC: python for n in ('first',): print n #+BEGIN_SRC Then, that will print 'first'. And please use Python3... Sincerely, Byung-Hee -- ^고맙습니다 _救濟蒼生_ 감사합니다_^))// -- h

Re: importlib changes from py3.7 to py3.8

2020-09-19 Thread Greg Ewing
On 19/09/20 7:51 am, Eko palypse wrote: ValueError: source code string cannot contain null bytes Any idea what happened here? Seems I've missed that __init__.py's aren't allowed to be empty anymore. Adding a single # solved the issue. I just tried importing a package with an empty __init__.

Re: importlib changes from py3.7 to py3.8

2020-09-19 Thread Eko palypse
Seems I've missed that __init__.py's aren't allowed to be empty anymore. Adding a single # solved the issue. Eren -- https://mail.python.org/mailman/listinfo/python-list