Python Forum
Threading or pycharm pydev problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threading or pycharm pydev problem
#3
Line 11: you do realise that you're calling the_watcher on the main thread and that you're passing its return value as the value for target, right? Think about it, you want the function to run on a separate thread, so you pass the function itself, rather than calling it and passing its return value.
Reply


Messages In This Thread
Threading or pycharm pydev problem - by Fidgety - Apr-01-2021, 09:37 PM
RE: Threading or pycharm pydev problem - by Fidgety - Apr-01-2021, 11:37 PM
RE: Threading or pycharm pydev problem - by ndc85430 - Apr-04-2021, 03:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Concurrent futures threading running at same speed as non-threading billykid999 13 1,985 May-03-2023, 08:22 AM
Last Post: billykid999
  How to resolve my problem in Pycharm? bshoushtarian 0 879 Sep-26-2022, 11:45 AM
Last Post: bshoushtarian
  Facing problem with Pycharm - Not getting the expected output amortal03 1 885 Sep-09-2022, 05:44 PM
Last Post: Yoriz
  Tutorials on sockets, threading and multi-threading? muzikman 2 2,159 Oct-01-2021, 08:32 PM
Last Post: muzikman
  Idle and pycharm problem noithatgooccho 1 2,364 Jan-06-2021, 10:49 AM
Last Post: Larz60+
  Idle and pycharm problem gr3yali3n 3 2,365 Sep-05-2020, 03:28 AM
Last Post: gr3yali3n
  Python - Keyboard module - Threading problem ppel123 1 3,112 Apr-13-2020, 04:49 PM
Last Post: deanhystad
  pydev debugger: process 3442 is connecting when I run a program with ALT+COMMAND+R Seneca260 1 2,678 Jan-06-2020, 06:57 PM
Last Post: micseydel
  pydev error pydev debugger: warning: trying to add breakpoint to file that does not e kwhhst 8 9,205 Jun-15-2019, 02:52 PM
Last Post: kwhhst
  PyDev package install/download at runtime user2103 0 2,498 Jan-30-2018, 08:39 AM
Last Post: user2103

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020