Skip to content

Instantly share code, notes, and snippets.

import feedparser
entries = feedparser.parse(url)
for entry in entries.entries:
print(f'{entry["title"]} - {entry["link"]} - {entry["published"]}')
import unittest
import boto3
AWS_ACCOUNT_NUMBER = "xxxxxxxxxxxxxx"
class TestIAMPolicy(unittest.TestCase):
def setUp(self):
# Initialize the boto3 IAM client
self.iam = boto3.client("iam")
CmdUtils.CreateCommand({
names: ["java"],
arguments: [{role: "object",
nountype: noun_arb_text,
label: "search criteria"}],
icon: "http://www.sun.com/favicon.ico",
preview: "Searches The Java 6 API.",
help: "Enter the name of the Java class or package for which you would like to see the documentation.",
author: {name: "KS", email: "tss@cornbread.com"},