On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence wrote:
> On 25/05/2014 09:17, bookaa bookaa wrote:
>>
>> Maybe I will work on Python 3 later.
>>
>
> That's good to know, it'll save me wasting my time looking at it now.
This seems like an unnecessarily harsh way of putting it, Mark. Could
you be le
2014.05.25. 23:49 keltezéssel, Terry Reedy írta:
On 5/25/2014 1:40 PM, Nagy László Zsolt wrote:
>>> import win32service
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed: The specified module could not be found
I have no problem loading the same module wi
Hi Steven,
did you get the module to parse the sdf file?
regards,
pankaj
--
https://mail.python.org/mailman/listinfo/python-list
Nagy László Zsolt writes:
> This might be a silly question. Documentation of os.stat:
>
> > The exact meaning and resolution of the st_atime, st_mtime, and
> > st_ctime attributes depend on the operating system and the file
> > system. For example, on Windows systems using the FAT or FAT32 file
>
bookaa bookaa writes:
> Generally, people consider Python as a script language.
Count me as one who does not. Python is a general-purpose language.
> It has high development efficiency
True.
> but run too slowly
Which Python implementation are you talking about? Run time is not a
property of
Roy Smith writes:
> Stefan Behnel wrote:
>
> > And I don't really see why you would consider fabric a dependency
> > that keeps you from switching to Py3. In many cases, you can just
> > keep running it in Py2 as you did before.
>
> In theory, that's possible. In practice, it would mean having t
On 25May2014 13:47, Nagy László Zsolt wrote:
This might be a silly question. Documentation of os.stat:
The exact meaning and resolution of the st_atime, st_mtime, and
st_ctime attributes depend on the operating system and the file
system. For example, on Windows systems using the FAT or FAT32
On 25May2014 15:55, Deb Wyatt wrote:
I am confused about how various built-in functions are called. Some are
called with dot notation
each_item.isalpha()
and some are called like 'normal'
sum(numlist)
How do you know/remember which way to call them?
Documentation.
However, some context:
On 5/25/14 10:09 PM, Dave Angel wrote:
Ned Batchelder Wrote in message:
On 5/25/14 8:55 AM, Igor Korot wrote:
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value) in my_dict:
#Do s
On 5/25/14 7:55 PM, Deb Wyatt wrote:
I am confused about how various built-in functions are called. Some are
called with dot notation
each_item.isalpha()
and some are called like 'normal'
sum(numlist)
How do you know/remember which way to call them?
TIA,
Deb in WA, USA
It can be confusing
Ned Batchelder Wrote in message:
> On 5/25/14 8:55 AM, Igor Korot wrote:
>> Hi, ALL,
>> I have a following data structure:
>>
>> my_dict[(var1,var2,var3)] = None
>> my_dict[(var4,var5,var6)] = 'abc'
>>
>> What I'm trying to do is this:
>>
>> for (key,value) in my_dict:
>> #Do some stuff
>>
>>
On Sunday 25 May 2014 18:22:11 Dennis Lee Bieber did opine
And Gene did reply:
> On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman
>
> declaimed the following:
> >On 05/25/2014 10:38 AM, Rustom Mody wrote:
> >> Your unicode is mojibaked Ethan! Voilï؟½.
> >> You are hereby banished to a lonely isl
I am confused about how various built-in functions are called. Some are called with dot notationeach_item.isalpha()and some are called like 'normal'sum(numlist)How do you know/remember which way to call them?TIA,Deb in WA, USA
Free Online Photosharing - Share your photos online with your frie
On 5/25/2014 6:20 PM, Dennis Lee Bieber wrote:
the mailing
list and gmane group may have some spam filters in place but no real
moderation.
They *do* have spam, structure, and source filters. Please do not
mis-inform people that they post most anything to python-list without
consequence.
--
On 05/25/2014 03:22 PM, Dennis Lee Bieber wrote:
On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman
declaimed the following:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voilà.
You are hereby banished to a lonely island with python 1.5 and jmf for company
:D
On Mon, May 26, 2014 at 8:22 AM, Dennis Lee Bieber
wrote:
> On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman
> declaimed the following:
>
>>On 05/25/2014 10:38 AM, Rustom Mody wrote:
>>>
>>> Your unicode is mojibaked Ethan! Voil�.
>>> You are hereby banished to a lonely island with python 1.5
On 05/25/2014 10:29 AM, Tim Golden wrote:
On 25/05/2014 18:25, memilanuk wrote:
So I'm left wondering if there is someplace that people here would
recommend (for this kind of plan or others) where python isn't a second
class citizen. Really not interested (for my current uses) in a VPS. I
just
On 25/05/2014 23:22, Dennis Lee Bieber wrote:
On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman
declaimed the following:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a lonely island with python 1.5 and jmf for company
:D
1
On 5/25/2014 1:40 PM, Nagy László Zsolt wrote:
>>> import win32service
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed: The specified module could not be found
I have no problem loading the same module with Python 2.7.
So the above is with ???
Strange
On 05/25/2014 11:56 AM, Tim Chase wrote:
Thunderbird does offer the ability to change default character
encodings (Edit -> Preferences -> Display -> Formatting tab ->
Advanced...) for sending and receiving, but you have to go out of your
way to change them to something like UTF-8. On the same p
On 25/05/2014 19:34, Ethan Furman wrote:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a lonely island with python 1.5 and jmf for
company :D
1.5 I could live with. :( Surely the company would count as cruel and
unusual puni
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a lonely island with python 1.5 and jmf for company
:D
1.5 I could live with. :( Surely the company would count as cruel and
unusual punishment?
--
~Ethan~
--
https://mail.pyt
On 2014-05-25 18:17, Steven D'Aprano wrote:
> On Sun, 25 May 2014 10:38:42 -0700, Rustom Mody wrote:
> > Your unicode is mojibaked Ethan! Voil�. You are hereby
> > banished to a lonely island with python 1.5 and jmf for company :D
>
> Nope, it's you. Ethan's post is fine. He correctly quotes JM
On 05/25/2014 12:04 PM, alister wrote:
> is your apache server running as root?
> if so it probably should be corrected
One is running as chris, the others as apache:
[root@t-centos1 ~]# ps -ef|grep httpd
root 1199 1 0 08:47 ?00:00:01 /usr/sbin/httpd
chris 1293 1199 0 09:4
On Sun, 25 May 2014 10:38:42 -0700, Rustom Mody wrote:
> On Sunday, May 25, 2014 8:51:18 PM UTC+5:30, Ethan Furman wrote:
>> On 05/24/2014 11:43 PM, jmf wrote:
>> >
>> > Python and unicode: a buggy hobbyist toy. Voil�. Nothing either
>> > good or bad.
>>
>>
>> I thought this was a moderated li
In article ,
Stefan Behnel wrote:
> Ubuntu provides a (partial) Py3 port of boto.
As long as the part that's ported includes all the bits of boto we
currently need, plus all the bits of boto we haven't yet discovered we
need, but will sometime in the future, we're good :-)
> And I don't real
>>> import win32service
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed: The specified module could not be found
I have no problem loading the same module with Python 2.7.
Strange thing is that win32serviceutil.py is part of the pywin32
distribution, so I
On Sunday, May 25, 2014 8:51:18 PM UTC+5:30, Ethan Furman wrote:
> On 05/24/2014 11:43 PM, jmf wrote:
> >
> > Python and unicode: a buggy hobbyist toy.
> > Voil�. Nothing either good or bad.
>
>
> I thought this was a moderated list. What exactly are the moderators doing?
Your unicode is moj
On Sun, May 25, 2014 at 7:25 PM, memilanuk wrote:
> Right now we have a fairly basic shared hosting plan via bluehost.com,
> running WordPress for a club web site. I've looked at setting up python
> on this account, but the default is the version of python that comes
> with the OS (CentOS 5.x cur
On 25/05/2014 18:25, memilanuk wrote:
Right now we have a fairly basic shared hosting plan via bluehost.com,
running WordPress for a club web site. I've looked at setting up python
on this account, but the default is the version of python that comes
with the OS (CentOS 5.x currently). There are
Right now we have a fairly basic shared hosting plan via bluehost.com,
running WordPress for a club web site. I've looked at setting up python
on this account, but the default is the version of python that comes
with the OS (CentOS 5.x currently). There are some basic instructions
on upgrading
On Mon, May 26, 2014 at 2:01 AM, wrote:
> i want to pass the variables xx and yy to a different script called
> application. This script by calling it with import, automatically pop up a
> window. I need by clicking the button that is linked with OnB definition to
> pop up the window from the
Hi All,
I'm pleased to announce the release of testfixtures 3.1.0. This is a new
feature and bug fix release featuring the following changes:
- New RoundComparison object for comparing numbers to a given precision
- New 'unless' parameter to ShouldRaise, for situations where an
exception is
On 25/05/2014 16:21, Ethan Furman wrote:
On 05/24/2014 11:43 PM, wxjmfa...@gmail.com wrote:
Python and unicode: a buggy hobbyist toy.
Voilà. Nothing either good or bad.
I thought this was a moderated list. What exactly are the moderators
doing?
--
~Ethan~
I don't think the list is modera
My code has this structure:
class Example(wx.Frame,listmix.ColumnSorterMixin):
def __init__(self,parent):
wx.Frame.__init__(self,parent)
self.InitUI()
def InitUI(self):
. some other functions and other stuff
when a button is clicked this function is called and i take
On Mon, May 26, 2014 at 1:21 AM, Ethan Furman wrote:
> On 05/24/2014 11:43 PM, wxjmfa...@gmail.com wrote:
>>
>>
>> Python and unicode: a buggy hobbyist toy.
>> Voilà. Nothing either good or bad.
>
>
> I thought this was a moderated list. What exactly are the moderators doing?
It's not a moderate
On 05/24/2014 11:43 PM, wxjmfa...@gmail.com wrote:
Python and unicode: a buggy hobbyist toy.
Voilà. Nothing either good or bad.
I thought this was a moderated list. What exactly are the moderators doing?
--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list
Thank you very much!
--
https://mail.python.org/mailman/listinfo/python-list
LJ wrote:
> Thank you for the reply.
>
> So, as long as I access and modify the elements of, for example,
>
> A=array([[set([])]*4]*3)
>
>
> as (for example):
>
> a[0][1] = a[0][1] | set([1,2])
>
> or:
>
> a[0][1]=set([1,2])
>
> then I should have no problems?
As long as you set (i. e. re
> Unfortunately, this is buggy too. Here is a test output from a compiled
> console exe created with the above version of cx freeze:
Let Christoph know, he is very responsive and extremely helpful.
--
https://mail.python.org/mailman/listinfo/python-list
Thank you for the reply.
So, as long as I access and modify the elements of, for example,
A=array([[set([])]*4]*3)
as (for example):
a[0][1] = a[0][1] | set([1,2])
or:
a[0][1]=set([1,2])
then I should have no problems?
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, May 25, 2014 at 11:22 PM, Roy Smith wrote:
> Hint: in this case,
> it will happen on the assignment line, so, your next step is to print
> everything out and see what's going on:
>
> for thing in my_dict:
> print thing
> (key, value) = thing
Aside: I know that you (Roy) are still
On 5/25/14 8:55 AM, Igor Korot wrote:
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error "Too many values to unpack".
What am I
Anyone knows where to get a compiled cx_freeze that has already has this
patch?
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze
Unfortunately, this is buggy too. Here is a test output from a compiled
console exe created with the above version of cx freeze:
Traceback (most recent call
LJ wrote:
> Wolfgang, thank you very much for your reply.
>
> Following the example in the link, the problem appears:
>
A = [[0]*2]*3
You can see this as a shortcut for
value = 0
inner = [value, value]
A = [inner, inner, inner]
When the value is mutable (like your original set) a modific
In article ,
Igor Korot wrote:
> for (key,value) in my_dict:
> #Do some stuff
>
> but I'm getting an error "Too many values to unpack".
Several people have already given you the right answer, so I'll just
suggest a general debugging technique. Break this down into the
smallest possible
On 2014-05-25 05:59, Paul Rubin wrote:
> Igor Korot writes:
> > for (key,value) in my_dict:
> > #Do some stuff
> >
> > but I'm getting an error "Too many values to unpack".
>
> Use
> for (key,value) in mydict.iteritems(): ...
You can even use
for ((k1,k2,k3), value) in mydict.iterite
Igor Korot writes:
> for (key,value) in my_dict:
> #Do some stuff
>
> but I'm getting an error "Too many values to unpack".
Use
for (key,value) in mydict.iteritems(): ...
otherwise you loop through just the keys, whicn in your dictionary
happens to be 3-tuples. So you try to unpack a 3
> Anyone knows where to get a compiled cx_freeze that has already has this
> patch?
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze
--
https://mail.python.org/mailman/listinfo/python-list
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error "Too many values to unpack".
What am I doing wrong?
Thank you.
--
https://mail
Wolfgang, thank you very much for your reply.
Following the example in the link, the problem appears:
>>> A = [[0]*2]*3
>>> A
[[0, 0], [0, 0], [0, 0]]
>>> A[0][0] = 5
>>> A
[[5, 0], [5, 0], [5, 0]]
Now, if I use a numpy array:
>>> d=array([[0]*2]*3)
>>> d
array([[0, 0],
[0, 0],
[0
This might be a silly question. Documentation of os.stat:
The exact meaning and resolution of the st_atime, st_mtime, and
st_ctime attributes depend on the operating system and the file
system. For example, on Windows systems using the FAT or FAT32 file
systems, st_mtime has 2-second resolutio
On 25/05/2014 12:02, mm0fmf wrote:
On 25/05/2014 11:24, Mark Lawrence wrote:
On 25/05/2014 09:17, bookaa bookaa wrote:
Maybe I will work on Python 3 later.
That's good to know, it'll save me wasting my time looking at it now.
OT:
Mark, you've been pro-Python3 enough in your recent postings
On 25/05/2014 11:24, Mark Lawrence wrote:
On 25/05/2014 09:17, bookaa bookaa wrote:
Maybe I will work on Python 3 later.
That's good to know, it'll save me wasting my time looking at it now.
OT:
Mark, you've been pro-Python3 enough in your recent postings you have
forced me to act. I've ju
On 25/05/2014 09:17, bookaa bookaa wrote:
Maybe I will work on Python 3 later.
That's good to know, it'll save me wasting my time looking at it now.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is fr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 25.5.2014 10:11, Nagy László Zsolt wrote:
> Anyone knows where to get a compiled cx_freeze that has already has
> this patch?
>
> http://hg.python.org/cpython/rev/7d20e30bd540
> https://bitbucket.org/anthony_tuininga/cx_freeze/issue/81/python-34-v
On Sun, 25 May 2014 09:06:18 +0200, Chris wrote:
> On 05/20/2014 03:52 AM, Tim Chase wrote:
>> While Burak addressed your (Fast-)CGI issues, once you have a
>> test-script successfully giving you output, you can use the
>> standard-library's getpass.getuser() function to tell who your script
>> is
bookaa bookaa, 25.05.2014 10:17:
> I think the significance of Python to Go, is it give us opportunity to
> make Python project run fast.
You shouldn't make that your only goal, because you'll have a really hard
time achieving it (to put it mildly).
Stefan
--
https://mail.python.org/mailman/l
Roy Smith, 24.05.2014 01:57:
> I installed and ran caniusepython3. It tells me:
>
>> Finding and checking dependencies ...
>> [WARNING] rpclib not found
>>
>> You need 19 projects to transition to Python 3.
>> Of those 19 projects, 17 have no direct dependencies blocking their
>> transition:
>>
Hi Roy.
On 24.5.2014. 1:57, Roy Smith wrote:
You need 19 projects to transition to Python 3.
Of those 19 projects, 17 have no direct dependencies blocking their
transition:
[...snipped...]
suds
That's a big list. A few of those we could probably work around or
replace with a different m
On Sun, May 25, 2014 at 6:17 PM, bookaa bookaa wrote:
>> 1) How compatible is your Python-to-Golang converter with all the
>> nuances of Python code? Does it work perfectly on any arbitrary Python
>> script? And, what version of Python is it aimed at?
>
> I try to support all Python syntax, any ar
Anyone knows where to get a compiled cx_freeze that has already has this
patch?
http://hg.python.org/cpython/rev/7d20e30bd540
https://bitbucket.org/anthony_tuininga/cx_freeze/issue/81/python-34-venv-importlib-attributeerror
The installer on the sourceforge site still has this bug. :-( I don't
On Sunday, May 25, 2014 12:47:27 PM UTC+8, Chris Angelico wrote:
> On Sun, May 25, 2014 at 1:06 PM, bookaa wrote:
>
> > This tool can be called 'Python to GoLang', which translate Python source
> > to Golang source. And then you can compile the Go files to executable
> > binary. (btw: Go is a ne
On 05/20/2014 03:52 AM, Tim Chase wrote:
> While Burak addressed your (Fast-)CGI issues, once you have a
> test-script successfully giving you output, you can use the
> standard-library's getpass.getuser() function to tell who your script
> is running as.
LoadModule wsgi_module modules/mod_wsgi.so
My opinions about Go.
i) go build XXX that creates an exe, one can put on
a usb stick and run (distribute) it, is a feature hard
to beat.
I do not know, if it will be rendered correctly.
D:\jm\jmgo>hello3.exe
ASCII abcde xyz
Germanäöü ÄÖÜ ß
Polishąęźżńł
Russian абвгдеж эюя
CJK
On 05/20/2014 03:52 AM, Tim Chase wrote:
> While Burak addressed your (Fast-)CGI issues, once you have a
> test-script successfully giving you output, you can use the
> standard-library's getpass.getuser() function to tell who your script
> is running as.
LoadModule wsgi_module modules/mod_wsgi.so
66 matches
Mail list logo