diff --git a/python/intro/intro.ipynb b/python/intro/intro.ipynb index 2b4021f..002e3cd 100644 --- a/python/intro/intro.ipynb +++ b/python/intro/intro.ipynb @@ -92,6 +92,24 @@ "For example this is how to connect to the [cBioPortal](https://www.cbioportal.org) API:" ] }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "c:\\codebook\\cbio_env\\Scripts\\python.exe\n" + ] + } + ], + "source": [ + "import sys\n", + "print(sys.executable)" + ] + }, { "cell_type": "code", "execution_count": 1, @@ -124,11 +142,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "SwaggerClient(https://www.cbioportal.org/api)" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "cbioportal." + "cbioportal" ] }, { @@ -142,22 +171,22 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 19, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "cbioportal.Cancer_Types.getAllCancerTypesUsingGET(" + "cbioportal.Cancer_Types.getAllCancerTypesUsingGET()" ] }, { @@ -169,7 +198,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -2117,7 +2146,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "cbio_env311", "language": "python", "name": "python3" }, @@ -2131,7 +2160,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.3" + "version": "3.13.2" } }, "nbformat": 4,