...
On Thu, Jul 23, 2015 at 12:36 AM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Thursday 23 July 2015 08:09, max scalf wrote:
>
> > Hello List,
> >
> > I have posted a question on stack overflow for better readability ... but
> > i
Hello List,
I have posted a question on stack overflow for better readability ... but
is intended for python list Please see question below...
http://stackoverflow.com/questions/31574860/unexpected-output-while-using-listand-nested-dictionary
Any pointers is much appreciated.
--
https://
24', 'proto': 'tcp'}, {'cidr': '24.12.30.198/32',
'port': '80', 'proto': 'tcp'}, {'cidr': '10.0.2.10/32', 'port': '138',
'proto': 'udp'}, {'cidr':
#x27;proto': 'tcp'}
{'cidr': '10.0.2.10/32', 'port': '1024', 'proto': 'tcp'}
{'cidr': '24.12.30.198/32', 'port': '80', 'proto': 'tcp'}
{'cidr': '10.
g-e632d982-995635159130', 'proto': '1', 'port': 'None'}
>
>
> You can alter this and add whatever extra checks you need as Chris A
> mentioned (when proto is -1 and port is None-None, or the icmp case). This
> is just a very crude examp
gt; mentioned (when proto is -1 and port is None-None, or the icmp case). This
> is just a very crude example, but hopefully you get the drift.
>
> Most text parsing problems can easily be solved with these simple tools.
> Fire up your shell and test it - this is really the best way to l
Hello all,
For Each SecurityGroup, how can i convert that into a List that in turn
will have a dictionary of the cidr block, protocol type and the port...so
from output below, the SecurityGroup called "default" had 2
rules...allowing TCP port from 80 and 5500 to the source IP and then
SecurityGrou