Re: portable python

2017-04-28 Thread Terry Reedy
On 4/28/2017 1:01 PM, allen wade wrote: is there a way to install python on a thumb drive Check http://portablepython.com/ that does not require an administrator's password? I have to use public computers and store all my applications to the thumb drive, using the Portable Apps Platform to

Re: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Terry Reedy
On 4/28/2017 9:01 AM, eryk sun wrote: On Fri, Apr 28, 2017 at 12:32 PM, Yip, Kin wrote: Traceback (most recent call last): File "c:\Program Files\Python36\lib\idlelib\pyshell.py", line 4, in from tkinter import * File "C:\Users\kinyip\Desktop\Python Codes\tkinter.py", line 1, in

portable python

2017-04-28 Thread allen wade
is there a way to install python on a thumb drive that does not require an administrator's password? I have to use public computers and store all my applications to the thumb drive, using the Portable Apps Platform to manage the applications. -- https://mail.python.org/mailman/listinfo/python-lis

Fwd: Bigotry (you win, I give up)

2017-04-28 Thread justin walters
On Thu, Apr 27, 2017 at 9:52 PM, Mike Reveile wrote: > I can measure a Pineapple... by weight, volume, color, taste, smell, > ripeness... but none of these numbers are the pineapple. They only help me > relate to the pineapple. In this way Math itself (and the entire realm of > computer science)

RE: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Yip, Kin
Hi Erky and Peter, Thanks for the explanations. Next time, I'd try to treat the "traceback" more seriously :-) I've learnt the difference between python.exe and python.exe and to be more carefully with my code names :-( Kin -Original Message- From: eryk sun [mailto:eryk...@gmail.

Re: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Peter Otten
Stefan Ram wrote: > Peter Otten <__pete...@web.de> writes: >>one of the modules in Python's standard library IDLE will try to run with >>your module rather than the one it actually needs. Common candidates are >>code.py or string.py, but there are many more. > > I know this from Java: > > Wh

py-backwards - Python to python compiler that allows you to use Python 3.6 features in older versions.

2017-04-28 Thread breamoreboy
Hi folks, I've no idea if you could be interested in this beastie https://github.com/nvbn/py-backwards but if you don't know about it, you can't be :) Kindest regards. Mark Lawrence. -- https://mail.python.org/mailman/listinfo/python-list

Re: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread eryk sun
On Fri, Apr 28, 2017 at 12:32 PM, Yip, Kin wrote: > Traceback (most recent call last): > File "c:\Program Files\Python36\lib\idlelib\pyshell.py", line 4, in > from tkinter import * > File "C:\Users\kinyip\Desktop\Python Codes\tkinter.py", line 1, in > from turtle import * > File "c

Re: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Peter Otten
Yip, Kin wrote: > I'm relatively new with Python3 in Windows 7. I'm using now Python 3.6.1. > > Suddenly right-clicking on a .py file and choose "Edit with IDLE" just > doesn't work. > > I've tried to do : > > "c:\program files\python36\pythonw.exe" -m idlelibmypythoncodes.py > > > th

RE: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Yip, Kin
Hi, I've finally known why By chance, I went to the installation directory : C:\Program Files\Python36\Lib\tkinter to check on files. I did "EDIT with IDLE" on any files there. It all works ! Then, I went back to my directory where I put all my personal .py codes. It didn't work t

RE: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Yip, Kin
Hi Eryk, If I do: "c:\Program Files\Python36\python.exe" -m idlelib beersong.py I see the following : === Traceback (most recent call last): File "c:\Program Files\Python36\lib\idlelib\pyshell.py", line 4, in from tkinter import * File "C:\Users\kinyip\Desktop\Pyth

Re: "Edit with IDLE" doesn't work any more ?

2017-04-28 Thread eryk sun
On Fri, Apr 28, 2017 at 12:04 PM, Yip, Kin wrote: > > I've tried to do : > > "c:\program files\python36\pythonw.exe" -m idlelibmypythoncodes.py Change this to use "python.exe" and run it from a command prompt. This way you can see the traceback if an exception is raised. -- https://mail.py

"Edit with IDLE" doesn't work any more ?

2017-04-28 Thread Yip, Kin
Hi, I'm relatively new with Python3 in Windows 7. I'm using now Python 3.6.1. Suddenly right-clicking on a .py file and choose "Edit with IDLE" just doesn't work. I've tried to do : "c:\program files\python36\pythonw.exe" -m idlelibmypythoncodes.py the IDLE editor just doesn't come u

Re: Thread getting stuck\hang

2017-04-28 Thread Iranna Mathapati
Hi Dennis, Two threads(_st and _dy targets) sharing the same user define function at the same time...This is the reason for hang/stuck? in both the thread ,we are calling same user define function (itgen_explorer.startTrafficFlows) and greping the values from return function ,using it in main fu

Re: Thread getting stuck\hang

2017-04-28 Thread Iranna Mathapati
Hi Dennis, Two threads(_st and _dy targets) sharing the same user define function at the same time...This is the reason for hang/stuck? in both the thread ,we are calling same user define function (itgen_explorer.startTrafficFlows) and greping the values from return function ,using it in main fu

Re: Thread getting stuck\hang

2017-04-28 Thread Iranna Mathapati
Thanks Dennis, On Fri, Apr 28, 2017 at 5:06 AM, Dennis Lee Bieber wrote: > On Thu, 27 Apr 2017 22:16:06 +0530, Iranna Mathapati > declaimed the following: > > >Hi Dennis, > > > >all function arguments declare as global and pass it to the function. > > > >All three thread is completed the execut