Re: Process.start

Liste des GroupesRevenir à cl python 
Sujet : Re: Process.start
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.python
Date : 03. Sep 2024, 21:47:13
Autres entêtes
Organisation : None to speak of
Message-ID : <87wmjs1n3i.fsf@nosuchdomain.example.com>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13)
ram@zedat.fu-berlin.de (Stefan Ram) writes:
marc nicole <mk1853387@gmail.com> wrote or quoted:
Thanks for the reply, Here's the code I tested for the debug:
print("executed")
but neither "Hello World" or "Executed" are displayed in the console which
>
  It shouldn't spit out "Executed" 'cause there's a lowercase
  "e" in the mix. Talk about sweating the small stuff!
>
  That 'if __name__ == "__main__"' jazz? It's barking up the wrong
  tree here, just muddying the waters. I'd 86 that clause for now.
>
  In your start() function call, you're rockin' "do_something()",
  but the actual function's defined as "do_Something()" with a
  capital "S". Python's all about that case sensitivity.
>
  Dropping that "exit(0)" bomb right after firing up the process?
  That's like bailing on a gnarly wave before you even catch it.
  It might pull the plug on the main process before the kid process
  has a chance to strut its stuff.
>
  Those "ghello" and "fhello" functions? They're just chillin'
  there, not pulling their weight!
[...]

Stefan, you've recently started using a lot of slang in your posts.
I suggest that this is counterproductive.  For me, it makes your
posts more difficult to read.  I can imagine that it would be even
more difficult for readers whose first language is not English.

You also indent your own new text, which is exactly the opposite of
common Usenet conventions.  (You've been doing this for a long time.)

Please consider prioritizing your readers' convenience over whatever
benefit you derive from your unconventional posting style.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

Date Sujet#  Auteur
3 Sep 24 * Re: [Tutor] Getting a Process.start() error pickle.PicklingError: Can't pickle <type 'module'>: it's not found as __builtin__.module with Python 2.73marc nicole
3 Sep 24 `* Re: Process.start2Stefan Ram
3 Sep 24  `- Re: Process.start1Keith Thompson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal