Skip to content
Snippets Groups Projects
Commit 06bbe213 authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Add web links for attached scripts as an alternative

parent 8a331fd5
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installationsanleitung für Python mit OpenAI Gym für Linux}
\date{April 2023}
\date{Mai 2023}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -191,7 +191,7 @@ Spyder öffnet sich nun. Wenn Sie die Plots lieber in eigenständigen Fenster an
\includegraphics[width=\linewidth]{images/spyder-pref}
\vspace{-2em}
Laden Sie nun in Spyder das beigelegte Testprogramm \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}}.
Laden Sie nun in Spyder das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}).
Starten Sie das Skript durch Drücken auf \keystroke{F5} bzw.\ den grünen Play-Button oben in Werkzeugleise bzw.\ über das Menü \textit{Run} $\rightarrow$ \textit{Run}.
\vspace{-1ex}
......@@ -209,7 +209,7 @@ Starten Sie VS Code z.\,B.\ über die Kommandozeile mit:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
code
\end{lstlisting}
Speichern Sie das beigelegte Testprogramm \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}} und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}}. Wie in der Abbildung dargestellt, installieren Sie die Python-Extension, wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus und klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster:
Speichern Sie das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}) und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \texttt{mnistKeras.py}. Wie in der Abbildung dargestellt, installieren Sie die Python-Extension, wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus und klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster:
\vspace{-1em}
\noindent
......
......@@ -53,7 +53,7 @@
\title{Installationsanleitung für Python mit OpenAI Gym für Windows}
\date{April 2023}
\date{Mai 2023}
\author{Christof Kaufmann}
......@@ -178,7 +178,7 @@ Spyder öffnet sich nun. Wenn Sie die Plots lieber in eigenständigen Fenster an
\includegraphics[width=\linewidth]{images/spyder-pref}
\vspace{-2em}
Laden Sie nun in Spyder das beigelegte Testprogramm \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}}.
Laden Sie nun in Spyder das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}).
Starten Sie das Skript durch Drücken auf \keystroke{F5} bzw.\ den grünen Play-Button oben in Werkzeugleise bzw.\ über das Menü \textit{Run} $\rightarrow$ \textit{Run}.
\vspace{-1ex}
......@@ -194,7 +194,7 @@ VS Code wird unabhängig von Mamba installiert und man wählt nachträglich die
Laden Sie es \href{https://code.visualstudio.com/docs/?dv=win64user}{hier} herunter und installieren es. Anschließend öffnen Sie VS Code. In VS Code drücken Sie \keystroke{Ctrl}+\keyshift+\keystroke P, suchen Sie die Einstellung \textit{Terminal: Select Default Profile} und wählen Sie \textit{Command Prompt}.
Speichern Sie das beigelegte Testprogramm \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}} und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}}. Installieren Sie die Python-Extension, wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus und klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster:
Speichern Sie das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}) und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \texttt{mnistKeras.py}. Installieren Sie die Python-Extension, wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus und klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster:
\vspace{-1em}
\noindent
......
......@@ -53,7 +53,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Linux}
\date{December 2022}
\date{May 2023}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -144,7 +144,7 @@ The Spyder window opens now. Set the graphics backend to \textit{Automatic} and
\vspace{-1.5em} % due to some transparent border in the image
\noindent
Open the attached test script \textattachfile{attachments/surfplot.py}{\texttt{surfplot.py}} and run it by pressing \keystroke{F5} or clicking on the green play button \textcolor{green!80!black}{$\blacktriangleright$} or by using the menu \textit{Run} $\rightarrow$ \textit{Run} and confirm. A new window opens with a surface plot like this:
Open the test script \texttt{surfplot.py} (\textattachfile{attachments/surfplot.py}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/surfplot.py?inline=false}{web}) and run it by pressing \keystroke{F5} or clicking on the green play button \textcolor{green!80!black}{$\blacktriangleright$} or by using the menu \textit{Run} $\rightarrow$ \textit{Run} and confirm. A new window opens with a surface plot like this:
\vspace{-1ex}
\begin{center}
......
......@@ -52,7 +52,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Linux}
\date{January 2023}
\date{May 2023}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -130,7 +130,7 @@ You will get a list of packages and can confirm with \keyenter. Installation tak
conda activate weai
spyder &
\end{lstlisting}
The Spyder window opens now. Open the attached test script \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}} and run it by pressing \keystroke{F5} or clicking on the green play button or by using the menu \textit{Run} $\rightarrow$ \textit{Run}.
The Spyder window opens now. Open the test script \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{web}) and run it by pressing \keystroke{F5} or clicking on the green play button or by using the menu \textit{Run} $\rightarrow$ \textit{Run}.
\vspace{-1ex}
\noindent
......
......@@ -53,7 +53,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Windows}
\date{December 2022}
\date{May 2023}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -132,7 +132,7 @@ The Spyder window opens now. Set the graphics backend to \textit{Automatic} and
\vspace{-1.5em} % due to some transparent border in the image
\noindent
Open the attached test script \textattachfile{attachments/surfplot.py}{\texttt{surfplot.py}} and run it by pressing \keystroke{F5} or clicking on the green play button \textcolor{green!80!black}{$\blacktriangleright$} or by using the menu \textit{Run} $\rightarrow$ \textit{Run} and confirm. A new window opens with a surface plot like this:
Open the test script \texttt{surfplot.py} (\textattachfile{attachments/surfplot.py}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/surfplot.py?inline=false}{web}) and run it by pressing \keystroke{F5} or clicking on the green play button \textcolor{green!80!black}{$\blacktriangleright$} or by using the menu \textit{Run} $\rightarrow$ \textit{Run} and confirm. A new window opens with a surface plot like this:
\vspace{-1ex}
\begin{center}
......
......@@ -52,7 +52,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Windows}
\date{April 2023}
\date{May 2023}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -137,7 +137,7 @@ and optionally (not required for Spyder) also add the path to the corresponding
\end{minipage}%
\noindent
The Spyder window opens now. Open the attached test script \textattachfile{attachments/mnistKeras.py}{\texttt{mnistKeras.py}} and run it by pressing \keystroke{F5} or clicking on the green play button or by using the menu \textit{Run} $\rightarrow$ \textit{Run} and confirm with \textit{Run}.
The Spyder window opens now. Open the test script \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{attachment}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{web}) and run it by pressing \keystroke{F5} or clicking on the green play button or by using the menu \textit{Run} $\rightarrow$ \textit{Run} and confirm with \textit{Run}.
\vspace{-1ex}
\noindent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment