- cross-posted to:
- linuxmemes@lemmy.world
- cross-posted to:
- linuxmemes@lemmy.world
The big reveal comes when you realise the paths are in fact, relative.
This meme is way more clever than it should be
Can you please explain? I’ve never used Mac and it’s been a long time since I’ve properly used windows.
File paths in Linux and Mac use / while Windows uses \
Take a look at the angle of the lightsabers.
I never would’ve gotten that!
Like I said, way more clever than it should be. Props to the creator for sure.
Technically, Windows understands both / and \. I personally always use / just because it’s easier to type that.
The lightsaber orientation is the same as the slash orientation
Ha, neat!
Took me a minute
Duel of the fates:
\//\
\o/
I don’t really watch Star Wars. I’m a more of a Trekkie gal.
🖖
See, you can separate files both ways as long as it’s logical
I don’t get it
The lightsaber direction is like / \
A whole fight in characters:
/ \
X
| |
\ /- /
X
- /
I hate that I need to use escape characters when creating something for windows.
Python raw strings to the rescue!
Nobody is stopping you from using forward slashes. Python will translate the path for the current platform.
Python doesn’t have to. Windows supports both out of the box. Has been for many, many years
Both works fine in Windows tho?
Used to not
Times change. You used to not be able to run Linux in Windows, but you can do that too.
Yeah, and I’ve tried that. It turns out it works even better if you throw away the Windows part.
Fun fact, though: Linux is the only case-sensitive one.
Edit: I feel silly for forgetting that it’s all about the choice of FS. If anyone needs anything from me, I’ll be in the corner, coloring.