#BilboToday becomes #BilboPaths. You can follow the hashtag for more. I'll never forget what this fascinating and loving personality of a dog taught me about #nature and how to change my perspective.
As soon as I'm mobile again (carrying the dog last threw my physiotherapy back), I'm walking our old #paths again and talk about #nature!
On #Python if you use relative paths on a script, they are interpreted as relative to the "current working directory" Path.cwd(), when you call the script from the command line. If you want for some reason to reach a file relative to the script source itself you can use:
from pathlib import Path<br></br>file_path = Path(__file__).parent / 'data' / 'my_file.dat'<br></br>
#pathlib#paths update: @isagalaev saw a typo, there should be no leading / on data/my_file.dat
update2: better to let pathlib do the sub-dir thing, also more portable.
@technotramp could I share a little of your Unexpected Tracks as the music for my show this week? (I talk about lisps and smolnet community news, while sharing awesome underground music of people I meet). Is there a big ipfs music scene? You are the first one I encountered.
I'm enjoying Honeycomb -> Funky Cat right now. I once had some bubble gum from Japan that had the words "highly technical flavor" printed on the packaging which this puts me in mind of somehow
That is #absolutely#true. The rplayer.core.js #module (which can be run separately) even uses #jQuery, which is a weakness in this regard. But there's another level to this. #RPlayer serves primarily as an #archive. If I know the #IPFS#CID, I can easily deduce the address of the rplayer.conf.js file, which contains all the #information and #paths to the #media...