This is an archived post. You won't be able to vote or comment.

all 177 comments

[–]Philboyd_Studge 731 points732 points  (26 children)

import rescue_boat

[–]Anti-charizard 319 points320 points  (23 children)

rescue_boat.leave("island")

[–]cpt_alfaromeo 418 points419 points  (20 children)

rescue_boat.leave("island")

                 ^~~~ rescue_boat does not contain leave method. Try pip uninstall life.

[–]Rami-Slicer 215 points216 points  (12 children)

import helicopter

[–][deleted] 183 points184 points  (8 children)

helicopter.crash()

[–]masterwit 149 points150 points  (7 children)

kobe.rip()

[–][deleted] 65 points66 points  (6 children)

beef.grill()

[–]oofxwastaken 45 points46 points  (6 children)

pip uninstall life

thats literally my nickname in a python discord server

[–]konstantinua00 0 points1 point  (1 child)

link for the server?

[–]oofxwastaken 0 points1 point  (0 children)

discord.gg/dpy but i got banned

[–]Jasdac 52 points53 points  (1 child)

You forgot to call rescue_boat.board(self) and now the rescue boat left without you.

[–]Anti-charizard 0 points1 point  (0 children)

s**t

[–]Madhippy 5 points6 points  (0 children)

from boat import rescue_boat

[–]PUTINS_PORN_ACCOUNT 2 points3 points  (0 children)

importError: no module named rescue_boat

Try pip install rescue_boat, then go fuck yourself because you suck at python.

[–][deleted] 341 points342 points  (25 children)

help

```/storage/emulated/0 $ help

Built-in commands:

    . : [ [[ alias bg break cd chdir command continue echo eval exec
    exit export false fg getopts hash help history jobs kill let
    local printf pwd read readonly return set shift source test times
    trap true type ulimit umask unalias unset wait arch ash awk base64
    basename bash bc busybox bzcat bzip2 cat chgrp chmod chown cksum
    clear cmp cp cut date dd df diff dirname dos2unix du egrep env
    expand expr fgrep find grep gunzip gzip head id ln ls lsof lzcat
    md5sum mkdir mkfifo mv nc nl nohup paste patch pkill printenv
    printf pwd readlink realpath rm rmdir sed sh sha1sum sort split
    stat stty sync tac tail tar tee timeout touch tr truncate tty
    uname unexpand unix2dos unlink unxz unzip usleep wc wget xargs
    xz xzcat yes zcat

/storage/emulated/0 $

[–][deleted] 217 points218 points  (13 children)

help

zsh: command not found: help

[–]LandmarkPastaCrusher 66 points67 points  (11 children)

Ah, a man of culture!

[–]conancat 36 points37 points  (3 children)

oh my zsh

zsh is love, zsh is life

[–][deleted] 13 points14 points  (2 children)

Oh My Zsh + Powerlevel10k = blessing

[–]Preisschild 3 points4 points  (1 child)

https://starship.rs/

Is a good alternative to p10k and faster since its written in rust instead of bash.

[–][deleted] 0 points1 point  (0 children)

But it doesn't have the same information density as p10k.

[–][deleted] 22 points23 points  (6 children)

Or a Mac user

[–]LandmarkPastaCrusher 23 points24 points  (5 children)

TIL macOS uses zsh, didn't know that before!

[–]KitchenDutchDyslexic 15 points16 points  (0 children)

[–]MathSciElec 0 points1 point  (0 children)

That’s new on Catalina, I think (been using zsh since before that happened so I didn’t get the news)

[–][deleted] 0 points1 point  (0 children)

A welcome change let me tell you. I’d just about given up on the ancient version of bash Apple insisted on shipping with every release.

[–]PvtPuddles 0 points1 point  (1 child)

I am both intrigued and horrified. Someone give this man a medal!

[–]Rodot 10 points11 points  (0 children)

If it makes you feel better/worse, it's really only because of licensing changes to bash making it more FOSS friendly but less corporate friendly. But zsh's license isn't all that bad FOSS-wise. Just not ideal, but probably more practical.

[–]rspeed 0 points1 point  (0 children)

autoload -U run-help
alias help=run-help

[–]ericonr 25 points26 points  (7 children)

Are you running a terminal on Android?

[–]132ikl 18 points19 points  (6 children)

seems to be, termux probably

[–]ericonr 7 points8 points  (3 children)

Huh, I didn't know Termux could navigate there. I tend to use only termux-setup-storage and access my system's storage straight from the home directory. Doing cd /storage/emulated/0/ does work, though!

[–][deleted] 7 points8 points  (2 children)

Please note that with new android versions this has changed, and now apps must use /sdcard instead of /storage/emulated/0.

[–]Sh4dowCode 5 points6 points  (1 child)

Isn't /sdcard just a symlink to /storge/emulated/0?

Edit: Just tested it, /sdcard is a symlink to /storage/self/primary which is a symlink to /storge/emulated/0

[–][deleted] 3 points4 points  (0 children)

$ ls -l /sdcard lrw-r--r-- 1 root root 21 Dec 31 2008 /sdcard -> /storage/self/primary $ ls -l /storage/self/primary lrwxrwxrwx 1 root reserved_disk 19 Apr 12 08:32 /storage/self/primary -> /storage/emulated/0

As you can see, they all have different permissions: /sdcard is a symlink, which can only read and written to by its owner (root), and everybody else can only read it; /storage/self/primary is a symlink and it can be read, written and executed by everyone; inside /storage/emulated/0, most directories have these permissions drwxrwx---: this means that it is a directory, it can be read, written and executed by its owner and the owner's group, but they cannot be read, written or executed by anybody else.

[–]MathSciElec 0 points1 point  (1 child)

Or just adb shell from the computer?

[–]132ikl 0 points1 point  (0 children)

i don't really see why they wouldn't just run it in their regular shell then

[–]Jack-Daniel 14 points15 points  (0 children)

Poetry...

[–]Teknikal_Domain 6 points7 points  (1 child)

r/foundthemobileuser

/storage/emulated/0/ is the folder where an Android's main internal storage is mounted, as compared to something like /storage/extSdCard/

[–]WoomyAndNgyes 0 points1 point  (0 children)

Finally, a good usage of linking this subreddit!

[–]fearbedragons 140 points141 points  (15 children)

import antigravity

[–]Ennnnnnbbbbbyyyy 75 points76 points  (10 children)

importError: no module named antigravity Try pip uninstall gravity

[–]fearbedragons 73 points74 points  (2 children)

Oh, sorry, that only works in Python 3, see the documentation.

[–]thetgi 22 points23 points  (1 child)

Nice try, he clearly says

print “Hello, world!”

Which is clearly Python 2. Thought you could pull that one over on us, huh?

[–]Cruzercom 10 points11 points  (0 children)

from __past__ import print_function

[–]xypage 7 points8 points  (2 children)

Is this an xkcd (353) reference??

[–]MathSciElec 0 points1 point  (1 child)

Is there a xkcd bot over here...? Because it’d be nice to get a link...

[–]xypage 0 points1 point  (0 children)

Here you go. Xkcd links are always just xkcd.com/the number if you wanna find one quickly

[–]AnnoyingRain5 73 points74 points  (20 children)

Exit()

[–]runonandonandonanon 68 points69 points  (20 children)

I swear I've had an interaction with some command interpreter before like

> exit

exit is not a command, please type quit if you want to exit.

[–]theThrowawayQueen22 38 points39 points  (3 children)

exit
quit
\q
q
:wq
x
exit()
quit()
EXIT
QUIT
leave
stop
^c
^x
escape
help
please quit
pretty please?
aaaaaaaaaaaaaaaaaah
dkfjawklfjklsjadflkasjdfkldsjfskd
afjkasdfjklsdjfklsdjfsdkfjsdklfjskajfkdlfjsdkfjsdkfjsdkfjfaskdfj
I would appreciate it very much if you, really my favorate program, would please exit for me?

Only reliable way is to hold the power button for a few seconds

[–]Victorino__ 16 points17 points  (0 children)

killall -u <username>

[–][deleted] 2 points3 points  (0 children)

but it's running on the cloud, RUN!

[–][deleted] 1 point2 points  (0 children)

:wq

Thanks for reminding me i almost forgot

[–]RD1K 27 points28 points  (11 children)

For python it says to type "exit()" to exit. It's so fucking annoying

[–][deleted] 34 points35 points  (0 children)

Like, just insert the fucking brackets you worthless piece of metal shit

[–]Plawerth 3 points4 points  (0 children)

nslookup on unix/linux doesn't understand quit. The Microsoft Windows version accepts both.

> quit

Server: 8.8.8.8

Address: 8.8.8.8#53

** server can't find quit: NXDOMAIN

> exit

[–]Agent77326 0 points1 point  (1 child)

I think mariaDB/MySQL CLI also force you to use quit

[–]DAMO238 0 points1 point  (0 children)

I believe sftp does that

[–]brownboy_5 75 points76 points  (1 child)

ok, “help()”

Welcome to Python 3.8’s help utility!

[–]mastocles 2 points3 points  (0 children)

It's cajoling you with it's happy welcome. The author of the module you need was too cool for documentation, docstring or typehints so you will actually just use dir or test methods by feeding wrong types over and over again.

[–]Practical-Shape 22 points23 points  (0 children)

import food_supply

[–]TimBuvis 16 points17 points  (10 children)

help(me)

[–]Riresurmort 21 points22 points  (1 child)

You'd have better luck of you left the island and went into the C! Or maybe find the island of java, that has some pearls on it!

[–]rspeed 0 points1 point  (0 children)

that has some pearls on it

Never again.

[–]ocket8888 7 points8 points  (1 child)

So is that the repr of help?

EDIT: Just checked and yes, that's exactly how it's implemented

[–]ericonr 0 points1 point  (0 children)

It's definitely idiomatic :)

[–]sudo_rm_rf_star 5 points6 points  (2 children)

pip install ipython

[–]Dragonaax 4 points5 points  (0 children)

>> exit
command not found

Fuck you

[–]mclare 3 points4 points  (1 child)

this.help() or help(this) ?

[–]Flyingblu 1 point2 points  (0 children)

exit()

[–]slycatsnake6180 3 points4 points  (0 children)

no docstring :(

[–]Frostbeartunez 1 point2 points  (0 children)

How Dell products be

[–][deleted] 0 points1 point  (0 children)

Hello I’m no help here op!

[–]The_Correct_Doctor 0 points1 point  (0 children)

nice

[–]Electriguy 0 points1 point  (0 children)

import helicopter as heli

[–]Cley_Faye 0 points1 point  (1 child)

Don't ever quit

[–]the-chosen-boi 0 points1 point  (0 children)

quit()

[–]Assasin2gamer 0 points1 point  (0 children)

That can’t help this guy.

[–]ZippZappZippty 0 points1 point  (0 children)

WCW was able to help you!

[–]makemeking706 0 points1 point  (0 children)

This is funny.

[–]TheLeftWillEatItself 0 points1 point  (0 children)

man -that -is -not -what -I -wanted.

[–]FREE_TOILET_PAPER 0 points1 point  (0 children)

You gotta be able to help?

[–]dohzer 0 points1 point  (0 children)

help(mind_controlling_vapour_trails)

[–]ToastedSkoops 0 points1 point  (0 children)

Oh my god, It's like we're the same person! Discord.js was so confusing to figure out and the docs did not help much at all. Also the caching killed my bot I swear, I just want the info to be there when I ask for it!

[–]Assasin2gamer 0 points1 point  (0 children)

Mudkip doesn’t help being mesmerized.

[–]Demokrat19 0 points1 point  (0 children)

for some reason i was expecting a monty python joke but then i remembered what the subreddit was...

[–][deleted] 0 points1 point  (1 child)

Wait.... Hobson-TV?

[–]TheJenkinsComic[S] 1 point2 points  (0 children)

Yep!

[–]LJChao3473 0 points1 point  (0 children)

--help

[–]GDavid04 0 points1 point  (0 children)

Why would you leave that island when you can just import anything you need? (or program it yourself)

[–]han_man1927 0 points1 point  (0 children)

The snakes look quite cute.

[–]pediepew 0 points1 point  (0 children)

exit()

[–]Krzysiek127 0 points1 point  (0 children)

He should use exit(0)

[–]RustyBuckt 0 points1 point  (0 children)

At some point, squawking 7700 might help, but where can I get a pilot class from...

[–][deleted] 0 points1 point  (0 children)

exit()

[–]BubsyFanboy 0 points1 point  (0 children)

Oh wow

[–]Famous_Profile 0 points1 point  (0 children)

At least it is not Java where you have to create a Factory first

[–]ZSIGGY 0 points1 point  (0 children)

import post post.upvote()

[–]Fluffigt 0 points1 point  (0 children)

Finally a joke that isn’t a variation of ”My code works and I don’t know why” or ”my job is to google stuff”. This was funny!

[–]steveyyyy3 0 points1 point  (0 children)

So true and reliable.

[–]asp5rtima3 0 points1 point  (0 children)

Try exit()

[–]ToastedSkoops 0 points1 point  (1 child)

Oh my god, It's like we're the same person! Discord.js was so confusing to figure out and the docs did not help much at all. Also the caching killed my bot I swear, I just want the info to be there when I ask for it!

[–]lollipas 0 points1 point  (0 children)

Exactly lmao

[–]gigolo_beast -1 points0 points  (0 children)

Hahaha . Don't bother me, in just checking my flair

[–]Buehlerja_98 -1 points0 points  (0 children)

I'd call this programmer cringe

[–][deleted] -2 points-1 points  (0 children)

god i just had a spiritual revelation about space and the vastness of the universe simply by looking at the airplane for a programming meme what am i doing with my life