Hi,
On 03/09/2015 21:54, Burak Arslan wrote:
Hello,
On 09/03/15 19:54, Palpandi wrote:
Hi All,
Is there any module available in python standard library for XML binding? If
not, any other suggestions.
lxml is the right xml library to use. You can use lxml's objectify or Spyne.
I second lx
My response was meant for the list, but went to Peter by mistake. So I
repeat it with some delay:
On 09/03/2015 04:24 PM, Peter Otten wrote:
Friedrich Rentsch wrote:
On 09/03/2015 11:24 AM, Peter Otten wrote:
Friedrich Rentsch wrote:
I appreciate your identifying two mistakes. I am curious
I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission Denied
while installing Python packages such as SciPy, NumPy etc; here are the facts
that I tried but failed:
1. I have admin privileges in my machine
2. The folder where pip/easy_install copies contents have full
Over in the physics lab we have a big sign, which (translated) says:
'For windows 7, it is not enough to _be_ an admininstrator to
install packages. When opening up the command prompt you also
have to select the 'run as administrator' option.'
No windows system here to test, but maybe this is y
On Friday, September 4, 2015 at 3:07:19 PM UTC+5:30, moi...@gmail.com wrote:
> I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission
> Denied while installing Python packages such as SciPy, NumPy etc; here are
> the facts that I tried but failed:
> 1.I have admin privileges
Please help(my apologizesI got a response to this before, but I CANNOT
find it now)
Using this code:
import nltk
nltk.download('maxent_treebank_pos_tagger¹)
I get this error:
[nltk_data] Downloading package maxent_treebank_pos_tagger to
[nltk_data] /Users/dwightgoldwindex/nltk_data...
T
In a message of Fri, 04 Sep 2015 18:50:11 +0800, Dwight GoldWinde writes:
>Please help(my apologizesI got a response to this before, but I CANNOT
>find it now)
https://mail.python.org/pipermail/python-list/2015-August/695546.html
Laura
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Sep 4, 2015 at 8:11 AM, Laura Creighton wrote:
> In a message of Fri, 04 Sep 2015 18:50:11 +0800, Dwight GoldWinde writes:
>>Please helpŠ(my apologizesŠI got a response to this before, but I CANNOT
>>find it now)Š
>
> https://mail.python.org/pipermail/python-list/2015-August/695546.html
>
On 2015-09-04, Christian Gollwitzer wrote:
> Am 03.09.15 um 16:32 schrieb Heli Nix:
>
>> I have my python scripts that use several python libraries such as
>> h5py, pyside, numpy
>>
>> In Windows I have an installer that will install python locally on
>> user machine and so my program gets acc
On 04.09.2015 05:36, random...@fastmail.us wrote:
You haven't demonstrated that the RHS is affected by anything. The
sample code in the original post of this thread behaves identically if
the RHS is a simple tuple of (2, 1) [or (1, 2)] respectively. If you
have another sample that shows differe
On 4 September 2015 at 15:14, Dennis Lee Bieber wrote:
> On Fri, 4 Sep 2015 04:27:47 +0100, Mark Lawrence
> declaimed the following:
>
>
>>python3 just doesn't exist on Windows, it's always python.exe or
>
> Really?
>
> [snip]
> 09/17/2013 12:37 AM40,448 python.exe
> 09/17/20
On Thursday, September 3, 2015 at 5:20:17 PM UTC-5, Steve Burrus wrote:
> Well I hjave certainly noted more than once that pip is cont ained in Python
> 3.4. But I am having the most extreme problems with simply typing "pip" into
> my command prompt and then getting back the normal information on
On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus
wrote:
>
> Well I think that this is a Win 10 "thing" befcause using previous
versions of Windows all I had to do was to type in "pip" to get the pip
info. but now apparently it's "python -m pip". Can someone please "set me
straight" about the path I
On Thursday, September 3, 2015 at 10:12:23 PM UTC-5, Mark Lawrence wrote:
> On 04/09/2015 02:04, Steve Burrus wrote:
> > On Thursday, September 3, 2015 at 7:06:27 PM UTC-5, Mark Lawrence wrote:
> >> On 03/09/2015 23:20, Steve Burrus wrote:
> >>> Well I hjave certainly noted more than once that pip
In the cmd "echo %path%" and send us the output.
Also try to run "pip" as opposed to "python -m pip".
Nick.
On Fri, 4 Sep 2015 17:41 Steve Burrus wrote:
> On Thursday, September 3, 2015 at 10:12:23 PM UTC-5, Mark Lawrence wrote:
> > On 04/09/2015 02:04, Steve Burrus wrote:
> > > On Thursday, S
Before responding (later) I have to add something additional first:
Cause of complaints and while still exists and again and again:
When I mentioned maybe OO first than for also this reason
cause Python is a powerful language and supports procedural
and OO features and many more.
And cause a
On Fri, Sep 4, 2015 at 11:54 AM, Steve Burrus
wrote:
> I mcan assure you that the Scripts folder is in both my Users and the
System path! I even haVE the folder
"C:\Python34\lib\site-packages\django\bin" in the Path. But I still cannot
simply type out "pip" without getti ng the usual error message
On Fri, Sep 4, 2015 at 12:40 PM, Steve Burrus
wrote:
>
> "C:\Python34\Tools\Scripts>python checkpip.py
> The latest version of setuptools on PyPI is 18.2, but ensurepip has 12.0.5
> The latest version of pip on PyPI is 7.1.2, but ensurepip has 6.0.8"
>
> I ran this pythpon file, checkpip.py, and g
On Fri, Sep 4, 2015 at 12:50 PM, Steve Burrus
wrote:
>
> "Do you have pip.exe in C:\Python34\Scripts?" well I remember seeing it
in thar folder the other day but not now! D oes this mean I have to
re-install python or just pip?
Please respond to the list as well as the person you're actually talk
On 04.09.2015 18:55, t...@freenet.de wrote:
From knowing e.g Java as OO language I had no need to set
such a keyword "global" to get write access to class members.
It is true and I really dislike Java for having this. Please consider this
class MyClass:
@classmethod
def method(cls):at
Now I want reflecting the latest answers:
I think mostly everything is said.
Maybe you skip directly to my conclusion on the end.
--
Nevertheless I want grasp some points out
where I think I could give a respective answer:
"You are shifting declaration from one to another place"
I would n
On Fri, Sep 4, 2015 at 1:11 PM, wrote:
> 6- "include" script statement (extending namespace to another script, like
> PHP)
def include(filename):
exec(open(filename).read())
> Last but not least:
> Why does javascript, as sripting language too, need not such things like
> a keyword "global
On Fri, Sep 4, 2015 at 1:48 PM, Ian Kelly wrote:
> On Fri, Sep 4, 2015 at 1:11 PM, wrote:
>> 6- "include" script statement (extending namespace to another script, like
>> PHP)
>
> def include(filename):
> exec(open(filename).read())
Sorry, that doesn't work because it takes locals from the
On 04/09/2015 17:04, Steve Burrus wrote:
On Thursday, September 3, 2015 at 5:20:17 PM UTC-5, Steve Burrus wrote:
Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I
am having the most extreme problems with simply typing "pip" into my command
prompt and then
On 04/09/2015 17:44, Nick Sarbicki wrote:
In the cmd "echo %path%" and send us the output.
Also try to run "pip" as opposed to "python -m pip".
Nick.
Will you please stop top posting, it's driving me nuts, thank you.
--
My fellow Pythonistas, ask not what our language can do for you, ask
wh
Hi,
I'm using Python to parse out metrics from logfiles, and ship them off to a
database called InfluxDB, using their Python driver
(https://github.com/influxdb/influxdb-python).
With InfluxDB, it's more efficient if you pack in more points into each message.
Hence, I'm using the grouper() re
> To me, marking a variable as global in a large number of functions is
> a code smell that indicates that you're probably overusing globals.
> Lua is an example of a language that takes the opposite approach: in
> Lua, every variable is global unless you explicitly mark it as local.
> Lua is a fin
On Sat, Sep 5, 2015 at 5:11 AM, wrote:
> 1. optional keyword "global" (if technical possible)
As we've been saying in this thread, the problem isn't the
technicalities of implementation, but the ambiguity of syntax. To
eliminate the global statement, you need to either (a) declare all
your globa
On 05/09/15 01:47, Cody Piersall wrote:
> > On Fri, Sep 4, 2015 at 12:22 PM, Steve Burrus
> mailto:steveburru...@gmail.com>> wrote:
>
<..>
> >> "echo %path%
> >>
> >> C:\Python34;C:\Python34\python.exe;C:\Python34\Scripts;
It's a long time since I last used Windoze in anger, but that second
path e
On 2015-09-05 01:35, Rob Hills wrote:
On 05/09/15 01:47, Cody Piersall wrote:
> On Fri, Sep 4, 2015 at 12:22 PM, Steve Burrus
mailto:steveburru...@gmail.com>> wrote:
<..>
>> "echo %path%
>>
>> C:\Python34;C:\Python34\python.exe;C:\Python34\Scripts;
It's a long time since I last used Windoze
On 09/04/2015 06:27 PM, Chris Angelico wrote:
> If you want the first one, well, there are languages like that, and
> you're welcome to use those. For the latter, it's easy enough to do
> something like this:
>
> import types
> _g = types.SimpleNamespace()
>
> def accumulate(x):
> _g.accum +=
On Sat, Sep 5, 2015 at 11:42 AM, Michael Torrie wrote:
> On 09/04/2015 06:27 PM, Chris Angelico wrote:
>> If you want the first one, well, there are languages like that, and
>> you're welcome to use those. For the latter, it's easy enough to do
>> something like this:
>>
>> import types
>> _g = ty
On 05/09/15 08:55, MRAB wrote:
> On 2015-09-05 01:35, Rob Hills wrote:
>> On 05/09/15 01:47, Cody Piersall wrote:
>>> > On Fri, Sep 4, 2015 at 12:22 PM, Steve Burrus
>>> mailto:steveburru...@gmail.com>> wrote:
>>>
>> <..>
>>> >> "echo %path%
>>> >>
>>> >> C:\Python34;C:\Python34\python.exe;C:\Pytho
On Thursday, September 3, 2015 at 10:37:04 AM UTC+5:30, Phuong Phan wrote:
> Hi Python community,
Hi Phuong Phan
> I am new to Python and currently taking one online course of computer science
> and programming using Python. I really like Python because it is simple and
> clarity but powerful t
On Friday, September 4, 2015 at 9:20:14 PM UTC-5, Rob Hills wrote:
> On 05/09/15 08:55, MRAB wrote:
> > On 2015-09-05 01:35, Rob Hills wrote:
> >> On 05/09/15 01:47, Cody Piersall wrote:
> >>> > On Fri, Sep 4, 2015 at 12:22 PM, Steve Burrus
> >>> mailto:steveburru...@gmail.com>> wrote:
> >>>
> >> <
On Saturday, September 5, 2015 at 7:24:47 AM UTC+5:30, Chris Angelico wrote:
> Indeed. The key to being a good programmer is not "write your code
> despite the language you're using", but "write the code in the
> language you're using".
>
A thought experiment for you Chris!
Here's mergesort writ
On Sat, Sep 5, 2015 at 1:18 PM, Rustom Mody wrote:
> Now the thought experiment:
>
> For some reason you need to code in C#
> [You need to do this part of the experiment honestly!!]
>
> Would you write the C# code?
> Or would you write the python-ish code in C# ?
As I'm not familiar with C#, I'd
On Fri, Sep 4, 2015 at 11:35 AM, Steve Burrus wrote:
>
> "C:\Users\SteveB>py -m pip
> Job information querying failed
You're using build 10074, an old build of Windows 10 that had a buggy
Job object API. This was fixed in build 10159:
http://bugs.python.org/issue24127
FYI, the py launcher runs
On Fri, Sep 4, 2015 at 5:10 PM, Steve Burrus wrote:
> so what is my hopefully sinple solution anyway? i do n't see myself anytime
> soon getting off of Build 10074 of Win 10.
Script wrappers such as pip.exe are simple versions of the py launcher
that execute an embedded script. For example, here'
Well actually pip [at least a foolder called pip] is in the
"C:\lib\site-packages" folder but not in any Scripts folder. Should it be
in the Scripts folder?
On Fri, Sep 4, 2015 at 1:03 PM, Cody Piersall
wrote:
>
>
> On Fri, Sep 4, 2015 at 12:50 PM, Steve Burrus
> wrote:
> >
> > "Do you have pip
*so what is my hopefully sinple solution anyway? i do n't see myself
anytime soon getting off of Build 10074 of Win 10. i don't have pip in the
Scripts folder where I was told it should be. I was thinking of doing a
complete disinstall/reinstall of Python 3.4 to see if that helps. *
*On Fri, Sep
On Fri, Sep 4, 2015 at 10:07 PM, Steve Burrus wrote:
> well everyone there must be sometjhing about upgrading Python up to version
> 3.5 rc
> because everything works just fine now, beyond my wildest dreams! I am even
> able
> now to type in "pip" and get the usual info. on it and I have connect
42 matches
Mail list logo