Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Whether to create a separate package for command line support
Post: Whether to create a separate package for command l...

I am writing some software which I call XML Boiler. I have xmlboiler.core for core functionality of my package. In some (far) future, I may also add xmlboiler.http or xmlboiler.proxy for a proxy serve...
porton General Coding Help 1 2,034 Aug-08-2018, 12:33 AM
    Thread: Generator function in camel case
Post: RE: Generator function in camel case

(Jul-16-2018, 08:34 PM)micseydel Wrote: If you have a consistent and documented code style, you can do whatever you want. If you want to reference PEP 8, which is what we default to on this forum, t...
porton General Coding Help 3 2,949 Jul-16-2018, 08:37 PM
    Thread: Generator function in camel case
Post: Generator function in camel case

Is it a good idea to name a generator function CamelCase? I ask it is because a generator function is substitutable with an iterator class and class constructors are usually in CamelCase. Otherwise,...
porton General Coding Help 3 2,949 Jul-16-2018, 08:28 PM
    Thread: Determine whether a method was overridden
Post: RE: Determine whether a method was overridden

(Nov-14-2016, 06:43 PM)Larz60+ Wrote: Is this what you want? class Base(object):     def f(self):         raise NotImplementedError()     def hasF(self):         return  isinstance(self.f, object) ...
porton General Coding Help 6 6,146 Nov-14-2016, 06:54 PM
    Thread: Determine whether a method was overridden
Post: Determine whether a method was overridden

Is the following a good idea, to determine whether a method was overridden with something "real" (and so is not more an "abstract" method which should not be called)? class Base(object):     def f(s...
porton General Coding Help 6 6,146 Nov-14-2016, 05:49 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020