About 600,000 results
Open links in new tab
  1. What exactly does the .join () method do? - Stack Overflow

    I'm pretty new to Python and am completely confused by .join() which I have read is the preferred method for concatenating strings. I tried: strid = repr(595) print array.array('c', random.sample(

  2. python - What is the use of join () in threading? - Stack Overflow

    Jul 20, 2023 · In python 3.x join () is used to join a thread with the main thread i.e. when join () is used for a particular thread the main thread will stop executing until the execution of joined …

  3. What exactly is Python multiprocessing Module's .join() Method …

    The name join is used because the multiprocessing module's API is meant to look as similar to the threading module's API, and the threading module uses join for its Thread object. Using …

  4. python - How does os.path.join () work? - Stack Overflow

    Dec 17, 2013 · 8 Your second join call is not os.path.join, it is str.join. What this one does is that it joins the argument (as an iterable, meaning it can be seen as f, i, s, h) with self as the …

  5. what does exactly the join () method do in python multithreading

    Sep 14, 2022 · Picture it doing absolutely nothing at all, and picture it continuing to do nothing until thread t is finished. Then it returns. If you wanted to know how join () works "under the …

  6. Python, Multiprocessing: what does process.join () do?

    Jul 13, 2015 · 7 The join function currently will wait for the last process you call to finish before moving onto the next section of code. If you walk through what you have done you should see …

  7. python - How to concatenate (join) items in a list to a single string ...

    Sep 17, 2012 · For handling a few strings in separate variables, see How do I append one string to another in Python?. For the opposite process - creating a list from a string - see How do I …

  8. Explain to me how .join() works in Python - Stack Overflow

    May 18, 2016 · You have a str.join() method. This method simply puts all values in the iterable argument (which must be strings) together into a new string with the string object on which you …

  9. When, why, and how to call thread.join () in Python?

    Jan 31, 2014 · The idea behind join is that you call it any time you want one thread to wait for another thread to exit. That is often seen at the end of main (), but depending on the …

  10. python - Why use os.path.join over string concatenation ... - Stack ...

    Oct 26, 2017 · Consider os.path.join('a', '/b'), which actually returns /b. So if you're mixing these methods, or converting from string concatenation to os.path.join, make sure path components …