<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python Archives - Mazikim&#039;s Blog</title>
	<atom:link href="https://www.mazikim.com/category/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mazikim.com/category/python/</link>
	<description>Open Source - Linux - CakePHP - Django</description>
	<lastBuildDate>Sun, 13 Dec 2015 05:56:53 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
	<item>
		<title>Python, liste et rotation</title>
		<link>https://www.mazikim.com/python/python-list-et-rotation/</link>
					<comments>https://www.mazikim.com/python/python-list-et-rotation/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Sun, 13 Dec 2015 05:50:10 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=970</guid>

					<description><![CDATA[<p>Vous voulez faire des rotations sur une liste comme dans l&#8217;exemple suivant : l = &#91;&#34;un&#34;, &#34;deux&#34;, &#34;trois&#34;&#93; # rotate here print l &#62;&#62;&#62; &#91;'trois', 'un', 'deux'&#93; Les listes python ne nous offre pas directement un système pour faire ce genre de chose, mais il y a un module python qu&#8217;il vous faut absolument découvrir<a class="more-link" href="https://www.mazikim.com/python/python-list-et-rotation/">Lire la suite <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/python-list-et-rotation/">Python, liste et rotation</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/python-list-et-rotation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Django : https, nginx, uwsgi et is_secure()</title>
		<link>https://www.mazikim.com/python/django-https-nginx-uwsgi-et-is_secure/</link>
					<comments>https://www.mazikim.com/python/django-https-nginx-uwsgi-et-is_secure/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Wed, 11 Nov 2015 07:16:03 +0000</pubDate>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[uwsgi]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=964</guid>

					<description><![CDATA[<p>Si vous utilisez wsgi avec nginx pour servir vos application Django, vous avez peut être rencontré ce problème : request.is_secure() return false, alors que votre site est bien en HTTPS&#8230; La solution est très simple, dans votre fichier de conf Nginx ajoutez: server { listen 443; server_name my_domain.io; &#160; ssl on; ssl_certificate /etc/nginx/certificates/certif.crt; ssl_certificate_key /etc/nginx/certificates/certif.key;<a class="more-link" href="https://www.mazikim.com/python/django-https-nginx-uwsgi-et-is_secure/">Lire la suite <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/django-https-nginx-uwsgi-et-is_secure/">Django : https, nginx, uwsgi et is_secure()</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/django-https-nginx-uwsgi-et-is_secure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Model class django.contrib.contenttypes.models.ContentType doesn&#8217;t declare an explicit app_label</title>
		<link>https://www.mazikim.com/python/model-class-django-contrib-contenttypes-models-contenttype-doesnt-declare-an-explicit-app_label/</link>
					<comments>https://www.mazikim.com/python/model-class-django-contrib-contenttypes-models-contenttype-doesnt-declare-an-explicit-app_label/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Mon, 02 Nov 2015 21:07:49 +0000</pubDate>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=922</guid>

					<description><![CDATA[<p>En voilà un warning pratique à régler encore. /&#91;...&#93;/python2.7/site-packages/django/contrib/contenttypes/models.py:159: RemovedInDjango19Warning: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9. class ContentType&#40;models.Model&#41;: Et si vous utilisez le module auth, voua aurez<a class="more-link" href="https://www.mazikim.com/python/model-class-django-contrib-contenttypes-models-contenttype-doesnt-declare-an-explicit-app_label/">Lire la suite <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/model-class-django-contrib-contenttypes-models-contenttype-doesnt-declare-an-explicit-app_label/">Model class django.contrib.contenttypes.models.ContentType doesn&rsquo;t declare an explicit app_label</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/model-class-django-contrib-contenttypes-models-contenttype-doesnt-declare-an-explicit-app_label/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>gtk_notebook_buildable_add_child: assertion failed: (page != NULL)</title>
		<link>https://www.mazikim.com/python/gtk_notebook_buildable_add_child-assertion-failed-page-null/</link>
					<comments>https://www.mazikim.com/python/gtk_notebook_buildable_add_child-assertion-failed-page-null/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Thu, 21 May 2015 16:04:54 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[glade]]></category>
		<category><![CDATA[pygtk]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=843</guid>

					<description><![CDATA[<p>Voici une erreur des plus explicite non ? Vraiment ? Le contexte est simple, je suis en train de développer une petite application en python et pour l&#8217;interface je pars sur du pyGtk. Comme mon interface est assez simple, j&#8217;ai décidé d&#8217;utiliser Glade pour la construire. Une simple fenêtre, dans laquelle je met des onglets.<a class="more-link" href="https://www.mazikim.com/python/gtk_notebook_buildable_add_child-assertion-failed-page-null/">Lire la suite <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/gtk_notebook_buildable_add_child-assertion-failed-page-null/">gtk_notebook_buildable_add_child: assertion failed: (page != NULL)</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/gtk_notebook_buildable_add_child-assertion-failed-page-null/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Django : Renommer les fichiers FileFields</title>
		<link>https://www.mazikim.com/python/django-renommer-les-fichiers-filefields/</link>
					<comments>https://www.mazikim.com/python/django-renommer-les-fichiers-filefields/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Tue, 09 Dec 2014 18:22:47 +0000</pubDate>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=808</guid>

					<description><![CDATA[<p>Pour des raisons diverses et variées vous pourriez avoir envie de renommer les fichiers que vous enregistrez avec un FileField. Le cas le plus classique est lors de l'upload de fichier par des membres, pour éviter qu'un fichier uploadé n'écrase un ancien fichier vous devez renommer celui-ci pour lui donner un nom unique.</p>
<p>Nous allons voir comment faire cela très simplement avec Django ;)</p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/django-renommer-les-fichiers-filefields/">Django : Renommer les fichiers FileFields</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/django-renommer-les-fichiers-filefields/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Django rest framework &#8211; Changer le json du login du TokenAuthentication</title>
		<link>https://www.mazikim.com/python/django-rest-framework-changer-le-json-du-login-du-tokenauthentication/</link>
					<comments>https://www.mazikim.com/python/django-rest-framework-changer-le-json-du-login-du-tokenauthentication/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Thu, 04 Sep 2014 14:57:43 +0000</pubDate>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=788</guid>

					<description><![CDATA[<p>Le TokenAuthentication à un fonctionnement extrêmement simple, à la connexion l'API retourne un token qu'il faut ensuite passer dans le Header de chaque requête nécessitant d'être connecté.</p>
<p>Le truc vraiment cool, c'est que TokenAuthentication propose directement une view qui s'occupe de connecter un utilisateur. Cependant cette vue ne renvoie que le token, alors que parfois nous aimerions renvoyer plus d'information (l'id de l'utilisateur par exemple). </p>
<p>Voyons comment faire !</p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/django-rest-framework-changer-le-json-du-login-du-tokenauthentication/">Django rest framework &#8211; Changer le json du login du TokenAuthentication</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/django-rest-framework-changer-le-json-du-login-du-tokenauthentication/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fabric, htaccess et page de maintenance</title>
		<link>https://www.mazikim.com/php/fabric-htaccess-et-page-de-maintenance/</link>
					<comments>https://www.mazikim.com/php/fabric-htaccess-et-page-de-maintenance/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Tue, 02 Sep 2014 09:00:00 +0000</pubDate>
				<category><![CDATA[Fabric]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=776</guid>

					<description><![CDATA[<p>La mise à jour d'un site web est toujours un moment critique. Même si cela se passe rapidement et sans problème quasiment tout le temps, il vaut mieux indiquer à l'utilisateur final qu'une mise à jour est en cours. Avec Apache et Frabric c'est très rapide !</p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/php/fabric-htaccess-et-page-de-maintenance/">Fabric, htaccess et page de maintenance</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/php/fabric-htaccess-et-page-de-maintenance/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fabric &#8211; env.hosts et -H pour choisir l&#8217;adresse du serveur</title>
		<link>https://www.mazikim.com/python/fabric-env-hosts-et-h-pour-choisir-ladresse-du-serveur/</link>
					<comments>https://www.mazikim.com/python/fabric-env-hosts-et-h-pour-choisir-ladresse-du-serveur/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Mon, 01 Sep 2014 16:05:38 +0000</pubDate>
				<category><![CDATA[Fabric]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=767</guid>

					<description><![CDATA[<p>Il existe une multitude de solution avec fabric pour indiquer sur quel serveur nous souhaitons exécuter les tâches. Petit tour d'horizon pour mieux comprendre Frabric</p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/fabric-env-hosts-et-h-pour-choisir-ladresse-du-serveur/">Fabric &#8211; env.hosts et -H pour choisir l&rsquo;adresse du serveur</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/fabric-env-hosts-et-h-pour-choisir-ladresse-du-serveur/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Utilisation des sockets non-bloquant en python</title>
		<link>https://www.mazikim.com/python/utilisation-des-sockets-non-bloquant-en-python/</link>
					<comments>https://www.mazikim.com/python/utilisation-des-sockets-non-bloquant-en-python/#comments</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Sun, 14 Aug 2011 20:23:41 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=477</guid>

					<description><![CDATA[<p>Socket en Python L&#8217;utilisation des sockets en Python est vraiment simplifié par rapport à d&#8217;autre langage comme le C ou le C++. Voici un exemple d&#8217;un serveur « echo » qui comme son nom l&#8217;indique renvoi au client ce qu&#8217;il a envoyé. Pour ce serveur nous utiliserons les sockets non-bloquant. Lien de la doc sockets : http://docs.python.org/library/socket.html<a class="more-link" href="https://www.mazikim.com/python/utilisation-des-sockets-non-bloquant-en-python/">Lire la suite <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/python/utilisation-des-sockets-non-bloquant-en-python/">Utilisation des sockets non-bloquant en python</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/python/utilisation-des-sockets-non-bloquant-en-python/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Utiliser MySQL dans vos programmes Python</title>
		<link>https://www.mazikim.com/fedora/utiliser-mysql-dans-vos-programmes-python/</link>
					<comments>https://www.mazikim.com/fedora/utiliser-mysql-dans-vos-programmes-python/#comments</comments>
		
		<dc:creator><![CDATA[Aymeric DERBOIS]]></dc:creator>
		<pubDate>Mon, 27 Jun 2011 21:19:51 +0000</pubDate>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Mysql-python]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">http://www.mazikim.com/?p=460</guid>

					<description><![CDATA[<p>Python est un langage interprété qui a de nombreux avantages. Il permet de développer très rapidement et proprement des applications de tous types. Nous allons voir ici comment accéder à une base de données MySQL avec Python de manière très simple. Généralement le problème c&#8217;est de commencer, trouver la bonne librairie et de trouver un<a class="more-link" href="https://www.mazikim.com/fedora/utiliser-mysql-dans-vos-programmes-python/">Lire la suite <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.mazikim.com/fedora/utiliser-mysql-dans-vos-programmes-python/">Utiliser MySQL dans vos programmes Python</a> appeared first on <a rel="nofollow" href="https://www.mazikim.com">Mazikim&#039;s Blog</a>.</p>
]]></description>
		
					<wfw:commentRss>https://www.mazikim.com/fedora/utiliser-mysql-dans-vos-programmes-python/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Mise en cache de page à l’aide de disk: enhanced 
Mise en cache de la base de données de 9/57 requêtes en 0.073 secondes utilisant disk

Served from: www.mazikim.com @ 2023-01-22 04:03:38 by W3 Total Cache
-->