Is there a specific location where user defined modules need to be kept?
If not, do we need to specify search location so that Python interpreter can
find it?
Also, when does Python interpreter compile the module code?
When it is imported?
--
https://mail.python.org/mailman/listinfo/python-list
On 6/4/18 12:34 PM, Peter Pearson wrote:
> On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer wrote:
> [snip]
>> On 2018-06-03 13:57:26 +1000, Ben Finney wrote:
>>> (For good reasons, attachments are dropped when messages are distributed
>>> on the forum.)
>> By "the forum" you mean Gmane? (I got
Oops, I hit "reply" instead of "reply-list" last time. Trying again...
On 06/03/2018 02:01 PM, Christian Gollwitzer wrote:
Am 03.06.18 um 21:54 schrieb Jim Lee:> import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cb = ttk.Combobox(root)
cb.grid(row=0, column=0, sticky='NSEW')
cb['va
"Peter J. Holzer" writes:
> So we have determined that "the forum" is not the mailing list and not
> the newsgroup (Jach's message appeared on both with the attachment).
By “the forum” I don't mean any specific server to the exclusion of
others. I mean the aggregate forum in which we are having
On Sat, Jun 2, 2018 at 11:28 AM, Chris Angelico wrote:
>
> I also can't find anything about path names there. What does POSIX say
> about the concept of relative paths? Does Windows comply with that?
Certainly Windows file-system paths are not POSIX compatible. Seven
path types are supported:
*
I am trying to dynamically add a site-package to a script that is run as a cron
job. The method adduseristepackages does not seem to do anything.
import sys
import site
print('-')print(site.getusersitepackages())
print('add',
site.addusersitepackages('/home/erik/.local/l
On 2018-06-04 22:59:52 +0200, Peter Otten wrote:
> Peter J. Holzer wrote:
> > On 2018-06-04 16:34:08 +, Peter Pearson wrote:
> >> On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer
> >> wrote:
> >> > On 2018-06-03 13:57:26 +1000, Ben Finney wrote:
> >> >> (For good reasons, attachments are dro
Peter J. Holzer wrote:
> On 2018-06-04 16:34:08 +, Peter Pearson wrote:
>> On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer
>> wrote:
>> > On 2018-06-03 13:57:26 +1000, Ben Finney wrote:
>> >> (For good reasons, attachments are dropped when messages are
>> >> distributed on the forum.)
>> >
On 2018-06-04 16:34:08 +, Peter Pearson wrote:
> On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer wrote:
> > On 2018-06-03 13:57:26 +1000, Ben Finney wrote:
> >> (For good reasons, attachments are dropped when messages are distributed
> >> on the forum.)
> >
> > By "the forum" you mean Gmane
On 2018-06-04 13:23:59 +, Steven D'Aprano wrote:
> On Mon, 04 Jun 2018 13:33:28 +0100, Paul Moore wrote:
> > But there's also the question of what capability the kernel API has to
> > express the queries. The fact that the Unix API (and the Windows one, in
> > most cases - although as Eryk Sun
On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer wrote:
[snip]
> On 2018-06-03 13:57:26 +1000, Ben Finney wrote:
>> (For good reasons, attachments are dropped when messages are distributed
>> on the forum.)
>
> By "the forum" you mean Gmane? (I got the attachment over the mailing
> list)
Comp.l
On 2018-06-03, Gregory Ewing wrote:
> Steven D'Aprano wrote:
>> Do you really mean to say that a computer that won't boot is POSIX
>> compliant?
>
> No, I was pointing out the absurdity of saying that the Windows
> kernel layer is POSIX compliant, which is what the post I was
> replying to seemed
On Mon, Jun 4, 2018 at 11:54 PM, Dan Strohl wrote:
>> >
>> No-one is saying a method is *worse* than a standalone function - they are
>> just saying it's *not sufficiently better* to justify creating a string
>> method that
>> replicates an existing stdlib function.
>>
>
> What about performance?
On Jun 3, 2018 10:12 AM, wrote:
>
> i am saran. i want to learn python programming.
Welcome. In future please use the python tutor email list - it is there to
provide guidance. Go to the python. Org website - look for tutorials.
That's the best place to start.
--
https://mail.python.org/mailman/
> >
> No-one is saying a method is *worse* than a standalone function - they are
> just saying it's *not sufficiently better* to justify creating a string
> method that
> replicates an existing stdlib function.
>
What about performance? I would expect a string method to perform better than
a
On Mon, 04 Jun 2018 13:33:28 +0100, Paul Moore wrote:
> But there's also the question of what capability the kernel API has to
> express the queries. The fact that the Unix API (and the Windows one, in
> most cases - although as Eryk Sun pointed out there are exceptions in
> the Windows kernel API
At last year’s event, we had a professional conference photographer,
Alessia Peviani, from our community, help us cover the event in
pictures.
https://ep2017.europython.eu/en/europython/photos/
This year she unfortunately cannot attend, so we’re looking for help
from other photographer
On 4 June 2018 at 13:01, Steven D'Aprano
wrote:
>> Turns out that this is a limitation on Windows as well. The \0 is not
>> allowed for Windows, macOS and Posix.
>
> We -- all of us, including myself -- have been terribly careless all
> through this discussion. The fact is, this should not be an
Barry Scott :
> os.path.exists() is not special and I don't think should be be changed.
You are right that os.path.exists() might be logically tied to other
os.* facilities. The question is, should the application be cognizant of
the seam between the standard library and the operating system kerne
On Mon, 04 Jun 2018 11:16:21 +0100, Barry Scott wrote:
[...]
> Turns out that this is a limitation on Windows as well. The \0 is not
> allowed for Windows, macOS and Posix.
We -- all of us, including myself -- have been terribly careless all
through this discussion. The fact is, this should not
> On 1 Jun 2018, at 14:23, Paul Moore wrote:
>
> On 1 June 2018 at 13:15, Barry Scott wrote:
>> I think the reason for the \0 check is that if the string is passed to the
>> operating system with the \0 you can get surprising results.
>>
>> If \0 was not checked for you would be able to get
On 2018-06-03 16:36:12 -0700, bellcanada...@gmail.com wrote:
> On Tuesday, 22 May 2018 17:23:55 UTC-4, Peter J. Holzer wrote:
> > On 2018-05-20 15:43:54 +0200, Karsten Hilbert wrote:
> > > On Sun, May 20, 2018 at 04:59:12AM -0700, bellcanada...@gmail.com wrote:
> > > > thank you for the reply, but
Yup, that is correct! Thanks. :-)
Etienne
Le 2018-06-03 à 07:39, Jason Madden a écrit :
You appear to have mismatched versions of ZEO on the client and server, 5.2 on
one side and 5.1.0 on the other. Both need to be 5.2.
On Jun 3, 2018, at 06:35, Etienne Robillard wrote:
Hi,
Any ideas wh
23 matches
Mail list logo