Re: abspath returns different results when py_compile input path is different in Python?

2018-02-12 Thread lampahome
so py_compile.compile() doesn't normalize the filename, but it will pass the input filename to co_filename? 2018-02-12 19:27 GMT+08:00 eryk sun : > On Mon, Feb 12, 2018 at 9:40 AM, lampahome wrote: > > I want to know abspath of python script followed by steps below. > > > >1. *built it to by

Re: Can't Uninstall !

2018-02-12 Thread Michael F. Stemper
On 2018-02-12 11:54, Pedro Crescencio wrote: Hello, I tried to uninstall Python, but it is not possible. Even when message say it is uninstalled : The software is still on applications menu: How do I do to uninstall it ? I have the same problem with booth python versions (3.6.4 and 3.

RE: Can't Uninstall !

2018-02-12 Thread Pedro Crescencio
Hello, I tried to uninstall Python, but it is not possible. Even when message say it is uninstalled : The software is still on applications menu: How do I do to uninstall it ? I have the same problem with booth python versions (3.6.4 and 3.7.0b1) and the Sourcetree of Atl

Re: [Python-Dev] How to set/update value in a xml file using requests in python

2018-02-12 Thread Sum J
Thanks Dan for your response. I have updated the data to be sent in xml format and now I am able to update the required fields using put request. data= ''' web-proxy.xx.com 8080 on ''' On Thu, Feb 8, 2018 at 10:15 PM, Dan Stromberg wrote: > This is more relevant to python

Re: abspath returns different results when py_compile input path is different in Python?

2018-02-12 Thread eryk sun
On Mon, Feb 12, 2018 at 9:40 AM, lampahome wrote: > I want to know abspath of python script followed by steps below. > >1. *built it to byte code by py_compile.* >2. *execute it to check abspath.* > > But I got *2 results* when I execute it.I found the *results based on the > path of scrip

abspath returns different results when py_compile input path is different in Python?

2018-02-12 Thread lampahome
I want to know abspath of python script followed by steps below. 1. *built it to byte code by py_compile.* 2. *execute it to check abspath.* But I got *2 results* when I execute it.I found the *results based on the path of script* followed by py_compile. Here is my script test.py : import