python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why do I not need the extra lines of code? Ruby Codeacademy
I'm working on Learn Ruby in Codeacademy (OBJECT-ORIENTED PROGRAMMING II: Private! Keep out!).
Why don't I need to include '(id_name)' after the 'def id' method for the final section?
My attempt is de...
user220150
Votes: 0
Answers: 1
Pylint w0212-Warning while doing unittests
we often use this double underscore prefix for internal methods of our classes. This usually raises a W0212 during unit-testing, because we call the proctected methods directly e.g. TestClass().__my_p...
5th
Votes: 0
Answers: 1
does Python support private class constants?
like in PHP you can do
class C {
private const FOO=123;
}
for constants that are only relevant inside the class/not part of the public API, does Python support something similar?
hanshenrik
Votes: 0
Answers: 0
Firebase private key set as a config variable in Heroku not recognised - Django app
this is driving me mad. I have .env set up in my Django project and my firebase private key in the .env file. It works fine locally but when I move it to Heroku, set the config variable it does not re...
Simon
Votes: 0
Answers: 0