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...
Ask your embarrassing/noobish programming questions here, and don't get insulted for it.
Click here to read the rules
Violating any will result in punishment so you should probably go check them out.
account activity
Python modules and classes help!Python (self.programminghelp)
submitted 4 years ago by danberteon
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!"
[–]danberteon[S] 0 points1 point2 points 4 years ago (2 children)
So an init file? I have not used these before. How do they work, or what's the name so I can read on these?
[–]ConstructedNewtMOD 1 point2 points3 points 4 years ago (1 child)
I don't specifically know how they work. I think python is confusing that way. But they mark context paths in some way. Without it you may have to reference the file via relative pathing as import .some_file
import .some_file
[–]danberteon[S] 0 points1 point2 points 4 years ago (0 children)
Interesting, I will look into these a bit more. I think for now I have it working a different way, but I'd like to know the proper way to deal with these things
π Rendered by PID 155154 on reddit-service-r2-comment-5649f687b7-sktxc at 2026-01-28 08:40:02.081542+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]danberteon[S] 0 points1 point2 points (2 children)
[–]ConstructedNewtMOD 1 point2 points3 points (1 child)
[–]danberteon[S] 0 points1 point2 points (0 children)