<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">est-ce que quelqu'un sait comment gèrer les antislashs dans une commande run python ?</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">run(r'powershell -NoProfile -NoLogo -NonInteractive -Command import-startlayout -layoutpath screenlayout.bin -mountpath "c:\"')</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">me renvoie l'erreur :</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">2016-08-18 12:34:08,118 CRITICAL Package chal-config-pc not installed due to errors : CalledProcessError: Command '('powershell -NoProfile -NoLogo -NonInteractive -Command "import-startlayout -layoutpath screenlayout.bin -mountpath c:\\"',)' returned non-zero exit status 1</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Le c:\ devient c:\\. Et cela empêche ma commande de s'effectuer correctement</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Sébastien.</font></div>
<br />
</body>
</html>