r/Python • codemaniac • Dec 29 '17

Python Cheet Sheet for begineers

Post image
4.2k Upvotes

124 comments sorted by

View all comments

415

u/PurpleIcy Python 3 Dec 29 '17 edited Dec 30 '17

EDIT: Some of you guys just got offended because I linked people who are new to python to an actually useful resource, think about it for a second.

Beginners?

Beginners don't give a fuck about time methods, time formatting and dunders (edit: double underscore, e.g.__dunder__) in classes when they have no clue how to make them, I know because I was once a beginner, and what I actually wanted to learn is how python works, not what sys variables I can access with it.

sys/os variables are randomly put in there for no reason, anyway, for real cheatsheet, go here:

https://learnxinyminutes.com/docs/python3/

That's what actual python cheatsheet looks like, enjoy.

From goddamn example how to make a fucking comment in code to decorators, generators and everything else, not this useless thing...

I thought the point of cheatsheet, especially language one, was to quickly check how something works in language, not sys variables or date formatting? EDIT: for that you have documentation, and it will be way more useful than any cheatsheet, even one I provided.

0

u/[deleted] Dec 29 '17

[deleted]

19

u/redhedinsanity Dec 30 '17 edited Jun 16 '23

fuck /u/spez

-18

u/ffiarpg Dec 30 '17

That claim is ridiculous. Mental health issues are underaddressed due to lack of attention and funding, not due to comments on the internet.

5

u/redhedinsanity Dec 30 '17 edited Jun 16 '23

fuck /u/spez

-2

u/ffiarpg Dec 30 '17

By lack of attention I mean a lack of human time. Fifteen minutes of volunteering would do more good than an entire lifetime of avoiding jabs at mental illness in internet insults.

1

u/redhedinsanity Dec 30 '17

Why not both? Being a considerate person isn't a zero-sum game.

-3

u/ffiarpg Dec 30 '17

Because you are trying to police language which causes a near zero amount of harm, it may even do good. The stigma of mental illness might be even more harmful than the trivialization of it and if you cant joke about it you won't break the stigma.

3

u/redhedinsanity Dec 30 '17

Until you can find a source for your claim that being able to make fun of mental illness is somehow better at giving it the attention and funding you yourself mentioned are the real problems, I'll err on the side of not being an asshole at others' expense, thanks.

Considering we've been making fun of it all along and look where we are...i'm not holding my breath for your source.

-2

u/ffiarpg Dec 30 '17

First off, I never said it was better than attention and funding, I said it MIGHT be better than trying to police language on the internet. Obviously attention and funding are what matter, everything else is tiny in comparison.

And where is your source that poking fun at something makes it worse? I say it might do harm, it might do good. The science isn't conclusive. What is conclusive is putting time and money at a problem to make it better. I don't see much value in internet virtue signaling.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4059196/

A tangentally related study.

→ More replies (0)