Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: parallelism v.python

by MonkOfAnotherSect (Sexton)
on Mar 13, 2014 at 02:11 UTC ( [id://1078113]=note: print w/replies, xml ) Need Help??


in reply to Re^3: parallelism v.python
in thread parallelism v.python

Yup. https://wiki.python.org/moin/Concurrency/ applies. In short: Don't use threading on CPython unless you have to.

Also for multiline prints, you can either wrap in brackets, use triple quotes, or use \ line continuance.

...and some say that Python has only one way of doing things... ;-)

Replies are listed 'Best First'.
Re^5: parallelism v.python (TOOWTDI)
by LanX (Saint) on Mar 13, 2014 at 16:41 UTC
    > ...and some say that Python has only one way of doing things... ;-)

    oh ... they do!

    "There's Only One Way To Do It"

    This was the slogan PythonLabs came up with for the T-shirts given away by the defunct BeOpen at OSCON 2000. It was meant as a tongue-in-cheek response to Larry Wall's Perl slogan "There's more than one way to do it." but the community liked it and it has often been taken very seriously in language or library design discussions. The Zen of Python is more nuanced:

    There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch.

    see also One people, one language, one dictator! :)

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1078113]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found