How to make website with Python?

How can I go about implementing a Dropbox-like file hosting service using Python?

  • I am taking a python course at college and my term project involves implementing a python based file hosting service like dropbox. I have made web server using python before using twisted, selectmultiplexing (for multiple clients etc). I need ideas on how i should approach this project. Here is what i was thinking of having as a final project: designate multiple folders as client folders on hard drive drop text file into designated folders and Dropbox server(on a web browser) should recognize any changes made to folders (kinda replicating the dropbox website) check the status of a particular folder in the browser(file added, modified or removed) add and delete files from the web interface and make sure files are deleted or modified likewise on the designated folders. Any suggestions? Please give me a direction or a source from where i can learn. Any suggestions for the approach that i have above? anything that would make this easier to implement in python?

  • Answer:

    In the old this this would be crazy for the scope of a final project but thanks to the magic of open source, it's not that bad. I'd recommend starting with FUSE (http://fuse.sourceforge.net/), reading it's API and implementing a synchronization policy on top of your web serverĀ  which could be running a regular filesystem in a sandboxed environment. It won't be easy, and maybe you should considering cutting down the scope to create a minimum viable product before adding in nice-to-have web features.

Abhinav Sharma at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.