About 50 results
Open links in new tab
  1. python - Simple file server to serve current directory - Stack Overflow

    Mar 11, 2013 · $ http-server Downloads -a localhost -p 8080 Starting up http-server, serving Downloads on port: 8080 Hit CTRL-C to stop the server Python has: Python 3: python -m http.server --bind …

  2. python - How to run a http server which serves a specific path? - Stack ...

    That is, if the command line of your Windows shortcut is C:\Windows\System32\cmd.exe /k "python -m http.server --directory web", then in the shortcut properties, make sure to leave the "Start in" field …

  3. Serve directory in Python 3 - Stack Overflow

    Mar 11, 2019 · I've got this basic python3 server but can't figure out how to serve a directory.

  4. Python SimpleHTTPServer to receive files - Stack Overflow

    Sep 30, 2016 · I am using SimpleHTTPServer's do_POST method to receive file. The script is working fine if I upload the png file using curl but whenever I use python request library to upload file, File …

  5. python - access remote files on server with smb protocol python3 ...

    Mar 26, 2018 · I have a remote server with some files. smb://ftpsrv/public/ I can be authorized there as an anonymous user. In java I could simply write this code: SmbFile root = new …

  6. How to upload file with python requests? - Stack Overflow

    If you want to upload a single file with Python requests library, then requests lib supports streaming uploads, which allow you to send large files or streams without reading into memory.

  7. How to make a simple HTTPS server in Python 3x - Stack Overflow

    Nov 19, 2023 · How can i create the simpliest python server, which will receive just one response and than die? I've tried this, but modified it a bit, because of deprecation of some methods. import …

  8. How to run Uvicorn FastAPI server as a module from another Python …

    Sep 30, 2022 · I want to run FastAPI server using Uvicorn from A different Python file. uvicornmodule/main.py import uvicorn import webbrowser from fastapi import FastAPI from …

  9. Not able to access file server using smbprotocol python library

    May 23, 2025 · We have written a script deployed on Azure function which performs some operation on data stored in file server and stores the processed data back to file server. This script was working …

  10. Importing data from an excel file using python into SQL Server

    Jul 10, 2018 · Importing data from an excel file using python into SQL Server Asked 7 years, 7 months ago Modified 1 year, 11 months ago Viewed 66k times