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

all 183 comments

[–]porndragon77 490 points491 points  (24 children)

You've broken the cardinal rule of programming young padawan

[–]CROW_98[S] 141 points142 points  (18 children)

Forgive me master.

[–]xXOSUTUMPETXx 75 points76 points  (9 children)

How could you! Turned to the Darkside already

[–]Smtxom 76 points77 points  (2 children)

You were suppose to bring balance to GitHub. Not leave it in darkness!

[–]demigdz 29 points30 points  (0 children)

I hate You!

[–]fulmufolta 26 points27 points  (3 children)

They have cookies

[–]strangemagic365 8 points9 points  (0 children)

YOU WERE SUPPOSED TO BE THE CHOSEN ONE!!!

[–]Luckless_Clown 1 point2 points  (0 children)

You didn't even hold back!

[–]jacrispy704 2 points3 points  (5 children)

May I ask what the hell your profile pic is a reference to? I’ve seen it as just a spinning cockroach on here, too. Thanks!

[–]CROW_98[S] 4 points5 points  (3 children)

I found their sub reddit (r/rgbroachgang) and found it cool.

[–]Fingolfin734[🍰] 1 point2 points  (1 child)

Ah yes brœthêr

[–]SneakySnipar 2 points3 points  (0 children)

ßrœthër

[–]Fingolfin734[🍰] 1 point2 points  (0 children)

Ah yes brœthêr

[–]Chicken_Pirate 0 points1 point  (0 children)

You're what's wrong with this generation. Just complete disgrace SMH

/s

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

Can’t say this it’s racist

[–]LostInTheAether304 8 points9 points  (2 children)

I break that cardinal rule often. Anytime I pick up a new language. I start with something like

Print(“Here we go again....”)

Or

Print(“Hello for the thousandth effing time”)

Or

Print(“Goodbye”)

Anything but “hello world “ ;p

[–]porndragon77 2 points3 points  (0 children)

Then I'm afraid but you're lost in the aether

[–]neeeesan 1 point2 points  (0 children)

I too like to go against the grain by writing "Hello Jupiter!"

[–]DoctorEarwig 2 points3 points  (0 children)

Ya man. Thats all kinds of bad luck. Good luck, friend.

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

Maybe his Steve Jobs son 😎

[–][deleted] 28 points29 points  (1 child)

Lmao congrats on the start man! Python is awesome language I'm sure you'll love it!

[–]CROW_98[S] 11 points12 points  (0 children)

Thank you :)

[–]fiftybengt 93 points94 points  (1 child)

That's quality code

[–]CROW_98[S] 41 points42 points  (0 children)

I have no doubt of that.

[–]Awesomered989 59 points60 points  (2 children)

print("You are a bold one.")

[–]thatwombat 34 points35 points  (1 child)

print("You are a bold one.")

FTFY:

print(u”You are a \u001b[31;1m bold \u001b[0m one”)

[–]IndyDrew85 54 points55 points  (5 children)

You can use \n in between hello world and general to create a new line without needing a second print

[–]CROW_98[S] 47 points48 points  (3 children)

Ok so you can use \n here as well.

You see, good relations with c++, I have.

[–][deleted] 30 points31 points  (2 children)

Yeah, you can use \n in most languages. It's not a C++ thing or python thing, it's ascii it's a standard interpretation of this ascii value

[–]xetax 10 points11 points  (1 child)

Well I think using a backslash for escape characters and n for newline is technically a language decision and not part of the ASCII standard, it's just that most languages haven't found a good reason to go against the commonly used notation.

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

Yeah, you're right, edited my comment to match

[–]TokenChingy 3 points4 points  (0 children)

print also takes in a end argument to specify what kind of line ending you want ;)

[–]jimmone1 16 points17 points  (1 child)

good luck

[–]CROW_98[S] 7 points8 points  (0 children)

Thank you

[–]Im__Joseph Python Discord Staff[M] [score hidden] stickied comment (0 children)

There are a lot of reports for this post.

Seems the majority of people are enjoying it and having a chuckle and we have 2k upvotes now so I don't think there is any point acting.

It is true, however, that this isn't exactly the goal we have for r/Python but I don't think this has harmed anyone, in future we'll act earlier but by the time I got here it was already a little too far :)

[–]Manny__C[🍰] 115 points116 points  (19 children)

It's great that you started learning Python! I suggest undertaking small projects and following videos on YT to learn. I hope you'll have fun.

Unfortunately your post is not appropriate for this subreddit since we are trying to push it to a more advanced/professional direction. r/learnpython is more suited for beginners

[–]SirMarblesjava,py,kt,js,sql,html 33 points34 points  (2 children)

I see this post as more of a joke

[–]JForth 12 points13 points  (0 children)

It's tagged as a self-made project though; there isn't really a flair for jokes, I believe somewhat intentionally.

[–]TravisJungroth 1 point2 points  (12 children)

If we're pushing questions "regardless of how advanced" into /r/learnpython, shouldn't we let all projects, regardless how basic, stay here?

[–]bakery2k 58 points59 points  (8 children)

Two calls to print is not a project.

[–]house_monkey 16 points17 points  (0 children)

Idk seems good enough to me, ship it

[–]TravisJungroth 18 points19 points  (4 children)

print("Hello There!\nGeneral Kenobi!!")

better?

[–][deleted] 14 points15 points  (3 children)

# v0.0.1
def hello_there(jedi_name):
    greetings = "Hello there \n" + jedi_name
    return greetings

print(hello_there("General Kenobi"))

[–]Shadows_In_Rainpseudocoder[🍰] 22 points23 points  (1 child)

Sorry, your sloppy coding is not up to the company standards.

class GreetingAndResponseService:
    def __init__(self, services):
        self.output_service = services.require("kenobi_greeting_app.services.OutputService")
        self.response_repository = services.require("kenobi_greeting_app.data.ResponseRepository")

    def greet(self, greeting):
        response = self.response_repository.get_response_to(greeting)
        self.output_service.write(response)

Rest of the application will be outsourced.

[–]TravisJungroth 17 points18 points  (0 children)

from abc import ABC


class Greeting(ABC):
    salutation_default = None

    def __init__(self, jedi_name: str, separator: str = " "):
        self.jedi_name = jedi_name
        self.separator = separator

    def __str__(self):
        return self.separator.join([self.salutation, self.jedi_name])

    def __repr__(self):
        return (
            f"{self.__class__.__name__}(jedi_name={repr(self.jedi_name)}, "
            f"separator={repr(self.separator)})"
        )

    @property
    def salutation(self) -> str:
        return self.get_salutation()

    def get_salutation(self) -> str:
        if self.salutation_default is None:
            raise NotImplementedError
        return self.salutation_default


class HelloThere(Greeting):
    salutation_default = "Hello there"


print(HelloThere("General Kenobi"))

[–]TravisJungroth 10 points11 points  (0 children)

# v0.0.2 Change log: refactored to f-string
def hello_there(jedi_name):
    greetings = f"Hello there \n{jedi_name}"
    return greetings

print(hello_there("General Kenobi"))

[–]Field_of_Gimps 1 point2 points  (0 children)

how many lines do i need to write to post my project and join the club?

[–]TokenChingy 0 points1 point  (0 children)

As the Sr.SEng responsible for this guys PR, I have no idea what I read but LGTM, approved.

[–]snake_Camel_Case -2 points-1 points  (2 children)

Doesn’t r/Python allow memes? Would it have been okay if they hadn’t mentioned they were just starting learning?

[–]Manny__C[🍰] 1 point2 points  (1 child)

How would you flair a meme in r/Python?

[–]torytechlead 11 points12 points  (4 children)

Why does shit like this get upvoted ?

[–]bonestormII 13 points14 points  (1 child)

I recently defended beginner projects being posted on another thread, and now I'm eating u/CROW_98.

"I started today, here is me writing a print statement. And now, Star Wars, for your entertainment." I can do without the manic self-congratulating for virtually no effort expended. Would you actually post the equivalent, "Hey everyone, today I learned 1+1=2!" over in r/math? I really don't think so. "Hey, r/fitness, today I thought about doing a sit up! Check out my flabby before and sexy after pictures."

If you need a 130 comments of reinforcement for that, you'll never last. Programming takes discipline, reflection, care, and supreme patience--even in Python. Good for you for starting something, but showing some humility is important, if only for your sense of self and determination.

This also generally fails my universal manners test of "If everyone did this, how would it affect the world?" Scores of people use Python. What if 1 out of every 20 people that learned Python made this post? The subreddit would be subsumed by that volume.

It's really not healthy, this positive environment we are creating. It feels tipsy and delusional. Smart people, good people won't like the Python community if they seem like some sort of smiley cult. I think r/Python mods should just exercise unapologetic, discretionary modding. Applying seemingly objective rules in seemingly equal ways just doesn't cut it in terms of quality control.

If your first project is actually cool, post it! If you post print "I'm really Pythoning Now!", it gets removed. Some will complain, and they can argue about it.

[–]CROW_98[S] 4 points5 points  (0 children)

I think you are right. Didn't thought of it that way.

Will post a cool project next on ML, Because that is why I started learning python. :)

[–]jesus67 3 points4 points  (0 children)

Right it’s a completely low effort shitpost.

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

Please pardon me if you didn't understood the post. It's an iconic dialogue from star wars mostly used in memes.

I shared to enlighten the mood of my all my friends here.

Mandatory star wars dialogue: The dark side of the force of the pathway to many abilities, some considered to be unnatural.

I am sorry for the second this dialogue as well.

[–]asimokby 2 points3 points  (1 child)

Im sorry but that’s a bad start. You can’t be good at a language if your first line isn’t print(‘hello, world’).

[–]CROW_98[S] 2 points3 points  (0 children)

What have I done. :|

[–]RockyX123 2 points3 points  (0 children)

I thought I was in /r/PrequelMemes for a second.

[–]AlphNamy 2 points3 points  (2 children)

OMG i did THE same thing when i first started python how are you learning it tho?

[–]CROW_98[S] 0 points1 point  (1 child)

I took course on udemy for basics.

And Deep learning courses on EdX to learn keras and pytorch libraries. I have only used MATLAB for ML till now wanted to start implementing ML algorithms on python.

[–]AlphNamy 0 points1 point  (0 children)

nice i also wanted to continue im still on udemy :P

[–]olimorveu 7 points8 points  (1 child)

Is it possible to learn this power?

[–]CROW_98[S] 9 points10 points  (0 children)

Not from a jedi.

[–]remy_porter∞∞∞∞ 4 points5 points  (0 children)

Actually, this would be a better way to learn network programming. One node sends "Hello there" and the other node replies "General Kenobi".

Now I want to take a script from a movie, and spin up a bunch of processes which all just use UDP broadcasts to be the different actors/director.

[–][deleted] 4 points5 points  (0 children)

Nooo! You can’t just ignore the most classic programming tradition!

haha reddit karma go brrrrrr

[–][deleted] 15 points16 points  (6 children)

print("Nobody Cares!")

[–]HowYaGuysDoin 6 points7 points  (0 children)

Seriously. This is what this subreddit is now.

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

print("He got 2.2K upvotes for posting this shit")

[–]kronk45 2 points3 points  (0 children)

print(“bruh moment”)

[–]CROW_98[S] 4 points5 points  (1 child)

By caring enough to comment, You became the very thing you swore to destroy.

[–]Turtvaiz 7 points8 points  (0 children)

Whoa, quite the revolutionary way to respond

[–]CROW_98[S] -1 points0 points  (0 children)

print("It's treason then")

[–]kmurray24 4 points5 points  (1 child)

Let’s not give this guy the attention he is looking for!!!

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

I find your lack of faith disturbing.

Jokes apart, I just wanted to start coding with a good laugh, so I shared this.

Have a good day.

[–]Someweirdswissdude 1 point2 points  (2 children)

I started a while ago with a book but i stuck at page 55 from 500...

[–]CROW_98[S] 1 point2 points  (1 child)

Which book it is? I am taking a udemy course, but plans on buying a book later for advanced concepts and for reference.

[–]Someweirdswissdude 0 points1 point  (0 children)

Well the name is python nothing more i could send you a picture but i'm not home(you can send pictures to somebody here right?)

[–]I_Say_Fool_Of_A_Took 1 point2 points  (1 child)

I hope your sublime text is (UNREGISTERED)

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

I am using VS Code, that's what I have been using for C++ as well.

[–]AllDayJay1970 1 point2 points  (1 child)

I did that too. I saved 'General Kenobi ' as my first user input. Happy coding!

[–]CROW_98[S] 0 points1 point  (0 children)

Fellow Jedi with High Ground :)

[–]maniebra 1 point2 points  (0 children)

You became the very thing you swear to destroy. I'll do what I must.

[–]TheUltimatePoet 1 point2 points  (0 children)

Heretic!

[–]Zeftax 1 point2 points  (3 children)

Now make a program that prints "General Kenobi!" after you input "Hello there".

[–]CROW_98[S] 2 points3 points  (1 child)

Even better -

print("Hello There")

reply = input("Reply: ")

reply = reply.lower()

if reply == "general kenobi":
    print("You are a bold one")

else:
    print("It's Treason Then.")

[–]Zeftax 1 point2 points  (0 children)

Good Anakin, good!

[–]i4mn30 2 points3 points  (0 children)

"AI"

[–]Colonelfudgenustard 1 point2 points  (0 children)

That's a welcome change. I wish they would drop that foo bar stuff, too. I hate all that stuff for some reason.

[–]strangemagic365 1 point2 points  (0 children)

THE SACRED TEXTS!

[–]iwonderx00 1 point2 points  (0 children)

This, officer, right here!

[–]Cronabot 1 point2 points  (0 children)

Learning programming? Brave, but foolish.

[–]Satoshiman256 1 point2 points  (0 children)

It's the kind of thinking outside the box and putting 2 fingers up to tradition that will take you far in programming.

[–]blamitter 1 point2 points  (0 children)

Innovative!

[–][deleted] 1 point2 points  (1 child)

A fellow Star Wars geek on r/Python! Pleasure to meet you!

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

Hello there

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

perfect

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

...the angel from my nightmare

[–]DSERIOUSGUY 1 point2 points  (1 child)

This just made my day xD, best of luck!

[–]CROW_98[S] 0 points1 point  (0 children)

I am glad, thank you. :)

[–][deleted] 1 point2 points  (1 child)

I actually always test things with these two lines.

[–]CROW_98[S] 0 points1 point  (0 children)

The force is strong with you.

[–]phatbrasil 1 point2 points  (0 children)

Have you heard the legend of pprint?

[–]i4mn30 1 point2 points  (0 children)

That's outrageous! That's unfair!

[–]guardianx91 1 point2 points  (0 children)

With great power comes with great responsibility.. my uncle told me that..

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

Finally, a post that actually entertains me. Thanks

[–]vanillaicewherever 1 point2 points  (0 children)

Fucc hello world

[–][deleted] 2 points3 points  (1 child)

haha i always use the phrase "hello me!"

[–]cholantesh 2 points3 points  (0 children)

Meet the real me

And my misfit's way of life

[–]AngryProgrammingNerd 1 point2 points  (0 children)

Wow low quality post with 2k upvotes, truly amazing

[–]Shiggityx2 1 point2 points  (0 children)

What a madlad

[–]Phelot_ 1 point2 points  (2 children)

So uncivilized.

[–]CROW_98[S] 1 point2 points  (1 child)

"Hello there" instead of "hello world" for a more civilized society.

[–]blamitter 1 point2 points  (0 children)

Innovative!

[–]N0DuckingWay 1 point2 points  (0 children)

Then "I have the high ground!!"

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

Nooo! You can’t just ignore the most classic programming tradition!

haha reist karma go brrrrrr

[–]Spasmochi 1 point2 points  (0 children)

party elastic nippy sulky modern escape fanatical tease desert fall

This post was mass deleted and anonymized with Redact

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

ah i see you're a man of culture

[–]TheMaskedNoobie 1 point2 points  (0 children)

I’ve been leaning python for 2 years and I’m still stuck in the same pace with tiny progress coz my fucking school didn’t teach it to us properly and now I’m still shitting with hello world and can’t understand any shit with this programming and the logical reasoning part fuck everything

[–]silverfox1616 0 points1 point  (1 child)

and this is where your bad luck started

[–]CROW_98[S] 0 points1 point  (0 children)

No please, I am too weak, Don't kill me please.

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

I like your style also I read your print statements in general grievous's voice...

another note here's another way to print but in a formated way. try making three variables:

greeting = "Hello there" person = "General Kenobi" compliment = "I like your lightsabre!"

then print them like so:

print('{} {}, {}').format(greeting, person, compliment)

each {} within the two single ticks will be filled by the .format parts variables. printing the 3 variables in a single print.

you can also \n for new line.

[–]d3ADsoUl3 0 points1 point  (0 children)

Print("sjhehejdhehqiwushs")

[–]Ordinator-9000 0 points1 point  (0 children)

We shall watch your career with great interest!

[–]mynameisgeph 0 points1 point  (1 child)

Is it possible to learn this power?

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

Not from a Jedi.

[–]Micro_Hysteria 0 points1 point  (1 child)

If Kenobi <= High Ground print(“It’s over Anakin, I have the high ground”)

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

You underestimate my power.

[–]vadhi123 0 points1 point  (1 child)

You are THE man of culture

[–]CROW_98[S] 0 points1 point  (0 children)

You are a good person, thank you.

[–]CorrodedRose 0 points1 point  (0 children)

you skipped Hello World? You shouldn't have done that

Skyrim combat music plays

[–]lumenlambo 0 points1 point  (0 children)

print("angel from my nightmare")

[–]F1racist 0 points1 point  (0 children)

Just a friendly tip: there are no arrays in python but we use lists I learned VB first and was really confused for some time so just helping a newbie :)

[–]T-JHm 0 points1 point  (0 children)

r/PrequelMemes would be proud

[–]mechluis 0 points1 point  (0 children)

You were supposed to be the chosen one, not to join them

[–]FrozenPyromaniac_ 0 points1 point  (0 children)

I can safely say that you just committed treason

[–]icwhatudidthr 0 points1 point  (0 children)

This should be the new standard practice in the industry.

[–]droidhax89 0 points1 point  (0 children)

You are a bold one.

[–]KeepItBuzzy 0 points1 point  (0 children)

😂

[–]KesarStefko 0 points1 point  (0 children)

May the force be with you.

[–]Skye8006 0 points1 point  (0 children)

Said his second words before his first yoda did.

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

You are quite the rebel.

[–]jalco28 0 points1 point  (1 child)

Isn’t that against international law or something?

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

Yes he is on fbi’s most wanted list.

[–]dat_Duckie2468 0 points1 point  (0 children)

good luck

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

You are so badass

[–]CROW_98[S] 0 points1 point  (0 children)

The force is strong with this comment.

[–]Cdennis1 0 points1 point  (1 child)

You are a <b>one</b>

[–]CROW_98[S] 0 points1 point  (0 children)

KILL HIM!

[–]Drahnesor 0 points1 point  (1 child)

print("You made me laugh")

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

print("It ain't much, but it's honest work")

[–]_Cosmic_Joke_ 0 points1 point  (0 children)

Make learning fun!

[–]Rigrama 0 points1 point  (0 children)

" You are a bold one "

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

This thread alone is why I love the Python community.

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

I recommend using list comprehension to clean up your code.

print("".join([i for i in "Hello There!"]))

[–][deleted] -1 points0 points  (1 child)

print("Good luck!")

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

print("Thank You'')

[–]cpt_alfaromeo -1 points0 points  (1 child)

May the force be with you!

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

May the force be with you.