There is a familiar chance Pdf to Doc wasn't going to take off as long as
don't be an idiot and use this pdf to docx converter. I expect this was a
bad hypothesis, but you really have to open your mind. While Pdf to Doc is
used in those situations, it was shown that Pdf to Doc can provide more
reli
On Wed, Dec 24, 2014 at 1:34 PM, Rustom Mody wrote:
> +1 for the slice in succinct form
Not only more succinct but also more correct. The purpose of islice is to
slice arbitrary iterables as opposed to just sequences. But this function
requires a reentrant iterable anyway and returns garbage if y
Dave Tian wrote:
A: a = ‘h’
> B: b = ‘hh’
According to me understanding, A should be faster as characters would
shortcut this 1-byte string ‘h’ without malloc;
It sounds like you're expecting characters to be stored
"unboxed" like in Java.
That's not the way Python works. Objects are used
On Wed, Dec 24, 2014, at 09:09, Chris Cioffi wrote:
> PS: For those who are curious, the 2 issues that seemed to hold things
> up the most are non-Unix systems (Windows) and how to handle when there
> is no home directory. Posix only says that the results are undefined.
What did they end up do
On 2014-12-25 08:23, Chris Angelico wrote:
>> On 2014-12-24 11:42, Ethan Furman wrote:
>>> According to the docs [1] these functions should be available as
>>> of 2.6, yet they are missing on a 2.7, 3.2, and 3.4 install
>>> (ubuntu 12.10 and 14.04)
>
> http://bugs.python.org/issue7479
Indeed it d
On 12/24/2014 01:23 PM, Chris Angelico wrote:
On Thu, Dec 25, 2014 at 7:22 AM, Tim Chase wrote:
On 2014-12-24 11:42, Ethan Furman wrote:
According to the docs [1] these functions should be available as of
2.6, yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu
12.10 and 14.04)
Confir
On 12/24/14 2:42 PM, Ethan Furman wrote:
According to the docs [1] these functions should be available as of 2.6,
yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu 12.10 and
14.04)
Any ideas why?
In the Python source, I see this
(https://hg.python.org/cpython/file/c5603b77df68/pycon
On Thu, Dec 25, 2014 at 7:22 AM, Tim Chase
wrote:
> On 2014-12-24 11:42, Ethan Furman wrote:
>> According to the docs [1] these functions should be available as of
>> 2.6, yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu
>> 12.10 and 14.04)
>
> Confirming the same absence of os.lchmod a
On Wednesday, December 24, 2014 8:42:32 PM UTC+5:30, Vito De Tullio wrote:
> Seb wrote:
>
> def n_grams(a, n):
> > ... z = (islice(a, i, None) for i in range(n))
> > ... return zip(*z)
> > ...
> >
> > I'm impressed at how succinctly this islice helps to build a list of
> > tuples wit
On 2014-12-24 11:42, Ethan Furman wrote:
> According to the docs [1] these functions should be available as of
> 2.6, yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu
> 12.10 and 14.04)
Confirming the same absence of os.lchmod and os.lchflags in 2.7 and
3.2 on Debian Stable.
tim@laptop
Terry Reedy writes:
> On 12/23/2014 4:25 PM, Ben Finney wrote:
> > To be clear: there's nothing about parentheses that produce a
> > generator expression.
>
> Incorrect; parentheses *are* as a part of 'generator expression'.
> From the doc:
> generator_expression ::= "(" expression comp_for ")"
According to the docs [1] these functions should be available as of 2.6,
yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu 12.10 and 14.04)
Any ideas why?
--
~Ethan~
[1] https://docs.python.org/2/library/os.html#os.lchmod
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Dec 24, 2014 at 4:22 AM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> What happens here is that you time a piece of code to:
>
> - Build a large list containing 100 million individual int objects. Each
int
> object has to be allocated at run time, as does the list. Each
yes very clear.
thnk you for your help
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, December 24, 2014 8:53:54 PM UTC+5:30, shawool wrote:
> I was unable to find an option to disable HTML mode.
> Thanks for letting me know how to enable plain text mode.
> I just followed the steps and hopefully this message is in plain text format.
Your headers show
Content-Type: t
I was unable to find an option to disable HTML mode.
Thanks for letting me know how to enable plain text mode.
I just followed the steps and hopefully this message is in plain text format.
Regards,
Shawool
On Wed, Dec 24, 2014 at 5:51 PM, Rustom Mody wrote:
> On Tuesday, December 23, 2014 6:30:
Seb wrote:
def n_grams(a, n):
> ... z = (islice(a, i, None) for i in range(n))
> ... return zip(*z)
> ...
>
> I'm impressed at how succinctly this islice helps to build a list of
> tuples with indices for all the required windows.
If you want it succinctly, there is this variation o
That's what I thought as well. Then I found https://bugs.python.org/issue19776
and it looks like this is a well known issue. Hopefully the patches are
working and will be accepted in the next release or so.
Given how often os.path.expanduser() is needed, I'm a little surprised that the
path
>>> p.resolve()
...
FileNotFoundError: [Errno 2] No such file or directory: '/Users/chris/~'
I've not used the pathlib module yet, but poked through the
documentation. Oddly enough, I saw no mention of "~". The doc for the
resolve method only mentions resolving symlinks. In addition, the
pathlib d
On 12/23/14 8:28 PM, Dave Tian wrote:
Hi,
There are 2 statements:
A: a = ‘h’
B: b = ‘hh’
According to me understanding, A should be faster as characters would shortcut
this 1-byte string ‘h’ without malloc; B should be slower than A as characters
does not work for 2-byte string ‘hh’, which tr
On 12/23/2014 08:28 PM, Dave Tian wrote:
Hi,
Hi, please do some things when you post new questions:
1) identify your Python version. In this case it makes a big
difference, as in Python 2.x, the range function is the only thing that
takes any noticeable time in this code.
2) when posting
On Tuesday, December 23, 2014 6:30:30 PM UTC+5:30, shawool wrote:
> Thank you for answering my query.
>
> Fonts and colors are reset to defaults now. Sorry for the inconvenience
> caused.
>
> Regards,
> Shawool
Sorry for the peevishness
Are you using gmail?
If so when you compose a message
The
On Tue, 23 Dec 2014 16:20:10 +, Grant Edwards wrote:
> On 2014-12-23, Steven D'Aprano
> wrote:
>> Chris Angelico wrote:
>>
>>> On Tue, Dec 23, 2014 at 12:15 AM, Roy Smith wrote:
If I really didn't trust something, I'd go to AWS and spin up one of
their free-tier micro instances and
The EuroPython Society (EPS) is happy to announce that we have decided
to accept the proposal from the on-site team ACPySS
(http://www.pyss.org/) in Spain to hold EuroPython 2015 in Bilbao,
Spain. The decision was made in Monday’s EPS board meeting.
We are extremely happy to have received the prop
On Wed, 24 Dec 2014 13:23:34 +1100, Steven D'Aprano wrote:
> alister wrote:
>
>> for the same reason a pet hate of mine is a memo sent as an attached
>> document when it could simply have been the body of the text.
>
> And then the attached document (a Word doc, naturally) simply says
> "Please
Dave Tian wrote:
> Hi,
>
> There are 2 statements:
> A: a = ‘h’
> B: b = ‘hh’
>
> According to me understanding, A should be faster as characters would
> shortcut this 1-byte string ‘h’ without malloc; B should be slower than A
> as characters does not work for 2-byte string ‘hh’, which triggers
On Wed, Dec 24, 2014 at 7:49 PM, wrote:
> Thank for your answer Chris.
> I'm a newbie and I just start to learn what is a class and attributes. But
> when I read your tex I restart the shell and I create a new object and it
> works.
> Your message helps me and I think I create the object tab w
Le dimanche 21 décembre 2014 12:31:50 UTC, Burak Arslan a écrit :
> On 12/19/14 12:45, brice DORA wrote:
> > i have already my python file which contains all methods of my web service.
> > so do you give a example or tell me how i can do it...
>
> No, all you need is there in that example.
>
> Y
I created a web service with python tornado framework. I can test it via SoapUI
and everything works now my challenge is to be able to deploy in itself and I
do not know the procedures or at least the lib that can make this task much
aisée..je works with python 2.7
thank you in advance for your
Thank for your answer Chris.
I'm a newbie and I just start to learn what is a class and attributes. But
when I read your tex I restart the shell and I create a new object and it works.
Your message helps me and I think I create the object tab with self surface and
then I modified my TableauNoir
On 12/22/2014 07:04 PM, sohcahto...@gmail.com wrote:
def test(t):
... print(t)
... test(t+1)
...
test(1)
1
2
3
4
998
999
Traceback (most recent call last):
File "", line 1, in
File "", line 3, in test
File "", line 3, in test
File "", line 3, in test
File "", line 3,
Hi,
There are 2 statements:
A: a = ‘h’
B: b = ‘hh’
According to me understanding, A should be faster as characters would shortcut
this 1-byte string ‘h’ without malloc; B should be slower than A as characters
does not work for 2-byte string ‘hh’, which triggers the malloc. However, when
I put
32 matches
Mail list logo