Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: TypeError: Method takes takes exactly 1 argument but 2 given
Post: TypeError: Method takes takes exactly 1 argument b...

Hi Below is my code: import SimpleHTTPServer import SocketServer import os from threading import Thread import threading class MyThread(Thread):    def __init__(self,streampath):        ''' Constru...
pras120687 Web Scraping & Web Development 1 9,126 Dec-15-2016, 06:08 PM
    Thread: When i try to create a webserver through a port throwing error
Post: RE: When i try to create a webserver through a por...

No I mean i tried both the codes each one at a time but am able to create webserver on the port given but i am not able to shutdown the server. I used these commands server.server_close() server.shut...
pras120687 Web Scraping & Web Development 2 5,798 Dec-14-2016, 01:06 AM
    Thread: When i try to create a webserver through a port throwing error
Post: When i try to create a webserver through a port th...

Hi, When i try to create a webserver through a port and for second time if i try to create to same port it is throwing following error message. [Errno 10048] Only one usage of each socket address (p...
pras120687 Web Scraping & Web Development 2 5,798 Dec-13-2016, 05:50 PM
    Thread: How to Create a web server pointing to a folder using python
Post: How to Create a web server pointing to a folder us...

Hi, Please help me in creating the webserver pointing to a folder using python programming. At present am using cmd line argument  python -m SimpleHTTPServer 8888 But now i want to implement using...
pras120687 Web Scraping & Web Development 1 4,015 Nov-29-2016, 04:58 AM

User Panel Messages

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