I tested on Windows 10 and Python 3.7.5 and it works like a charm!

This is really simple! We know Python is quite popular and many people use 
Python in their work! So this open new opportunities for using
Tiddlywiki with Python projects!

Some minor comments:
 1. add date stamp before .html extension
 2. let to define multi path for wikis (right now anything should be in the 
same directory or sub directories of *twserver.py*
 3. you may announce it in https://pypi.org/

Thank you again for this nifty tool.

--Mohammad

On Sunday, December 29, 2019 at 1:30:42 AM UTC+3:30, UBi wrote:
>
> I will describe my use case on Linux, Windows should work in a similar 
> fashion.
>
> My TiddlyWiki files live in /home/ubi/TW, abbreviated ~/TW. There I placed 
> the script as twserver.py.
> For a first test, I started it manually in a terminal window:
>
> /usr/bin/python3 ~/TW/twserver.py
>>
>
> Then I pointed my browser to http://localhost:8080/. Status messages 
> started appearing in the terminal window.
>
> In the browser window a list of files and directories below ~/TW appeared.
>
> I opened one of my TW files, notes.html, and created a new Tiddler. The I 
> saved the changes.
> This
> 1) backed up ~/TW/notes.html html to 
> ~/TW/twBackups/notes.html.YYYYMMDDhhmmss, creating ~/TW/twBackups on the 
> fly.
> 2) saved the changes to ~/TW/notes.html.
>
> Now I have to find out how / where I can add a call to the script to my 
> startup or login procedures.
>
> HTH UBi
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b0b5b6e-ee41-407e-ae79-7bc116e09e5c%40googlegroups.com.

Reply via email to