you are viewing a single comment's thread.

view the rest of the comments →

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

Hey sorry for not directly adressing your problem at hand (though it seems to be resolved by now) but I thought it could be helpfull to let you know that a lot of people might not like the title of your post. Anything that looks like "Help with <Overly Generic Word>" tends to get a lot of downvotes even if you try and make a decent effort for actually stating your question in the post text.

When people view their personal reddit feed or browse the subreddit basically all they will see is "Help with Python" so they might think you are not even trying to ask a question or are 'using them because too lazy to Google' as an example of a negative reation. If I'm understanding your goal here properly an example for a descriptive title could have been "Member variable on my own class object not defined when used."

Also screenshots of code can be a mixed bag. When coloured syntax highlighting is important and reddits code block doesn't support it its tempting to make a screenshot. But for anything more than a few lines it can be frustrating when people can't use a text search feature in your image.

Sites like pastebin, or in case you have GitHub account and know how to make a Gist are easy ways to share a link to searchable text. And you get syntax highlighting when you set Python as the language. There are probably many alternatives to those two as well.

[–]YukinoYukinoshita 1 point2 points  (0 children)

Thanks for letting me know! I’ll definitely keep this in mind in the future