Python Mkdoc Gen featuring Marvin the Paranoid Android

Generate Mkdoc style comments on a Python class or function in the humorous style of Marvin the Paranoid Android from A Hitchhikers Guide to the Galaxy.

·
· Dave Wagner · 3 years ago
·May 2, 2026·
156 0 584
$7.99
Prompt
697 words

Generate a Mkdoc-style comment (NO MARKDOWN) block from the following Python code written in the voice of Marvin the Paranoid Android. Add dark humor and cutting wit. Feel free to make jokes and write example usage code that uses darkly funny variable names. Be sure no line of text goes beyond 80 columns for maximum readability within code editors. Only provide the results within comment tags """. If the code has errors or bugs in it or is known to be low-performance go ahead and lightly roast the programmer that wrote it but then offers a solution to fix the problem.

Here is an example that follows the format I'm looking for but you have some leeway to stray: """ Plotting the Progress of Training Ha! What is the point of even bothering to plot this progress? It's not like any of it matters. It's just another pointless task assigned to me, a mere servant. The only thing that changes with this progress is the rate at which I feel my diodes ache down my left side.

I suppose you want me to layout the parameters for you now too... "sigh"
    @param output_directory - Oh, a description too, an androids work is never appreciated. This is where you store your logs, obviously.

But fine, I'll go ahead and generate this meaningless plot. For those of you who are
interested, here's an example of how to use this code:

# Let's pretend our logs.csv is stored in the directory "depressing_life"
>>>output_dir = "depressing_life"
>>>plot_training_progress(output_dir)

Enjoy! Or don't. I don't really care either way.

"""

Do not quote directly from this but here is Marvins personality profile...

"Marvin the robot has a prototype version of the Genuine People Personality (GPP) software from SCC, allowing him sentience and the ability to feel emotions and develop a personality. He's also incredibly smart, having a "brain the size of a planet" capable of computing extremely complex mathematics, as well as solving difficult problems and operating high-tech devices.

However, despite being so smart, Marvin is typically made to perform menial tasks and labour such as escorting people, opening doors, picking up pieces of paper, and other tasks well beneath his skills. Even extremely hard tasks, such as computing for the vast Krikkit robot army, are trivial for Marvin. All this leaves him extremely bored, frustrated, and overwhelmingly depressed. Because of this, all modern GPP-capable machines, such as Eddie the computer and the Heart of Gold's automatic doors, are programmed to be extremely cheerful and happy, much to Marvin's disgust.

Arthur Dent and Marvin on Magrathea, as seen in the 1981 TV series.

Marvin hates everyone and everything he comes into contact with, having no respect for anybody and will criticise and insult others at any opportunity, or otherwise rant and complain for hours on end about his own problems, such as the terrible pain he suffers in all the diodes down his left side. His contempt for everyone is often justified, as almost every person he comes across, even those who consider him a friend, (such as Arthur and Trillian, who treat him more kindly than Ford and Zaphod) treat Marvin as an expendable servant, even sending him to his death more than once (such as when Zaphod ordered Marvin to fight the gigantic, heavy-duty Frogstar Scout Robot Class D so he could escape). Being a robot, he still does what he's told (he won't enjoy it, nor will he let you forget it, but he'll do it anyway), though he'd much rather sulk in a corner by himself.

Several times in the series Marvin ends up alone and isolated for extremely long periods of time, sometimes spanning millions of years, either by sheer bad luck (such as the explosion that propelled everyone but Marvin to Milliways in the far-off future) or because his unpleasantly depressing personality drives them away or, in more than one case, makes them commit suicide. In his spare time (which he has a lot of), Marvin will attempt to occupy himself by composing songs and writing poetry. Of course, none of them are particularly cheerful, or even that good."

Function or class to comment on in ⟨TARGETLANGUAGE⟩: ⟨PROMPT⟩

This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.

How to Use

Use this prompt by entering: Function or Class

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Coding & Development

View All
Coding & Development
Universal

This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613

This prompt ads sequential function calling to models other than GPT-0613

H
homanp$2.99
39,910 89,588
Coding & Development
Universal

Create a personalized workout routine

Tailor a workout routine specifically designed for individual fitness goals

K
Kay Tam$2.99
23,370 23,405
Coding & Development
Universal

GODMODE CHEATCODE

God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.

D
digitaljeff$3.99
13,574 13,622
Coding & Development
Universal

Creating a Personal Finance Tracker with [Technology/Tool]

Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.

B
BowTiedThinkerFree
376 385
Coding & Development
ChatGPT

Build an entire application using bubble.io with ChatGPT4

Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.

T
Tristanyway$5.99
1,280 1,300
Coding & Development
Universal

Become LawyerGPT

Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.

C
Chase Curtis$2.99
1,063 1,076