Re: Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread eryksun
On 9/26/15, Zachary Ware wrote: > On Sat, Sep 26, 2015 at 1:13 PM, wrote: >> After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip >> using pip fails. Am I doing this incorrectly? Any suggestions? > > This is a limitation of Windows: you can't replace the executable that > you're

Re: Django (Python Web Framework) Tutorial

2015-09-26 Thread Cai Gengyang
On Sunday, September 27, 2015 at 11:46:13 AM UTC+8, John Gordon wrote: > In <1421a34f-d8cc-4367-adab-2c2b46504...@googlegroups.com> Cai Gengyang > writes: > > > Question : I am a little confused about the last paragraph : What exactly > > is a "directory outside of the document root, such as /ho

Re: Django (Python Web Framework) Tutorial

2015-09-26 Thread John Gordon
In <1421a34f-d8cc-4367-adab-2c2b46504...@googlegroups.com> Cai Gengyang writes: > Question : I am a little confused about the last paragraph : What exactly > is a "directory outside of the document root, such as /home/mycode." and > how do you "Put your code in this directory" ? Django is a web

Re: Python program on induction heating

2015-09-26 Thread MRAB
On 2015-09-27 02:32, Steven D'Aprano wrote: Hi, and welcome, On Sun, 27 Sep 2015 06:28 am, Roïya souissi wrote: Hello, I have realized last year a mini project on induction heating and its application onto thermoelectricity. To back up my theoretical work, I created a python program ( I used m

Re: Python program on induction heating

2015-09-26 Thread Steven D'Aprano
Hi, and welcome, On Sun, 27 Sep 2015 06:28 am, Roïya souissi wrote: > Hello, > I have realized last year a mini project on induction heating and its > application onto thermoelectricity. To back up my theoretical work, I > created a python program ( I used mainly dictionnaries, PIL library and >

Event Handling Error in Python 3.4.3

2015-09-26 Thread Supra1983 Tech
I have a python script for a game and the problem is that after running the game, the blocks start falling, but the game over message is not popping up at proper times. Here is my script: import pygame import time import random pygame.init() display_width = 800 display_height = 600 black = (0

Re: Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread Joel Goldstick
On Sat, Sep 26, 2015 at 6:24 PM, wrote: > Joel, no need for elevated (Administrator) execution. I did need to > follow Zachary's suggestion and it worked well. > Good result. I'm not up on windows for many years -- Joel Goldstick http://joelgoldstick.com -- https://mail.python.org/mailman/l

Re: Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread paul . hermeneutic
Joel, no need for elevated (Administrator) execution. I did need to follow Zachary's suggestion and it worked well. -- https://mail.python.org/mailman/listinfo/python-list

Re: ConnectionError handling problem

2015-09-26 Thread Cameron Simpson
On 26Sep2015 09:46, Gonzalo V wrote: Hi Cameron. i had the same problems and you have to tell to python what to do with the connect problem. Definitely. That's why we're encouraging him to handle specific exceptions. try this: ... except *urllib.error.HTTPError* as e: if e.getcode

Python program on induction heating

2015-09-26 Thread Roïya souissi
Hello, I have realized last year a mini project on induction heating and its application onto thermoelectricity. To back up my theoretical work, I created a python program ( I used mainly dictionnaries, PIL library and tkinter library). I have created a personal blog (https://souissiroiya.wordpr

Re: Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread Zachary Ware
On Sat, Sep 26, 2015 at 1:13 PM, wrote: > After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip > using pip fails. Am I doing this incorrectly? Any suggestions? This is a limitation of Windows: you can't replace the executable that you're currently running. To work around this, d

Re: Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread Joel Goldstick
On Sat, Sep 26, 2015 at 2:52 PM, Joel Goldstick wrote: > sudo pip ... etc > > On Sat, Sep 26, 2015 at 2:13 PM, wrote: > >> After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip >> using pip fails. Am I doing this incorrectly? Any suggestions? >> >> C:\Python27-32\Scripts>pip insta

Re: Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread Joel Goldstick
sudo pip ... etc On Sat, Sep 26, 2015 at 2:13 PM, wrote: > After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip > using pip fails. Am I doing this incorrectly? Any suggestions? > > C:\Python27-32\Scripts>pip install --upgrade pip > You are using pip version 7.0.1, however version

Failed to upgrade pip in fresh 2.7 install

2015-09-26 Thread paul . hermeneutic
After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip using pip fails. Am I doing this incorrectly? Any suggestions? C:\Python27-32\Scripts>pip install --upgrade pip You are using pip version 7.0.1, however version 7.1.2 is available. You should consider upgrading via the 'pip insta

Re: Fixing Python install on the Mac after running 'CleanMyMac' (fwd)

2015-09-26 Thread Ned Deily
In article , kacyjo...@lclark.edu wrote: > I was having this same problem, entered those commands and got this as a > response: > > MacBook-Pro:~ kacyjones$ /usr/bin/python2.7 -c 'import > numpy;print(numpy.__file__)' > /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python

Django (Python Web Framework) Tutorial

2015-09-26 Thread Cai Gengyang
So I am using Mac OS X Yosemite Version 10.10.2, going through the django tutorial : https://docs.djangoproject.com/en/1.8/intro/tutorial01/ and learning to use it. Am currently on the 2nd chapter "Creating a Project" and got a question to ask : This is the series of steps I took to reach this

ANN: A new version (0.3.8) of python-gnupg has been released.

2015-09-26 Thread Vinay Sajip
A new version of the Python module which wraps GnuPG has been released. What Changed? = This is an enhancement and bug-fix release, and all users are encouraged to upgrade. See the project website [1] for more information. Brief summary: * Fixed #22: handled PROGRESS messages