Skip to content

Instantly share code, notes, and snippets.

<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<polymer-element name="my-element">
<template>
<style>
@ChrisCTX
ChrisCTX / ascii2dna.py
Created May 17, 2013 21:35
A quick and dirty script to translate ASCII into DNA
# A quick and dirty script to translate ASCII into DNA
# by treating DNA's ACGT as a quaternary system
# Base converter credit from
# http://djangosnippets.org/snippets/1431/
class BaseConverter(object):
decimal_digits = "0123456789"
def __init__(self, digits):
self.digits = digits