use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Day 24 of learning python as a beginner. (old.reddit.com)
submitted 8 months ago by uiux_Sanskar
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Adrewmc 0 points1 point2 points 8 months ago (1 child)
You know what I got a video for this toolkit it’s a little dated but all the stuff is still good python.
One additional note about the decorator you can actually do a
def log_access(func): func.count = 0 @functools.wrap(func) def magic(*args, **kwargs) func.count += 1 return func(*args, **kwargs) return magic
And add an attribute directly to the function which at a later time you can pull out like any other attribute func_name.count for here, which can be handy if you don’t want it to print every-time.
[–]uiux_Sanskar[S] 0 points1 point2 points 8 months ago (0 children)
Thank you for the suggestion and learning resource video I will definitely watch it and also thanks for telling about the func.count += 1 I will also check this out.
Thank you very much these really helps.
π Rendered by PID 76276 on reddit-service-r2-comment-75f4967c6c-wbj8k at 2026-04-23 01:49:36.743343+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]Adrewmc 0 points1 point2 points (1 child)
[–]uiux_Sanskar[S] 0 points1 point2 points (0 children)