Re: Getting file extensions [linux fs]

2019-04-05 Thread Pablo Lucena
lly 4.9 or higher for all the newer and stable features. No dependencies, its baked into the kernel. You will need clang support to compile stuff, if you want to build modules on your own. *Pablo Lucena* On Sat, Mar 30, 2019 at 8:30 PM Paulo da Silva < p_s_d_a_s_i_l_v_a...@netcabo.pt>

Re: distribute python interpreter and dependencies

2018-11-13 Thread Pablo Lucena
terpreter > > available to all windows based different machines? Am i missing something > > else? What are the steps the python windows installer performs in order? > > I have no idea what the Python.org installer is doing here, but you > could try one of the other Python distributions (e.g. miniconda)... > MAYBE you'll have more luck with that (Or ActivePython, or WinPython, or > whatever). > > > -- Thomas > -- > https://mail.python.org/mailman/listinfo/python-list > -- *Pablo Lucena* -- https://mail.python.org/mailman/listinfo/python-list

Re: Search a sequence for its minimum and stop as soon as the lowest possible value is found

2017-01-07 Thread Pablo Lucena
nt > > ? foldr.minm . 100.[1,2,3,4,0] > > 0 : Int > > ? foldr.minm . 100.([1,2,3,4,0]++[1...]) > > 0 : Int > > > > The last expression appended [1,2,3,4,0] to the infinite list of numbers. > > > > More succinctly: > > ? foldr.minm . 100.([1,2,3,4,0]++undefined) > > 0 : Int > > > > Both these are extremal examples of what Peter is asking for — avoiding > an > > expensive computation > > Ok. Thanks. > -- > https://mail.python.org/mailman/listinfo/python-list > -- *Pablo Lucena* -- https://mail.python.org/mailman/listinfo/python-list

Cycling through iterables diagonally

2016-02-25 Thread Pablo Lucena
Hello, I am trying to accomplish the following: Say I have a group of 4 lists as follows: l1 = ['a1', 'a2', 'a3', 'a4'] l2 = ['b1', 'b2', 'b3', 'b4'] l3 = ['c1', 'c2', 'c3', 'c4'] l4 = ['d1', 'd2', 'd3', 'd4'] I would like to cycle through these lists "diagonally" in groups of len(list) (in thi

https://www.python.org/downloads/ offline

2015-11-29 Thread Pablo Lucena
Is anyone else getting 503 errors when accessing the downloads page of python.org? -- *Pablo Lucena* -- https://mail.python.org/mailman/listinfo/python-list

Keeping context-manager object alive through function calls

2015-11-10 Thread Pablo Lucena
o hold state is the most "obvious" way that comes to mind, but overall should I be looking into another way of keeping the session open across function calls? Thanks -- *Pablo Lucena* -- https://mail.python.org/mailman/listinfo/python-list

Re: help in pexpect multiprocessing

2015-11-10 Thread Pablo Lucena
#x27;) > if condition: > l.acquire() > s.expect('Enter username:') > s.sendline ('user') > s.expect('Enter password:*') > s.sendline('pass') >

Re: convert output to list(and nested dictionary)

2015-07-21 Thread Pablo Lucena
PPermissions:tcp(22-22) source: [10.0.20.100/32] > > SecurityGroup:launch-wizard-2 sg-932255f6 inbound: > IPPermissions:tcp(443-443) source: [0.0.0.0/0] > > >>> > > > Here is the output i am looking for > > > rule1 = [{ > > 'cidr': '67.184.225.222/32', > > 'proto': 'tcp', > > 'port': 80 > > },{ > > 'cidr': '67.184.225.222/32', > > 'proto': 'tcp', > > 'port': 5500 > > }] > > > rule2 = [{ > > 'cidr': '[0.0.0.0/0', > > 'proto': 'tcp', > > 'port': 80 > > }] > > > rule3 = [{ > > 'cidr': '0.0.0.0/0', > > 'proto': 'tcp', > > 'port': 22 > > },{ > > 'cidr': '0.0.0.0/0', > > 'proto': 'tcp', > > 'port': 80 > > }] > > > > -- > https://mail.python.org/mailman/listinfo/python-list > > -- *Pablo Lucena* -- https://mail.python.org/mailman/listinfo/python-list

Re: Python write to spreadsheet?

2015-05-30 Thread Pablo Lucena
ur and contrivance of their kind? > > From /Mesopotamia/ by Rudyard Kipling > -- > https://mail.python.org/mailman/listinfo/python-list > -- *Pablo Lucena* -- https://mail.python.org/mailman/listinfo/python-list