Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-17 Thread 황병희
Dear Loris,

"Loris Bennett"  writes:

> (...thanks...)
> The sysadmins I know who are interested in long-term stability and
> avoiding unnecessary OS updates use Debian rather than Ubuntu,

+1; Reasonable!

Sincerely, Linux fan Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: ping script

2022-02-27 Thread 황병희
Dear Barry,

Barry Scott  writes:

>> [...]
> This is correct python3.org  is only setup for email.
> Use the host and dig commands to check for yourself.

It is very amazing! Thanks for explanation!

> Compare
>
> $ host python.org 
>
> with
>
> $ host python3.org
>
> And compare:
>
> $ dig -t A python.org 
> $ dig -t MX python.org 
>
> with
>
> $ dig -t A python3.org 
> $ dig -t MX python3.org 
>
> Barry
>

Sincerely, Linux fan Byung-Hee

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request to advise error for python.

2021-10-21 Thread 황병희
황병희  writes:

> Dear 정성학,
>
>>>> [image: image.png]
>
> If you would like to show us your image, then write down the github/gitlab
> link. ...

This is example:
https://gitlab.com/soyeomul/test/-/commit/80d2b4f5e8eda0238301e9bca5bc33f0127572fd

Sincerely, Gopher Byung-Hee
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request to advise error for python.

2021-10-19 Thread 황병희
Dear 정성학,

>>> [image: image.png]

If you would like to show us your image, then write down the github/gitlab
link. Of course i assume you have github/gitlab account. Because Mailing
server does filter for dangerous things such as image file, video clip,
action scripts (computer virus), i think...

Sincerely, Gopher Byung-Hee

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Posts from gmane no longer allowed?

2021-09-27 Thread 황병희
Grant Edwards  writes:

> I've been reading (and posting to) this list for many years by
> pointing an NNTP client
> at news://gmane.comp.python.general. Sometime in the past few days posts 
> started
> being refused:
>
> You have tried posting to gmane.comp.python.general, which is a
> unidirectional
> mailing list. Gmane can therefore not send this message to that
> mailing list.
>
> Was this a change made by the mailing list admins?
>
> If so, is it permanent?
>
> [Trying to send a plaintext e-mail via Gmail, but not sure if it's working.]

Oh this is unhappy news. Because i also using Gmane with
gmane.emacs.help and gmane.linux.debian.user. Only i use Usenet (eternal
september) with comp.lang.python.

Sincerely, Byung-Hee
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: learning python ...

2021-05-30 Thread 황병희
hw  writes:

> Hi,
>
> I'm starting to learn python and have made a little example program
> following a tutorial[1] I'm attaching.
>
> Running it, I'm getting:
>
>
> Traceback (most recent call last):
>   File "[...]/hworld.py", line 18, in 
> print(isinstance(int, float))
> TypeError: isinstance() arg 2 must be a type or tuple of types
>
>
> I would understand to get an error message in line 5 but not in 18.
> Is this a bug or a feature?
>
>
> [1]: https://www.learnpython.org/en/Variables_and_Types
>

OK man i saw your code other messages. That is simple.
You wrote 'Python's default keywords' so that occurs conflict.

Bomb.

To avoid conflict, i append some prefix like as "_" or "__" when i
write down var/func names sometimes...

Sincerely, Gnus fan Byung-Hee

-- 
^고맙습니다 _救濟蒼生_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-07 Thread 황병희
Paul Bryan  writes:

> Given the ease of spoofing sender addresses, and its propensity for use
> in anonymous spamming and trolling (thanks python-list-owner for
> staying on top of that!), I propose to disconnect comp.lang.python from
> the python-list mailing list. Both would then operate independently.

Hellow Paul,

So now, i think that Evolution should be support for NNTP.

Sincerely, Python and Gnus fan Byung-Hee

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Thank you Larry Hastings!

2020-10-08 Thread 황병희
Barry Warsaw  writes:

> They say being a Python Release Manager is a thankless job, so the
> Python Secret Underground (PSU), which emphatically does not exist,
> hereby officially doesn’t thank Larry for his years of diligent
> service as the Python 3.4 and 3.5 release manager.
>
> On the other hand, the Python Steering Council, Python Software
> Foundation, and worldwide Python community, all of which emphatically
> *do* exist, all extend our heartfelt thanks to Larry for his excellent
> stewardship of Python 3.4 and 3.5!
>
> Python 3.4 and 3.5 were both pivotal releases.  While the features of
> these two releases are too numerous to mention here, they introduced
> such staples as:
>
> * asyncio
> * enum
> * pathlib
> * async and await keywords
> * matrix multiplication operators
> * typing and zipapp modules
>
> and so much more.  For details, see:
>
> * https://docs.python.org/3/whatsnew/3.4.html
> * https://docs.python.org/3/whatsnew/3.5.html
>
> Larry’s first official release of 3.4.0a1 was on 2013-08-03 and his
> last Python 3.5.10 release was 2020-09-05.  That’s 7 years of
> exemplary release managing!
>
> Larry, from all of us, and from me personally, thank you so much for
> your invaluable contributions to Python.  Enjoy your retirement!
>
> Cheers,
> -Barry (on behalf of the PSC and PSF)

7 years is very long. Also i would like to add personal "Thanks".

Sincerely, Python fan Byung-Hee

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Use of a variable in parent loop

2020-09-28 Thread 황병희
Stephane Tougard  writes:

> ...
> It's normal, he was an ass. When I manage a team, I don't enforce tools
> or language, I ask them to work the best way they can to get the things
> done. If they want to write C in Perl (as I often do), I'm happy. If
> they prefer Ruby (that I never learnt), or Lisp ... as long as it works
> and they are able to maintain it, I'm happy as well.
>
> Nothing is more enjoyable than a platform running a variety of languages
> and technologies, working all together.
>
> And FYI, I've done this way since 25 years and I count a few good
> success in my career. Practically, my way of doing things works is at least
> as well as any.

Maybe you seems like lisp or emacs lisp just i think, not serious...

Sincerely, Byung-Hee from South Korea

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


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

-- 
^고맙습니다 _救濟蒼生_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: There is LTS?

2020-08-24 Thread 황병희
Léo El Amri  writes:

> On 24/08/2020 04:54, 황병희 wrote:
>> Hi, just i am curious. There is LTS for *Python*? If so, i am very thank
>> you for Python Project.
>
> Hi Byung-Hee,
>
> Does the "LTS" acronym you are using here stands for "Long Term Support" ?
>
> If so, then the short answer is: Yes, kind of. There is a 5 years
> maintenance for each major version of Python 3.
>
> You can find information on how Python is released and maintained at PEP
> 101 [1] and on the developers documentation [2].
>
> Each major Python release typically have a PEP associated with it where
> past minor releases dates and future plans are recorded.
> For example: PEP 494 [3] for Python 3.6, PEP 537 [4] for Python 3.7 and
> PEP 569 [5] for Python 3.8.
>
> [1] https://www.python.org/dev/peps/pep-0101/
> [2] https://devguide.python.org/devcycle/
> [3] https://www.python.org/dev/peps/pep-0494/
> [4] https://www.python.org/dev/peps/pep-0537/
> [5] https://www.python.org/dev/peps/pep-0569/

Wow Léo you nice guy!!! Thank You!!!

Sincerely, Byung-Hee

-- 
^고맙습니다 _救濟蒼生_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


There is LTS?

2020-08-23 Thread 황병희
Hi, just i am curious. There is LTS for *Python*? If so, i am very thank
you for Python Project.

Yesterday, by chance, i heard that there is LTS for Linux Kernel. The
idea seems so beautiful!!! 

Sincerely, Byung-Hee

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Module import question

2020-08-09 Thread 황병희
Gabor Urban  writes:

> Hi guys,
>
> I have a quite simple question but I could not find the correct answer.
>
> I have twoo modules A and B. A imports B. If I import A in a script, Will
> be B imported automatically? I guess not, but fő not know exactly.
>
> Thanks for your answer ín advance,

#+BEGIN_SRC: sh + python
(bionic)soyeomul@localhost:~/222$ cat b.py
name = "b"
(bionic)soyeomul@localhost:~/222$ cat a.py
import b

name = "a"
(bionic)soyeomul@localhost:~/222$ cat c.py
import a

print(a.name) # a.py's name
print(a.b.name) # b.py's name
(bionic)soyeomul@localhost:~/222$ python3 c.py
a
b
(bionic)soyeomul@localhost:~/222$ 
#+END_SRC

Sincerely, Byung-Hee

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


a bit feedback for JSON documents

2020-07-03 Thread 황병희
There is some comment for
https://docs.python.org/3.10/library/json.html.

The latest RFC number is 8259. 

Thanks,

Sincerely, JSON fan Byung-Hee

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What I learned today

2020-02-17 Thread 황병희
r...@zedat.fu-berlin.de (Stefan Ram) writes:

>   ...
>   But the book told me that you can unzip using ... »zip« again!
>
> z = zip( x, y )
> a, b = zip( *z )
> print( a )
>   ('y', 'n', 'a', 'n', 't')
> print( b )
> (4, 2, 7, 3, 1)
>
>   Wow!

Usally i use zip so many, thanks for tip^^^

Sincerely, Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Now off-topic (Was: Re: NNTPlib apps work like a charm)

2020-01-22 Thread 황병희
Hellow rn,

rn  writes:

> now that you posted it, readers may remember that there was the usenet 
> feature in EMACS as
> well. Unlike ThunderBird, emacs/GNUs supports X-face, which is kinda
> nice.
>
> let’s see whether emacs will allow to post here.

Gnus is the best usenet/email client in the Earth, i think.
Thanks for feedback^^^

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Debian Buster: ModuleNotFoundError: No module named 'mysql'

2020-01-19 Thread 황병희
^Bart  writes:

>> pip is probably defaulting to Python 2.7. Try using pip3, or this more
>> explicit syntax:
>
> Now it works!
>
> Python 3.7.3 (default, Apr  3 2019, 05:39:12)
> [GCC 8.3.0] on linux
> Type "help", "copyright", "credits" or "license()" for more information.

> == RESTART: /home/gabriele/Corso_4.0/Python/Test_MySQL2.py
> ==
> 


Wow, what a beautiful Debian-Python ^^^

Sincerely, Linux fan Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: 1 line demo

2020-01-14 Thread 황병희
> suitable nntp test group available ...

There is one suitable group: gmane.test

Plus somebody already know. Gmane NNTP address changed since 2020-01-06.

news.gmane.org ===> news.gmane.io [*]

Sincerely, NNTP fan Byung-Hee

[*]
https://lars.ingebrigtsen.no/2020/01/06/whatever-happened-to-news-gmane-org/

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: self - hosted usenet poster py script - pretty cool, 20 lines only

2020-01-14 Thread 황병희
Chris Angelico  writes:

> On Tue, Jan 14, 2020 at 7:31 PM aa  wrote:
>> X-User-Signature: python spam now comes to comp lang py as well
>>
>
> Can you post to a test newsgroup instead? Please?

By the way, he is trying new experimental thing.
Actually i like his trying and NNTP.

Sincerely, NNTP fan Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: NNTPlib apps work like a charm

2020-01-14 Thread 황병희
Julie  writes:

> why is anybody using anything else than Py for usenet ?

Only i use Python3 making Message-ID within Gnus.
https://gitlab.com/soyeomul/Gnus/raw/master/thanks-mid.py

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: A small quiz

2020-01-04 Thread 황병희
Greg Ewing  writes:

> On 4/01/20 5:41 am, Alan Bawden wrote:
>>>So I was looking for a predefined object from the standard
>>>library that already /is/ an iterator (with no need to use
>>>»iter«).
>
> Why are you so intent on introducing either next() or iter() to
> beginning students? I'd have thought they were somewhat advanced
> topics, to be tackled after your students are familiar with the
> basics.

Also i think that topic is somewhat difficult. Anyway thanks for
introducing, Stefan(OP)^^^

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [Q] __init__ in class

2019-12-26 Thread 황병희
Irv Kalb  writes:

> myObject = MyClass()   #  "MyClass" would be the name of a class in your code
>
> When you run a line like the one above, Python looks to see if that
> class has a method named __init__().  If it does, then Python calls
> that method of the newly created object.

Very clean comments, thank you Irv^^^ INDEED.

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [Q] __init__ in class

2019-12-26 Thread 황병희
Hellow DL^^^

> Please be aware that there is a Python Tutor Discussion List.

Thanks for advice^^^

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [Q] __init__ in class

2019-12-26 Thread 황병희
Hellow Stefan^^^

>   The class definition depends on the requirement
>   specification for the class.
>
>   클래스 정의는 클래스의 요구 사항 스펙에 따라 다릅니다.

Now i got it, understood, thanks a lot^^^

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


[Q] __init__ in class

2019-12-26 Thread 황병희
in making class, why we should set "__init__"? so non-init class is
useless? actually i did fail to understand __init__'s meaning. what is
role of __init__ in class.

sincerely, from python beginner.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Problem Running Python

2019-12-17 Thread 황병희
Hello Patrick^^^

> kindly assist me through the proper download and installation procedure as I 
> really need to start learning coding with the Python programming language.

In next year 2020, Ubuntu 20.04 LTS will be released with a New Hope, i
guess. At there base Python will be 3.x version. If you are startman, i
recommand you to start Python 3 with Ubuntu 20.04 LTS.

And Ubuntu is easy^^^
Yes Ubuntu is easy^^^
HaH Ubuntu is easy^^^

Sincerely, from Ubuntu-Python guy ;;;

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Vim settings for Python

2019-12-07 Thread 황병희
Hello Peter^^^

> As an aside, to prevent vim from inserting tabs in the first place, set
> expandtab
> sw=4
> and maybe also
> ts=4
> (The latter is very much a matter of taste. I don't unless I have to
> edit code which already contains tabs intended to be at a certain width.)

Because sometimes, i use vim (Ubuntu 18.04 LTS), so very much thanks^^^

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: tab replace to space 4

2019-12-02 Thread 황병희
Hi, Gilmeh^^^

> We are Python people, aren't we?

Looks good, i did copy it [1], and thanks^^^

[1] https://gitlab.com/soyeomul/test/blob/master/untabify.py

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: tab replace to space 4

2019-11-29 Thread 황병희
Hello, Pankaj^^^

> In Emacs, use "M-x untabify". [...]

Then i solved problem You nice guy!

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


tab replace to space 4

2019-11-29 Thread 황병희
[i am writing question on comp.lang.python]

usally i write python code in gnu emacs on ubuntu 18.04 sometimes i
re-edit the code vim in same machine so often when i do run the code in
shell like as ./test.py i meet consol error -- which line wrong!

so i am considering how can i replace all tab to space 4 within python
code. if there is solution in google i am very sorry.

thanks all and any comments welcome^^^

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: how to read in the newsreader

2017-10-16 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Andrew Z  께서 쓰시길,
 《記事 全文  에서》:

> Gents,
>  how do i get this group in a newsreader? The digest i'm getting is not
> workable for me - i can't reply , can only read the replies from the
> members of the group. Or. maybe, it shouldn't be a news reader
> please advise..
>
> P.S. Oh the comp.lang.python is a nightmare because of spam...

It would be nice "gmane.comp.python.general" via NNTP, there are no spam. 

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Solved (Was: Re: [Q] days -> months)

2017-10-11 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Oh never mind it, after so many trial and error, i did make months
format with success, thanks!!! 

Sincerely, Byung-Hee.

-- 
^고맙습니다 _救濟蒼生_ 감사합니다_^))//

-- 
https://mail.python.org/mailman/listinfo/python-list


[Q] days -> months

2017-10-11 Thread Byung-Hee HWANG (황병희, 黃炳熙)
In real life, i am breeding Hanwoo(Korean cattle), about 100 head of
cattle. About 50 days ago, i got one young cattle. The name is
"Bullseye". I love Bullseye. Until the Bullseye is released by butchery,
i would like to maintain him with his age. So thus i did write some
humble code to identify his age [1]. 

By the way i did fail to chage the format "days" to "months". How? Of
course i want Python way!

Sincerely, 

[1]
https://raw.githubusercontent.com/soyeomul/Gnus/MaGnus/thanks-bullseye-age.rb.gnus

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python in chromebook

2017-08-03 Thread Byung-Hee HWANG (황병희, 黃炳熙)
attend <att...@home.srv> 께서 쓰시길,
 《記事 全文 <s9pgB.472211$YS2.57569@fx11.am4> 에서》:

> On Thu, 27 Jul 2017 10:03:29 +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
>
>> my computer is chromebook. how can i install python in chromebook?
>> barely i did meet develop mode of chromebook. also i'm new to python.
>> 
>> INDEED, i want to make python code on my chromebook.
>> 
>> thanks in avance!!!
>
> google crouton chromebook

Possibly i would like to install python under Chrome OS. Anyway thanks!

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Issues with Python

2017-07-30 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Ode Idoko via Python-list  께서 쓰시길,
 《記事 全文  에서》:

> ... it will display syntax error with ...

Maybe, you did copy & paste, just i guess ... if not, ignore it.

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python in chromebook

2017-07-26 Thread Byung-Hee HWANG (황병희, 黃炳熙)
boB Stepp  께서 쓰시길,
 《記事 全文
 
 에서》:

> Googling for "python on chromebook" tends to bring up Python 2-slanted
> info; searching for "python 3 on chromebook" for Python 3-slanted
> results should give you useful info.  A quick scan suggests there are
> two approaches:  (1) Going into developer mode on your Chromebook and
> installing Python normally, or (2) going to the app store and
> installing a Python shell that runs in your browser.  Myself, I would
> prefer (1), but I have never had a Chromebook, so that may not fit in
> with what you wish to do.

OK, i will try it, thanks!!!

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//

-- 
https://mail.python.org/mailman/listinfo/python-list


python in chromebook

2017-07-26 Thread Byung-Hee HWANG (황병희, 黃炳熙)
my computer is chromebook. how can i install python in chromebook?
barely i did meet develop mode of chromebook. also i'm new to
python. 

INDEED, i want to make python code on my chromebook. 

thanks in avance!!!  

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//

-- 
https://mail.python.org/mailman/listinfo/python-list


python install in chromebook

2017-07-26 Thread Byung-Hee HWANG (황병희, 黃炳熙)
firstly i did fail to send message via mailing list so i try again with
usenet here comp.lang.python. i want to install python in chromebook
because i have chromebook and i want to make code of python. somebody
could help me, i believe. thanks in advance...

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//
-- 
https://mail.python.org/mailman/listinfo/python-list