<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Python on Azure WebSites</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/pythononazure/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/pythononazure/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:50:29 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>New features in PTVS 2.0 RC</title>
      <link>https://docs.microsoft.com/archive/blogs/pythononazure/new-features-in-ptvs-2-0-rc</link>
      <pubDate>Mon, 07 Oct 2013 11:21:00 GMT</pubDate>
      <dc:creator><![CDATA[mksunitha]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/pythononazure/2013/10/07/new-features-in-ptvs-2-0-rc/</guid>
      <description><![CDATA[Check out this video about Python Tools for VS with all the new features . Read...]]></description>
      <content:encoded><![CDATA[<p>Check out this video about Python Tools for VS with all the new features . Read more&nbsp;<a href="https://pytools.codeplex.com/">here</a></p>
<ul>
<li>Virtual environment</li>
<li>Mixed Python ,C,C++ debuggig</li>
<li>Easy deployment to Windows Azure Websites</li>
</ul>
<p><a href="https://www.youtube.com/watch?v=JNNAOypc6Ek&amp;hd=1">https://www.youtube.com/watch?v=JNNAOypc6Ek&amp;hd=1</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Bottle Python Framework on Windows Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/pythononazure/bottle-python-framework-on-windows-azure</link>
      <pubDate>Mon, 07 Oct 2013 11:17:00 GMT</pubDate>
      <dc:creator><![CDATA[mksunitha]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/pythononazure/2013/10/07/bottle-python-framework-on-windows-azure/</guid>
      <description><![CDATA[Bottle&nbsp;is a fast, simple and lightweight&nbsp;WSGI&nbsp;micro web-framework for&nbsp;Python....]]></description>
      <content:encoded><![CDATA[<p><a href="https://bottlepy.org/docs/dev/">Bottle</a>&nbsp;is a fast, simple and lightweight&nbsp;<a href="https://www.wsgi.org/">WSGI</a>&nbsp;micro web-framework for&nbsp;<a href="https://python.org/">Python</a>. &nbsp;This tutorial shows you how to create a website on Azure for Bottle Framework in just a few clicks. &nbsp;You require a Windows Azure account to begin.Once you are logged into the<a href="https://manage.windowsazure.com/">Management portal,</a>&nbsp;you will need to create a new site &ldquo;from gallery&rdquo; as shown below</p>
<p><a href="https://sunithamk.files.wordpress.com/2013/03/capture71.png"><img src="https://sunithamk.files.wordpress.com/2013/03/capture71.png?w=300&amp;h=56" alt="Capture7" width="300" height="56" /></a></p>
<p>Choose&nbsp;&ldquo;<strong>App Frameworks</strong>&rdquo; category and then select&nbsp;<strong><em>Bottle&nbsp;</em></strong>. Click on Next</p>
<p><a href="https://sunithamk.files.wordpress.com/2013/10/bottle1.png"><img src="https://sunithamk.files.wordpress.com/2013/10/bottle1.png?w=300&amp;h=202" alt="bottle1" width="300" height="202" /></a></p>
<p>&nbsp;</p>
<p>Enter the site name, say &lsquo;<strong><em>mybottleapp</em></strong>&rsquo; and select the region. Click on the Complete and that&rsquo;s it . Your website is now being deployed</p>
<p><a href="https://sunithamk.files.wordpress.com/2013/10/bottle2.png"><img src="https://sunithamk.files.wordpress.com/2013/10/bottle2.png?w=300&amp;h=202" alt="bottle2" width="300" height="202" /></a></p>
<p>Management portal will inform you on the status once this the app is deployed and here is this is your bottle site</p>
<p><a href="https://sunithamk.files.wordpress.com/2013/10/bottle3.png"><img class="alignnone size-medium wp-image-283" src="https://sunithamk.files.wordpress.com/2013/10/bottle3.png?w=300&amp;h=115" alt="bottle3" width="300" height="115" /></a></p>
<p>That&rsquo;s it , you have an simple application using Bottle up and running in Windows Azure . &nbsp;To start building on on top of this application , just download the content using GIT or FTP . Then Open you application in Visual Studio with <a title="PTVS 2.0 RC" href="https://pytools.codeplex.com/">Python Tools 2.0 RC</a> &nbsp;. In Visual studio , create a new project &nbsp; by selecting &rdquo; From Existing Python Code&rdquo; &nbsp;. &nbsp;Happy Coding &nbsp;!!</p>
<p><a href="https://sunithamk.files.wordpress.com/2013/10/bottle4.png"><img class="alignnone size-medium wp-image-284" src="https://sunithamk.files.wordpress.com/2013/10/bottle4.png?w=300&amp;h=197" alt="bottle4" width="300" height="197" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Using Virtual environment to Build your application for Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/pythononazure/using-virtual-environment-to-build-your-application-for-azure</link>
      <pubDate>Tue, 30 Apr 2013 12:41:49 GMT</pubDate>
      <dc:creator><![CDATA[mksunitha]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/pythononazure/2013/04/30/using-virtual-environment-to-build-your-application-for-azure/</guid>
      <description><![CDATA[Python stack on Windows Azure is bare bones&#160; and may not include all the libraries that your...]]></description>
      <content:encoded><![CDATA[<p><font size="2" face="Arial">Python stack on Windows Azure is bare bones&#160; and may not include all the libraries that your application may require. The best way to build your application for Azure is setting up a virtual environment for your application that you can deploy to Windows Azure website . Here is what you need to do to setup your own development environment for your application : </font></p>  <p><font size="2" face="Arial"></font></p>  <h3>Install virtualenv</h3>  <p><font size="2" face="Arial"> If you don’t have <em>virutalenv</em> installed , you can install it using PIP or Easy install tools . Make sure you have python setup tools installed for Python 2.7.x . Run the following command to install <em>virtualenv </em></font></p>  <p><font size="2"><font face="Courier New">c:\python27&gt;Scripts\<code>easy_install virtualenv</code></font></font></p>  <p><font size="2" face="Arial">or </font></p>  <p><font size="2"><font face="Courier New">c:\python27&gt;Scripts\<code>pip </code><code>install</code> <code>virtualenv</code></font></font></p>  <h3>Activate your Virtual Environment</h3>  <p><font size="2" face="Arial">After installing <code>virtualenv</code>, you can create a new development environment for your application . Go to the application folder and run the following command </font></p>  <p><font face="Arial"><font size="2"><code>virtualenv </code><code>--no-site-packages </code><code>myapp</code></font></font></p>  <p><font size="2" face="Arial">Here, <code>virtualenv</code> creates a folder, <em>myapp/</em>, and sets up a clean copy of Python inside for you to use. It also installs the python setup tools so you can start building your own custom environment that includes all the modules you need for your application . </font></p>  <p><font size="2" face="Arial">Activate your newly created environment&#160; so you can begin working within it.</font></p>  <p><font face="Arial"><font size="2"><code>C:\myprojects\my</code><code>app&gt;Scripts\</code><code>activate</code></font></font></p>  <p><font size="2" face="Arial">Now, you can&#160; install any modules or libraries your application needs . For example if my application requires Flask , then run the command </font></p>  <p><font face="Arial"><font size="2"><code>pip </code><code>install</code> <code>Flask</code></font></font></p>  <p><code><font size="2" face="Arial">This will install Flask in the newly created environment under Lib/site-packages . Similarly you can install any module or library your application requires. </font></code></p>  <h3>Known Issue&#160; and Workaround </h3>  <h4>wfastcgi should does not enable .pth files in the user's directory</h4>  <p><code><font size="2" face="Arial">Azure using <em>wfastcgi.py </em>as the FASTCGI handler for managing requests to your application . If the application modules are&#160; installed as .EGG files , then <em>wfastcgi.py </em>wont be able to find the module you are using with your application . You can track the issue <a href="https://pytools.codeplex.com/workitem/1106">here</a> </font></code></p>  <p><code><font face="Arial"><font size="2"><strong>Workaround :</strong> You can install application using PIP or Easy install tools&#160; and then rename the EGG files&#160; as ZIP files . Now open the ZIP file and extract all the contents into site-packages folder .&#160;&#160; </font></font></code></p>]]></content:encoded>
    </item>
  </channel>
</rss>