On 8/2/2016 8:11 AM, Uri Even-Chen wrote:
Hi,
I want to install Python 3 on Windows, but I also need Python 2 for Google
App Engine SDK. When I type a name of a Python file in command line, I want
it to run with Python 3. However, I checked with "print 3/5" and it printed
0 - Python 2. I have th
On 1/10/2016 6:38 AM, Tim Golden wrote:
On 10/01/2016 05:18, Edward Diener wrote:
On 1/9/2016 11:03 AM, Tim Golden wrote:
On 06/01/2016 00:48, Edward Diener wrote:
The Python launcher in Windows is a neat tool for running multiple
versions of Python 2 and Python 3 at different times. It
On 1/10/2016 6:38 AM, Tim Golden wrote:
On 10/01/2016 05:18, Edward Diener wrote:
On 1/9/2016 11:03 AM, Tim Golden wrote:
On 06/01/2016 00:48, Edward Diener wrote:
The Python launcher in Windows is a neat tool for running multiple
versions of Python 2 and Python 3 at different times. It
On 1/9/2016 11:03 AM, Tim Golden wrote:
On 06/01/2016 00:48, Edward Diener wrote:
The Python launcher in Windows is a neat tool for running multiple
versions of Python 2 and Python 3 at different times. It allows as
options the ability to specify the latest version of either Python 2 or
Python
The Python launcher in Windows is a neat tool for running multiple
versions of Python 2 and Python 3 at different times. It allows as
options the ability to specify the latest version of either Python 2 or
Python 3 defaulting to the 64-bit version if both exist, or a specific
32-bit or 64-bit v
On 8/5/2014 1:27 PM, Edward Diener wrote:
I am trying to control the default version of the py.exe launcher on
Windows. I have the Python 2.7.8 and 3.4.1 installed with both the 32
bit and 64 bit versions, all in different directories. I assume that .py
and .pyw files are associated with the
On 8/5/2014 6:16 PM, Terry Reedy wrote:
On 8/5/2014 3:36 PM, Edward Diener wrote:
I install Python 3.4.1 64-bit on Windows. After the install I type:
I have done the same, on Win 7, but I had previous installs going back 3
years on this machine.
assoc .py
and I get back:
File association
I install Python 3.4.1 64-bit on Windows. After the install I type:
assoc .py
and I get back:
File association not found for extension .py
Why does not the Python install to associate extension .py with the
Python Launcher for Windows ?
--
https://mail.python.org/mailman/listinfo/python-list
I am trying to control the default version of the py.exe launcher on
Windows. I have the Python 2.7.8 and 3.4.1 installed with both the 32
bit and 64 bit versions, all in different directories. I assume that .py
and .pyw files are associated with the py.exe launcher.
I am trying to control whi
On 10/5/2012 5:32 PM, Dennis Lee Bieber wrote:
On Fri, 05 Oct 2012 08:15:30 -0400, Edward Diener
declaimed the following in
gmane.comp.python.general:
Windows installs of Python do not distinguish releases by Pythonx(.x)
but just install different versions of Python in different directories
On 9/30/2012 3:38 PM, Andrew Berg wrote:
On 2012.09.30 14:14, Edward Diener wrote:
The situation is so confusing on Windows, where the file associations,
registry entries, and other internal software which allows a given
Python release to work properly when invoking Python is so complicated
On 10/1/2012 12:02 PM, Alister wrote:
On Sun, 30 Sep 2012 15:14:17 -0400, Edward Diener wrote:
Has there been any official software that allows both the Python 2.x and
3.x releases to coexist on the same OS so that the end-user can easily
switch between them when invoking Python scripts after
On 10/1/2012 1:32 PM, Dennis Lee Bieber wrote:
On Sun, 30 Sep 2012 23:06:04 -0400, Edward Diener
declaimed the following in
gmane.comp.python.general:
My thought is a program distributed by Python which finds the versions
of Python on an OS, lets the end-user choose which version should be
On 9/30/2012 3:38 PM, Andrew Berg wrote:
On 2012.09.30 14:14, Edward Diener wrote:
The situation is so confusing on Windows, where the file associations,
registry entries, and other internal software which allows a given
Python release to work properly when invoking Python is so complicated
Has there been any official software that allows both the Python 2.x and
3.x releases to coexist on the same OS so that the end-user can easily
switch between them when invoking Python scripts after each has been
installed to their own directories/folders ?
I know of some unoffical solutions,
I have multiple versions of Python installed under Vista. Is there any
easy way of switching between them so that invoking python and file
associations for Python extensions files work automatically ?
--
http://mail.python.org/mailman/listinfo/python-list
On 8/2/2010 5:42 PM, Mark Lawrence wrote:
On 02/08/2010 00:08, candide wrote:
Python is an object oriented langage (OOL). The Python main
implementation is written in pure and "old" C90. Is it for historical
reasons?
C is not an OOL and C++ strongly is. I wonder if it wouldn't be more
suitable
On 7/25/2010 10:42 PM, David Robinow wrote:
On Sun, Jul 25, 2010 at 8:40 PM, Edward Diener
wrote:
On 7/25/2010 5:57 PM, Thomas Jollans wrote:
So if a standard library module ( or distributed library ) executes a call
internally to 'python xxx yyy' or executes a call int
On 7/25/2010 8:41 PM, Steven D'Aprano wrote:
On Sun, 25 Jul 2010 15:19:53 -0400, Edward Diener wrote:
On 7/25/2010 10:03 AM, Thomas Jollans wrote:
On 07/25/2010 02:46 PM, Edward Diener wrote:
The problem with this is that you forget that a script can invoke
Python internally. So whethe
On 7/25/2010 5:57 PM, Thomas Jollans wrote:
On 07/25/2010 11:10 PM, Edward Diener wrote:
On 7/25/2010 3:39 PM, Christian Heimes wrote:
Am 25.07.2010 21:32, schrieb Thomas Jollans:
If a script uses sys.executable instead of "python", there is no
problem, at all.
It's true that
On 7/25/2010 4:26 PM, News123 wrote:
On 07/25/2010 10:18 PM, Thomas Jollans wrote:
On 07/25/2010 10:04 PM, News123 wrote:
sOn 07/25/2010 09:39 PM, Christian Heimes wrote:
Am 25.07.2010 21:32, schrieb Thomas Jollans:
If a script uses sys.executable instead of "python", there is no
problem, at
On 7/25/2010 4:22 PM, News123 wrote:
On 07/25/2010 09:33 PM, Edward Diener wrote:
On 7/25/2010 10:31 AM, News123 wrote:
On 07/25/2010 02:46 PM, Edward Diener wrote:
On 7/25/2010 6:07 AM, Gelonida wrote:
How does a 'pystarter' program know where the file's location is
On 7/25/2010 3:39 PM, Christian Heimes wrote:
Am 25.07.2010 21:32, schrieb Thomas Jollans:
If a script uses sys.executable instead of "python", there is no
problem, at all.
It's true that sys.executable is the best way if you have to start a new
Python interpreter. However sys.executable may n
On 7/25/2010 3:32 PM, Thomas Jollans wrote:
On 07/25/2010 09:19 PM, Edward Diener wrote:
On 7/25/2010 10:03 AM, Thomas Jollans wrote:
On 07/25/2010 02:46 PM, Edward Diener wrote:
The problem with this is that you forget that a script can invoke Python
internally. So whether one uses the
On 7/25/2010 10:31 AM, News123 wrote:
On 07/25/2010 02:46 PM, Edward Diener wrote:
On 7/25/2010 6:07 AM, Gelonida wrote:
There the windows solution could be something like a small 'pystarter'
program, which would decide depending on the file's location / the
file's fir
On 7/25/2010 10:03 AM, Thomas Jollans wrote:
On 07/25/2010 02:46 PM, Edward Diener wrote:
The problem with this is that you forget that a script can invoke Python
internally. So whether one uses the console or file association method
of invoking Python externally, any already written script can
On 7/25/2010 1:51 PM, Joel Goldstick wrote:
Edward Diener wrote:
Are there any documents about multiple versionsof Python coexisting in
the same OS ( Windows in my case ) and what pitfalls to look out for ?
I have already run into a number of them. I installed Python 2.7 and
3.1.2 into
On 7/25/2010 2:20 AM, Steven D'Aprano wrote:
On Sat, 24 Jul 2010 22:03:48 -0700, Chris Rebert wrote:
Are the .py and .pyc extensions the only ones which are associated with
Python or are there others, for a normal Python installation in Windows
?
There's also .pyw
Also .pyo
.py = Python so
On 7/25/2010 6:07 AM, Gelonida wrote:
Hi Edward,
On 07/25/2010 04:40 AM, Edward Diener wrote:
I found the solutions too exotic for actual use, and completely
ineffectual for the cases I originally cited. The people in that thread
seem to have completely forgotten that Python can be invoked
On 7/24/2010 6:25 AM, Mark Lawrence wrote:
On 24/07/2010 04:17, Edward Diener wrote:
Are there any documents about multiple versionsof Python coexisting in
the same OS ( Windows in my case ) and what pitfalls to look out for ? I
have already run into a number of them. I installed Python 2.7 and
On 7/24/2010 6:25 AM, Mark Lawrence wrote:
On 24/07/2010 04:17, Edward Diener wrote:
Are there any documents about multiple versionsof Python coexisting in
the same OS ( Windows in my case ) and what pitfalls to look out for ? I
have already run into a number of them. I installed Python 2.7 and
Are there any documents about multiple versionsof Python coexisting in
the same OS ( Windows in my case ) and what pitfalls to look out for ? I
have already run into a number of them. I installed Python 2.7 and 3.1.2
into completely folders, but immediately ran into serious problems
executing a
On 7/19/2010 5:45 PM, Edward Diener wrote:
On 7/19/2010 9:15 AM, Alf P. Steinbach /Usenet wrote:
* Edward Diener, on 19.07.2010 14:53:
In Windows Vista x64 I have installed python 2.6 64-bit version and
python 3.1 64-bit version to separate folders. Within the command
interpreter I add python
On 7/19/2010 9:15 AM, Alf P. Steinbach /Usenet wrote:
* Edward Diener, on 19.07.2010 14:53:
In Windows Vista x64 I have installed python 2.6 64-bit version and
python 3.1 64-bit version to separate folders. Within the command
interpreter I add python 2.6 to the PATH.
In the command interpreter
In Windows Vista x64 I have installed python 2.6 64-bit version and
python 3.1 64-bit version to separate folders. Within the command
interpreter I add python 2.6 to the PATH.
In the command interpreter, When I type python somescript.py with an
import sys
print (sys.version)
in the script, it
In a python script a:
from xxx.yyy.zzz import aaa
fails with the message:
"ImportError: No module named xxx.yyy.zzz"
but from within the python interpreter the same line succeeds. What
would be the causes of that ?
From within the python interpreter I have looked at sys.path and
xxx.yyy.zz
Neil Hodgson wrote:
> Edward Diener:
>
>> Probably most reliable on Windows is a Windows API function, if it
>> exists, for getting the home directory, as opposed to using
>> environment variables, but I can not find any Windows API for it at
>> present.
&
Josiah Carlson wrote:
> Edward Diener wrote:
>> What is the generic operating system way of getting the home directory ?
>>
>> I am guessing it is os.path.expanduser("~"). Is there a better way or
>> an alternate way ?
>>
>> If it is as I surmi
What is the generic operating system way of getting the home directory ?
I am guessing it is os.path.expanduser("~"). Is there a better way or an
alternate way ?
If it is as I surmise, the aforementioned expanduser("~") of os.path
seems incorrect to me under Windows. The document says:
"On Win
Emma wrote:
> Successful candidates meet the following requirements:
> · A burning desire to build rock-solid apps that people will be
> unable
> to live without
I use to have a burning desire to cleverly answer questionnaires for
companies which either don't exist or, if they do, don't tell you
Kay Schluehr wrote:
> val bykoski wrote:
>> Peter Wang wrote:
>>> Edward,
>>>
>>> This isn't in response to any specific one of the 100+ posts on this
>>> thread, but I justed wanted to encourage you to continue your
>>> investigation into Python component models and maybe looking for some
>>> comm
Peter Wang wrote:
> Edward Diener wrote:
>> It looks as if traits is an attempt to create a "property" in the
>> component terminology which I originally specified. I will take a look
>> at it.
>
> Traits is frighteningly similar to the requirements that you
Fredrik Lundh wrote:
> fumanchu wrote:
>
>>> 4) Custom property and component editors: A component editor can present
>>> a property editor or an editor for an entire component which the visual
>>> design-time RAD environment can use to allow the programmer end-user of
>>> the component to set or
Kay Schluehr wrote:
> fumanchu wrote:
>
>>> 4) Custom property and component editors: A component editor can present
>>> a property editor or an editor for an entire component which the visual
>>> design-time RAD environment can use to allow the programmer end-user of
>>> the component to set or g
fumanchu wrote:
> Edward Diener No Spam wrote:
>> OK, here is my idea of what such a component model envisages as a list
>> of items. After this, unless I get some intelligent comments from people
>> who might be interested in what I envision, or something very similar
Paul Boddie wrote:
> [EMAIL PROTECTED] wrote:
>> Edward> My OP was just to query whether a component model existed for
>> Edward> Python, like JavaBeans for Java or .Net for C#, C++/CLI
>> Edward> etc.
>>
>> For those of us who've never used Java, .Net or C++/CLI, a more concrete
>> description of
Fredrik Lundh wrote:
> Edward Diener No Spam wrote:
>
>> There's no doubt that Python's excellent introspection mechanism allows
>> an outside RAD-like tool to inspect the workings of any Python object.
>> But that does not make it a component model in my o
Tim Chase wrote:
>> There's no doubt that Python's excellent introspection mechanism
>> allows an outside RAD-like tool to inspect the workings of any Python
>> object. But that does not make it a component model in my original use
>> of the term on this thread. A RAD tool needs to know what pro
Diez B. Roggisch wrote:
>> While I understand dynamic typing, I still think it is possible to
>> create attributes in a Python component model which could tell a RAD
>> tool what type the attribute will encompass for the purpose of
>> properties and events. Obviously a "name, type" tuple, among oth
Fredrik Lundh wrote:
> "Edward Diener No Spam" wrote:
>
>> A RAD IDE tool to hook up components into an application or library (
>> module in Python ) has nothing to do with terseness and everything to do
>> with ease of programming.
>
> python alread
Richard Brodie wrote:
> "Edward Diener No Spam" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>> "Thinking in Java or C++" as opposed to Python does not mean anything to me
>> as a general
>> statement. I am well aware of
Michael Sparks wrote:
> Edward Diener No Spam wrote:
>> Michael wrote:
>>> Edward Diener No Spam wrote:
>>>
>>>> Has there ever been, or is there presently anybody, in the Python
>>>> developer community who sees the same need and is working t
Fredrik Lundh wrote:
> Nick Vatamaniuc wrote:
>
>> At the same time one could claim that Python already has certain
>> policies that makes it seem as if it has a component model.
>
> every Python object surely qualifies as a component, for any non-myopic
> definition of that word, and everything
Steve Holden wrote:
> Diez B. Roggisch wrote:
> [...]
>>> Just the same, one can use IronPython to call components written in
>>> other languages. And, I believe, vice versa.
>>
>>
>> Sure, as I can do it in jython. But the key point is: can your ordinary
>> python-object be published as a componen
Diez B. Roggisch wrote:
> Paul Rubin schrieb:
>> "Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
>>> Python does not _need_ a component model just as you don't _need_ a RAD
>>> IDE tool to write Python code. The reason for having a component model
>>> or a RAD IDE tool is to avoid writing a lot of bo
Paul Rubin wrote:
> "Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
>> Python does not _need_ a component model just as you don't _need_ a RAD
>> IDE tool to write Python code. The reason for having a component model
>> or a RAD IDE tool is to avoid writing a lot of boiler plate code.
>
> It's also
Nick Vatamaniuc wrote:
> Edward Diener No Spam wrote:
>> Michael wrote:
>
> Python does not _need_ a component model just as you don't _need_ a RAD
> IDE tool to write Python code. The reason for having a component model
> or a RAD IDE tool is to avoid writing a lot of b
Michael wrote:
> Edward Diener No Spam wrote:
>
>> Has there ever been, or is there presently anybody, in the Python
>> developer community who sees the same need and is working toward that
>> goal of a common component model in Python, blessed and encouraged by
>>
goon wrote:
>> or IBM's Eclipse for Java
>
> Or Eclipse for Python using PyDev? [0]
Those are very nice features but there is no re-usable Python bean
support like there is a Java bean. That was my initial point.
--
http://mail.python.org/mailman/listinfo/python-list
Robert Kern wrote:
> Edward Diener No Spam wrote:
>
>> There's nothing wrong with Python's introspection. In fact Python's
>> facilities in this area and its support for metadata are stronger than
>> any of these other languages ! However there is no com
Chaz Ginger wrote:
> Edward Diener No Spam wrote:
>> [EMAIL PROTECTED] wrote:
>>> Edward> The definition of a component model I use below is a class
>>> which
>>> Edward> allows properties, methods, and events in a structured way
>>> which
Echo wrote:
> On 10/9/06, Edward Diener No Spam <[EMAIL PROTECTED]>
> wrote:
>> The definition of a component model I use below is a class which allows
>> properties, methods, and events in a structured way which can be
>> recognized, usually through some form of
[EMAIL PROTECTED] wrote:
> Edward> The definition of a component model I use below is a class which
> Edward> allows properties, methods, and events in a structured way which
> Edward> can be recognized, usually through some form of introspection
> Edward> outside of that class. Thi
The definition of a component model I use below is a class which allows
properties, methods, and events in a structured way which can be
recognized, usually through some form of introspection outside of that
class. This structured way allows visual tools to host components, and
allows programme
BrianS wrote:
> Hi,
>
> I'm trying to learn Python and wanted to play with Tkinter. I
> couldn't get it to work so I figured it would help if I installed the
> newest verison of Python. I downloaded the source, compiled it and
> installed it. No problem. The next time I booted my machine I the
John Ridley wrote:
* Edward Diener wrote:
I need python to be python2.3 else many utilities no longer work.
Then leave your 2.3 installation exactly as it is (so that python is a
link to python2.3) and run python2.4 where needed.
To specifically use python 2.4 to run IDLE, simply type in a shell
there
must be about 50 other packages mentioned. Which one of these
specifically use python2.3 to execute their .py scripts and which ones
just use python2.3 shared libraries is another matter which will take
much work to discover. But thanks for your suggestion nonetheless.
Edward Diener w
John Ridley wrote:
--- Edward Diener <[EMAIL PROTECTED]> wrote:
[snip]
I do not know whether this is a Python problem or a Fedora 3 problem
but
I thought I would ask here first and see if anybody else had the same
problem. I imagine the problem might exist on other Linux systems.
On my Ma
David Fraser wrote:
Edward Diener wrote:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do
a number of Linux utilities and commands, like yum, stop working
because they were dependent on the Python 2.3 installation. What
happens is that Python 2.4 replaces the /usr/bin
Marcin Stêpnicki wrote:
> Dnia Tue, 05 Apr 2005 21:21:37 +0000, Edward Diener napisal(a):
>
>> I can install Python 2.4 on the Fedora 3 Linux system, but after I
>> do a number of Linux utilities and commands, like yum, stop working
>> because they were dependent on the
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a
number of Linux utilities and commands, like yum, stop working because
they were dependent on the Python 2.3 installation. What happens is that
Python 2.4 replaces the /usr/bin/python module with the Python 2.4
version. If
Thomas Rast wrote:
> Edward Diener <[EMAIL PROTECTED]> writes:
>
>> It is a pity the Python Linux binary installations do not
>> create folders on the desktop or in the Gnome menu system with links
>> to the Python to the documentation and a readme telling me what
Jim Benson wrote:
On Sat, 2 Apr 2005, Edward Diener wrote:
What is the name of the IDLE program on Linux and where is it installed
in a normal Linux distribution ? I have installed all the Python 2.3.5
RPMs on my Fedora 3 system but I have no idea where they are installed
or what IDLE is
What is the name of the IDLE program on Linux and where is it installed
in a normal Linux distribution ? I have installed all the Python 2.3.5
RPMs on my Fedora 3 system but I have no idea where they are installed
or what IDLE is called. I lloked in the Python web pages to try to find
a list of
74 matches
Mail list logo