On 27/03/18 22:02, Dan Stromberg wrote:
On Tue, Mar 27, 2018 at 8:18 AM, Michael Torrie wrote:
But when it's exactly what you need, why do
you need to shoehorn the expression into 79 characters? Seems pointless
in a case like this. PEP8 is a guideline, not an absolute rule. It's
okay to bend
On Tuesday, March 27, 2018 at 9:37:14 PM UTC-5, Dan Stromberg wrote:
> I can easily get 132+ columns of a font large enough for my
> 52 year old eyes on a 15" laptop.
Well, if you're comfortable with the long lines, fine. But
be aware that long lines are poo-pooed in most professional
enviroments.
On Tue, Mar 27, 2018 at 4:37 PM, Rick Johnson
wrote:
> On Tuesday, March 27, 2018 at 4:02:37 PM UTC-5, Dan Stromberg wrote:
>> On Tue, Mar 27, 2018 at 8:18 AM, Michael Torrie wrote:
>> > But when it's exactly what you need, why do you need to
>> > shoehorn the expression into 79 characters? Seem
On Tuesday, March 27, 2018 at 4:02:37 PM UTC-5, Dan Stromberg wrote:
> On Tue, Mar 27, 2018 at 8:18 AM, Michael Torrie wrote:
> > But when it's exactly what you need, why do you need to
> > shoehorn the expression into 79 characters? Seems
> > pointless in a case like this. PEP8 is a guideline, n
On Tue, Mar 27, 2018 at 8:18 AM, Michael Torrie wrote:
> But when it's exactly what you need, why do
> you need to shoehorn the expression into 79 characters? Seems pointless
> in a case like this. PEP8 is a guideline, not an absolute rule. It's
> okay to bend it a bit in cases like this.
I thi
On 03/27/2018 08:17 AM, Ganesh Pal wrote:
> Hello Python friends,
>
> How do I split the below regex , so that it fits within the character
> limit of 79 words
>
>
> pattern = [
> r'(?P([0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+::HEAD))',
>
> r'(?P(owner:\s+[0-9a-fA-F]+:
27.03.18 17:17, Ganesh Pal пише:
How do I split the below regex , so that it fits within the character
limit of 79 words
pattern = [
r'(?P([0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+::HEAD))',
r'(?P(owner:\s+[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]
Use re.X - see https://docs.python.org/3.6/library/re.html#re.X for details.
On 27 March 2018 at 15:17, Ganesh Pal wrote:
> Hello Python friends,
>
> How do I split the below regex , so that it fits within the character
> limit of 79 words
>
>
> pattern = [
> r'(?P([0-9a-fA-F]+:[0-9a-fA-F]+:[0-