\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}    
\usepackage[T1]{fontenc}
\usepackage[francais,bloc,completemulti]{automultiplechoice}    

\begin{filecontents*}[overwrite]{Pointilles.tex}
\documentclass[border=1pt]{standalone}
\begin{document}
	\begin{minipage}{5cm}
		\vskip2.5mm
\makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....}

\makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....} \makebox[2em][l]{....}
	\end{minipage}
\end{document}
\end{filecontents*}

\immediate\write18{pdflatex  Pointilles.tex}%

\newcommand{\PointillesImage}{%
\includegraphics{Pointilles}
}

\begin{document}

\exemplaire{5}{    

%%% debut de l'en-tête des copies :    

\noindent{\bf QCM  \hfill TEST}

\vspace*{.5cm}
\begin{minipage}{.4\linewidth}
\centering\large\bf Test\\ Examen du 01/01/2008\end{minipage}
\champnom{\fbox{    
                \begin{minipage}{.5\linewidth}
                  Nom et prénom :

                  \vspace*{.5cm}\namefielddots   
                  \vspace*{1mm}
                \end{minipage}
         }}



%%% fin de l'en-tête

\begin{question}{python}    
blabla

\AMCOpen{contentcommand=PointillesImage}{\bonne{1}\bareme{1}}

\end{question}

}   

\end{document}
