"If a script is called `script.py`, then we use `import script`. This gives us access to the objects defined in `script.py` by prefixing them with `script` and a dot.\n",
"\n",
"We can also have the following directory structure:\n",
"\n",
" my_module/\n",
" \u2514\u2500\u2500 __init__.py\n",
"\n",
"and do an `import my_module`."
"Keep in mind that this is not the only way to import Python modules. Refer to the Python documentation to find out more ways to do imports."
]
},
{
...
...
@@ -2459,7 +2454,7 @@
"\n",
"### Hints\n",
"\n",
"1. FASTA files have two types of lines: header lines starting with a `>` character and sequence lines. We only want to use the sequence line.\n",
"1. FASTA files have two types of lines: header lines starting with a `>` character and sequence lines. We are only concerned with the sequence line.\n",
"2. Read the string functions documentation.\n",
"3. Read the documentation for built in functions.\n",