Also here's the link to the tutorial
https://youtu.be/WrtebUkUssc
Original message From: Steven D'Aprano <st...@pearwood.info>
Date: 8/1/17 8:49 PM (GMT-05:00) To: tutor@python.org Subject: Re: [Tutor]
Python Daemons
Hi Daniel,
My responses below.
On Tue, Aug 01, 2017
On 01Aug2017 14:48, Daniel Bosah wrote:
I'm following an online tutorial about threading. This is the code I've
used so far:
In addition to the other replies, which mention the general computing "daemon"
notion and the "python-daemon" library which aids making such python
Steven D'Aprano writes:
> On Tue, Aug 01, 2017 at 09:03:30PM -0400, dbosah wrote:
(I am not seeing your replies in this forum, dbosah. Please address your
replies to the mailing list – not to an individual – if you want the
discussion to continue.)
> > And I'm still
On Tue, Aug 01, 2017 at 09:03:30PM -0400, dbosah wrote:
> It usually says that it's an error.
Sorry, my crystal ball is at the shop being repaired and I don't know
what "an error" means or how to fix it.
Please COPY AND PASTE the full text of the error, starting with the
line "Traceback" and
On Tue, Aug 01, 2017 at 09:05:02PM -0400, dbosah wrote:
> Also here's the link to the tutorial
> https://youtu.be/WrtebUkUssc
That is clearly marked as "Python 3 Programming Tutorial". Why are you
using Python 2? When you have a problem, you won't know if the problem
is with your code, or a
Daniel Bosah writes:
> I'm following an online tutorial about threading.
Can you point to it so we can understand your specific situation?
> I don't know what a Daemon is
The package ‘python-daemon’ is a library to build your program as a
daemon
Hi Daniel,
My responses below.
On Tue, Aug 01, 2017 at 02:48:19PM -0400, Daniel Bosah wrote:
> I'm following an online tutorial about threading. This is the code I've
> used so far:
Can you give us a link to the tutorial?
[...]
> def portscan(port):
> s = socket.socket(socket.AF_INET,
I'm following an online tutorial about threading. This is the code I've
used so far:
import socket
import threading
from queue import Queue
print_lock = threading.Lock()
target = 'pythonprogramming.net'
def portscan(port):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try: