be one of reviewers, please email drshishaozh...@gmail.com with
your full contact details.
Regards.
David
--
https://mail.python.org/mailman/listinfo/python-list
matter of disambiguation (null, in many languages, is not equal to
null).
--
https://mail.python.org/mailman/listinfo/python-list
On 6 August 2016 at 00:31, Chris Angelico wrote:
> On Sat, Aug 6, 2016 at 8:00 AM, Marco Sulla via Python-list
> wrote:
> This isn't slang; it's jargon
Right.
>> * `raise` instead of `throw`
>
> Quite a few other languages talk about raising exceptions rather th
On Sat, Aug 6, 2016, 10:10 AM Marco Sulla via Python-list <
python-list@python.org> wrote:
> On 6 August 2016 at 00:31, Chris Angelico wrote:
> > On Sat, Aug 6, 2016 at 8:00 AM, Marco Sulla via Python-list
> > wrote:
> >> * `dict` instead of `map`
> >
>
On 6 August 2016 at 20:03, Michael Selik wrote:
> On Sat, Aug 6, 2016, 10:10 AM Marco Sulla via Python-list
> wrote:
>>
>> On 6 August 2016 at 00:31, Chris Angelico wrote:
>> > "map" has many other meanings (most notably the action wherein you
>
ane words come out my mouth and a little
>> fairy dies.
>>
>
> You open your mouth and a fairy dies hmm. Can I offer you a breath mint?
> :)
Do you have also a plenary indulgence?
--
https://mail.python.org/mailman/listinfo/python-list
rding to
> Wolfram Alpha, the average length of words in English is 5.1 characters:
>
> http://www.wolframalpha.com/input/?i=average+english+word+length
>
> but of the ten most common words themselves, nine are of three or fewer
> characters:
>
> "the of to and a in is it you that"
And according to Wolfram Alpha, the readability of Huckleberry Finn is
5.5. I think it doesn't fit in this discussion in the same way :P
--
https://mail.python.org/mailman/listinfo/python-list
> ?column?
> --
> NULL
> (1 row)
>
> But SQL's NULL is a cross between C's NULL, IEEE's NaN, Cthulhu, and Emrakul.
Yes, I was thinking manly to SQL. That furthermore is NOT a
programming language. So I suppose I have also to ask why "None"
instead of "Null"
--
https://mail.python.org/mailman/listinfo/python-list
This may be of interest to some of you
http://www.snarky.ca/network-protocols-sans-i-o
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
t;
> That looks conveniently aligned. Can't you just slice each line to get
> the entries you are after?
>
I believe the idea is to allow the help seeker to piece the following puzzle
together.
$ nmcli -t NAME,SOMETHINGELSE c show
>>> help(subprocess.Popen)
>>>
p", "copyright", "credits" or "license" for more information.>>>
import pyhelp.change_to_current_dirCurrent directory is:/home/oneyDirectory of
this file is:/home/oney/pyhelp/change_to_current_dir.pyCurrent directory now
is:/home/oney/pyhelp>>>
HTH
--
https://mail.python.org/mailman/listinfo/python-list
/project/directory')
That is brittle though. What if the student don't all have access to that
directory? What if they fail to put the project directory in the right place?
What if the network drives are down and you end up working locally?
You could send them a zip-file of everything including my first suggestion and
it would just work.
HTH
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 2018-11-14 at 09:47 +0100, srinivasan wrote:
> -68 >= -60
It's a problem with your test of wifi strength. Good job of making informative
output and running
tests!
--
https://mail.python.org/mailman/listinfo/python-list
python syntax consider the py3 tutorial.
https://docs.python.org/3/tutorial/index.html
HTH
--
https://mail.python.org/mailman/listinfo/python-list
0 69 6e 74 28 28 73 2c 20 29 29 0a 0a |int((s,))..|
003c
dh@jenna:~/python$ python unicode.py
ä
(u'\xe4',)
dh@jenna:~/python$
--
https://mail.python.org/mailman/listinfo/python-list
e right, this wasn't the minimal example for my problem after all.
Turns out that the actual issue is somewhere between SQLAlchemy and
MySQL. I took a more specific questioon overt to stackoverflow.com
Thanks
robert
--
https://mail.python.org/mailman/listinfo/python-list
xception
HTW
--
https://mail.python.org/mailman/listinfo/python-list
oks for just that.
Given your audience "Python for Data Analysis, 2nd Edition" by Wes
McKinney would suit well. The Python tutorial should suit for basic
syntax.
HTH
--
https://mail.python.org/mailman/listinfo/python-list
/mailman/listinfo/python-list
mented. The
feature request would be to add a non-blocking option to the default open
system call.
I've also found this with some named special character files, but I don't have
a reproduction at the moment.
Thank you and have a good day!
Dan
--
https://mail.python.org/mailman/listinfo/python-list
diagnose.
That all being said, I think I would like to put in a feature request for a
non-blocking option. How should I go about doing so?
Thanks again,
Dan
-Original Message-
From: Chris Angelico
Sent: Thursday, December 27, 2018 7:10 PM
To: python-list@python.org
Subject: Re: Undocume
I am unfamiliar with pynput. I have had good experience with pyautogui. As your
script isn't yet advanced, you may consider it.
https://pyautogui.readthedocs.io/en/latest/introduction.html
--
https://mail.python.org/mailman/listinfo/python-list
On 08/10/18 20:21, Olivier Oussou via Python-list wrote:
Hi!I downloaded and installed python 3.6.4 (32-bit) on my computer but I have
problems and can not access the python interface.
I need your technical assistance to solve this matter.
Best regard!
Olivier OUSSOUMedical entomologist,
ed with exit code 1
>
> Could you help me to solve this thread?
the error message is somewhat clear. You need to add a key-value pair to
a dictionary. You may consider changing 'res' to a 'list'. You then need
to 'append'.
Either way, 'find_value' will return the filename regardless of whether
the value is present or not. That should get you started.
--
https://mail.python.org/mailman/listinfo/python-list
access, and how are you doing that ?
* Do you get error messages?
Unless you tell us what the problem is we can't possibly help.
On 08/10/18 20:21, Olivier Oussou via Python-list wrote:
Hi!I downloaded and installed python 3.6.4 (32-bit) on my computer but I have
problems and can n
ot; if verified else "Not
verified"
'Verified'
As always, your feedback is most welcome (especially bug reports [3],patches
and suggestions for improvement, or any other points via themailing
list/discussion group [4]).
Enjoy!
Cheers
Vinay SajipRed Dove Consultants Ltd.
[1] https://bitbucket.org/vinay.sajip/python-gnupg[2]
https://pypi.python.org/pypi/python-gnupg/0.4.4[3]
https://bitbucket.org/vinay.sajip/python-gnupg/issues[4]
https://groups.google.com/forum/#!forum/python-gnupg[5]
https://bitbucket.org/vinay.sajip/python-gnupg/downloads/
--
https://mail.python.org/mailman/listinfo/python-list
06d2443f2a4d5ddc9f6a5554a0322aaed99:
[Errno 111] Connection refused
Is there any way to stop Distutils from calling home?
Best regards,
Chris Narkiewicz
--
https://mail.python.org/mailman/listinfo/python-list
Is there any extra step I have to take?
Best regards,
Chris
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
On 11/02/2019 19:30, Chris Narkiewicz via Python-list wrote:
> Is there any extra step I have to take?
Ok, I'll respond to myself, as this was really silly.
Debian ships hopelessly obsolete pip 9.PEP 518 is supported in pip 10+.
Cheers,
Chris
signature.asc
Description: OpenPGP
hony.fl...@btinternet.com <mailto:anthony.fl...@btinternet.com>
*Twitter* : @TonyFlury <https://twitter.com/TonyFlury/>
--
https://mail.python.org/mailman/listinfo/python-list
nthony.fl...@btinternet.com>
*Twitter* : @TonyFlury <https://twitter.com/TonyFlury/>
--
https://mail.python.org/mailman/listinfo/python-list
hile working for me, could still be an issue for somebody else.
What do you think? Is such change feasible? I can make a patch - how to
submit it?
Best regards,
Chris Narkiewicz
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
MAC: D1050-262
Cell: 704-408.5157
kenneth.r.ad...@wellsfargo.com<mailto:kenneth.r.ad...@wellsfargo.com>
[WellsFargoLogo_w_SC]
--
https://mail.python.org/mailman/listinfo/python-list
ser choosing odd names may cause unusual problems in some cases.
--
https://mail.python.org/mailman/listinfo/python-list
d rounding to the nearest
integer towards negative infinity. Any overflow bits are truncated. '
So the equivalent would be:
>>> typeBits = FCF >> 9
Cheers
Brian
--
https://mail.python.org/mailman/listinfo/python-list
FreeCAD is written in Python. It has a python interpreter.
--
https://mail.python.org/mailman/listinfo/python-list
Centre*
Monash University
15 Innovation Walk, Building 75, Clayton Campus
Wellington Road, VIC 3800
Australia
T: +61 3 9902 0794
M: +61 3 0418 302 046
E: simon.michnow...@monash.edu
monash.edu
--
https://mail.python.org/mailman/listinfo/python-list
ou mean just the top level?
In which case you can just do fullname.rsplit(".", 1)[-1]. If you
mean "the registrable domain" (such as example.com, example.co.uk,
etc) then you will need to look at https://publicsuffix.org/
--
https://mail.python.org/mailman/listinfo/python-list
uggestions for
improvements,please give some feedback using the issue tracker! [3]
Regards,
Vinay Sajip
[1] https://pypi.org/project/distlib/0.2.9/[2]
https://distlib.readthedocs.io/en/latest/overview.html#change-log-for-distlib[3]
https://bitbucket.org/pypa/distlib/issues/new
--
https://mail.python.org/mailman/listinfo/python-list
E and LD_LIBRARY_PATH
Finally, you can use cx_Oracle.
Java? You have only to download ojdbcN.jar and add it to Maven/Gradle.
Why Python has no equivalent to JDBC?
--
https://mail.python.org/mailman/listinfo/python-list
anies uses Oracle unluckily. Oracle
and MSSQL. And I must say that surprisingly, being a Microsoft product, I
find MSSQL more simple to install than Oracle, like Postregres, and has an
easier SQL syntax. Like Postgres.
--
https://mail.python.org/mailman/listinfo/python-list
apache, or (local only) even CGIHTTPServer.py. I don't know what the
> current hotness in httpd's is though.
nginx is the current hotness. CGI has not been hotness since the mid 90s.
--
https://mail.python.org/mailman/listinfo/python-list
months or years if run exhaustively on something like a
grid search trying huge numbers of combinations.
Good luck.
Avi
-Original Message-----
From: Python-list On
Behalf Of Bob van der Poel
Sent: Thursday, May 23, 2019 2:40 PM
To: Python
Subject: More CPUs doen't equal more speed
I
far as I can tell, it's just a script to automatically upload
bits of code into various cloud providers, none of which use CGI.
--
https://mail.python.org/mailman/listinfo/python-list
On 2019-05-25, Michael Torrie wrote:
> On 05/24/2019 04:27 AM, Jon Ribbens via Python-list wrote:
>> Sorry, in what sense do you mean "Serverless is CGI"?
>>
>> As far as I can tell, it's just a script to automatically upload
>> bits of code into vari
braries. So in this particular case Python *could* be
more performant than Java. I don't know, you should do some benchmark with
different queries, different in nature, complexity and number of rows
retrieved, on the same db, accessed once with Java and once with Python.
The problem is benchmarking Java not so easy as Python. It's very boring.
--
https://mail.python.org/mailman/listinfo/python-list
mail.python.org/mailman/listinfo/python-list
.6 onwards - dicts are ordered.
There's no way to insert an item anywhere other than at the end though.
--
https://mail.python.org/mailman/listinfo/python-list
hat to choose depends on your
needs and resources.
And of course all bets are off if some of your data is Chinese,
Japanese, Hebrew, or maybe even Russian or Greek.
Sometimes I think, Why don't we all just learn Esperanto? But we all
know that that isn't going to happen.
Alan
--
https://mail.python.org/mailman/listinfo/python-list
27; will do a decent stab of it if the language is
vaguely European. Certainly, storing the UTF-8 string and also the
'unidecoded' ASCII string and searching on both is unlikely to hurt
and will often help. Additionally using Metaphone or similar will
probably also help.
--
https://mail.python.org/mailman/listinfo/python-list
iera hablar español tan bien como
usted habla inglés, estaría muy feliz. (You should have seen what that
looked like before I applied Google Translate :)
Alan
--
https://mail.python.org/mailman/listinfo/python-list
Dear Sir / Madam,
I have subscribed mailing Python-list. I have installed and used "
Python 3.7.2". I try to modify or uninstall it. Please see the attached screen
shot. Please help me how to uninstall and modify.
Best Regards.
Kyi
- Modify.jpg49kB
python-list-requ...@
/mydll/mod_sptatialite' But I got the same error.
conn.load_extension('c:\\mydll\\mod_spatialite')
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) OsError 0xc1 (193)
(Background on this error at: http://sqlalche.me/e/e3q8)
My directory contain the unzip of:
http://www.gaia-gis.it/gaia-sins/windows-bin-x86/mod_spatialite-4.3.0a-win-x86.7z
The directory is set in %PATH%
Any hint will be appreciated.
Thanks
Michael
--
https://mail.python.org/mailman/listinfo/python-list
Dear Sir/ Madam,
1. I try to modify, some of the check boxes can not be selected. 2. I
try to uninstall, "successfully uninstall" message is come out. When I exit it
"if you have any problem, please contact python-list@python.org " message is
come out. I instal
Dear Sir/ Madam,
1. I try to modify, some of the check boxes can not be selected. 2. I
try to uninstall, "successfully uninstall" message is come out. When I exit it
"if you have any problem, please contact python-list@python.org " message is
come out. I instal
immicks.
If you want to feed the command from stdin, this becomes a bit
more complicated as you need to start a subprocess and use
PIPE to feed it.
Cheers,
Chris Narkiewicz
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
min/
Nice.
Emacs (well spacemacs) is my authority.
The key sequence 'SPC i !' inserts
#!/usr/bin/env python
as specified in the insert-shebang package
https://github.com/psachin/insert-shebang
My limited experience tells me to expect the user (me) to know what
they're doing, hence env.
Why not make a compromise? What would be a potential pitfall of the
following spitbang?
#!python
--
https://mail.python.org/mailman/listinfo/python-list
od decision. Most of the conversation applies to sysadmins
concerned with answering your question in absolute terms. When you start
writing scripts which are restricted to a specific environment and are intended
to be distributed, you may revisit this thread.
Be blissful until then :). Chris et al have "fixed" things for you.
--
https://mail.python.org/mailman/listinfo/python-list
"
> >>> os.path.isdir(dummy)
>
> False
> >>> Path(dummy).is_dir()
>
> True
>
>
> or was it overlooked?
>
> with kind regards,
> -gdg
>
> -
>
> https://mail.python.org/mailm
sales and isopen:`, but it would do the wrong
thing if `no` is special syntax that reverses the sense of the `if` rather than
a normal operator that binds more tightly than `and`.
--
https://mail.python.org/mailman/listinfo/python-list
to_bytes = lambda s: s.encode('utf-8') if isinstance(s, str) else s
to_str = lambda b: b.decode('utf-8') if isinstance(b, bytes) else b
--
https://mail.python.org/mailman/listinfo/python-list
higher up in the file
you mention in order to find where it's imported:
from six.moves.urllib.parse import urlparse, unquote as _unquote
So it's 'six.moves.urllib.parse.unquote'... Look up the package 'six'
on pypi to find its documentation: https://pypi.org/project/six/
--
https://mail.python.org/mailman/listinfo/python-list
ages/python
or
https://realpython.com/python-development-visual-studio-code/
--
https://mail.python.org/mailman/listinfo/python-list
age to topic","microscope/light_sheet_microscope/UI")
client.publish("microscope/light_sheet_microscope/UI",device)
time.sleep(2) # wait
print("subscribing ")
client.subscribe("microscope/light_sheet_microscope/UI")
client.loop_stop() #stop the loop
Thanks
Spencer
--
https://mail.python.org/mailman/listinfo/python-list
e to topic","microscope/light_sheet_microscope/UI")
> client.publish("microscope/light_sheet_microscope/UI",device)
> time.sleep(2) # wait
> print("subscribing ")
> client.subscribe("microscope/light_sheet_microscope/UI")
> client.loop_stop() #stop the loop
>
> Thanks
> Spencer
--
https://mail.python.org/mailman/listinfo/python-list
oking forward to further answers.
HTH
--
https://mail.python.org/mailman/listinfo/python-list
points via themailing
list/discussion group [4]).
Enjoy!
Cheers
Vinay SajipRed Dove Consultants Ltd.
[1] https://bitbucket.org/vinay.sajip/python-gnupg[2]
https://pypi.org/project/python-gnupg/0.4.5[3]
https://bitbucket.org/vinay.sajip/python-gnupg/issues[4]
https://groups.google.com/forum/#!forum/python-gnupg[5]
https://bitbucket.org/vinay.sajip/python-gnupg/downloads/--
--
https://mail.python.org/mailman/listinfo/python-list
be entirely served by for example Apache.
If it's really that small then it sounds like what you are looking for
is known as a "text editor".
--
https://mail.python.org/mailman/listinfo/python-list
developer - as a user you just use the Liquid templating
system, which is more-or-less identical to Django's.
--
https://mail.python.org/mailman/listinfo/python-list
ot;malformed".
Just use HTML 5, and indeed you should check your code to ensure
it is pure, perfect and well-formed.
--
https://mail.python.org/mailman/listinfo/python-list
L HTML 5? Is it the
>ability
>to write websites using a text editor only what makes web companies
>continue the malformed input cycle, or is it legacy websites?
>
>-Morten
It's all text. Or do you have a better suggestion?
What is wrong with templates?
--
https://mail.python.org/mailman/listinfo/python-list
ght_sheet_microscope/UI")
def on_message(self, mqttc, userdata, message):
msg = str(message.payload.decode("utf-8"))
print("File which you want to import(with .py extension)")
print("message topic=", message.topic)
print("message qos=", message.qos)
print("message retain flag=", message.retain)
def run(self):
self.connect("broker.hivemq.com", 1883, 60)
Thanks
Spencer
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
x27;t be called.
--
https://mail.python.org/mailman/listinfo/python-list
se from such simple examples. After all, if
all the program does is process one file and shut down afterwards,
this would not be an aspect to worry about.
--
https://mail.python.org/mailman/listinfo/python-list
0x031DFC50>
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import 'atexit' #
>>>
С уважением,
АРТЁМ БОЗАДЖИ
artemiboza...@mail.ru
--
https://mail.python.org/mailman/listinfo/python-list
ram without editing the code, most of us
utilise 'the command line', eg
python3 source.py
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
== 0:
print("Connected to broker")
else:
print("Connection failed")
# mqttc.subscribe("microscope/light_sheet_microscope/UI")
def on_message(self, mqttc, userdata, message):
msg = str(message.payload.decode("utf-8"))
print("message recieved= " + msg)
# print("File which you want to import(with .py extension)")
print("message topic=", message.topic)
print("message qos=", message.qos)
print("message retain flag=", message.retain)
def run(self):
self.connect("broker.hivemq.com", 1883, 60)
Thanks.
--
https://mail.python.org/mailman/listinfo/python-list
evices.txt" as
test1,test2
Take care to read them as comma separated. Or if you have control then
write them on separate lines.
Regards.
--
Pankaj Jangid
Hi Pankaj
I dont understand so what is complete code then?
Thanks
Spencer
--
https://mail.python.org/mailman/listinfo/python-list
Pard
far?
How to identify the beginning of the sub-string to be removed?
How to identify the end of the sub-string?
How does one "remove a string" AND "kept in this format"?
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
On 5/09/19 5:12 AM, Dave via Python-list wrote:
...
My question is why, and where do I find a reliable source of information
on formatting numbers? Not interested in replacement values like '{}
{}'.format(1, 2).
Agreed: there's ton(ne)s of information 'out there&
picked-out of the sets of files
(easy tests - for *only* those small section of the code!), or that the
logic linking the key-words is faulty (another *small* test, easily
coded - and at first fed with 'fake' key-words which prove the various
test cases, and thus, when run, (attempt to) prove your logic and code!)
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
the above policy/laziness, and thus this "Wednesday Wondering":
- modules aside, how often do we write multiple-entry code these days,
as opposed to having multiple scripts/main-lines which call re-usable
functional modules, as-and-when?
I still don't have a single file containing a combination script/module
amongst my applications. Do you? Why/who/how/when?
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
On 12/09/19 8:43 AM, Chris Angelico wrote:
On Thu, Sep 12, 2019 at 6:34 AM DL Neil via Python-list
wrote:
In this day-and-age do you have a script in live/production-use, which
is also a module? What is the justification/use case?
Yes, absolutely. It's the easiest way to share
So, second debug
would be to remove the 'UNSEEN' criteria and observe any difference.
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
this. However, I'll make a note to test...
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
you characterise it as a common project structure?
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
On 12/09/19 8:22 PM, Barry Scott wrote:
On 11 Sep 2019, at 21:24, DL Neil via Python-list
wrote:
In this day-and-age do you have a script in live/production-use, which is also
a module? What is the justification/use case?
(discounting distutils and similar installation tools, or unit
l", use symlinks - just as we do with
python/python2/python3/python3.7...
Note that it has become unnecessary to add the -m switch!
Accordingly, very short entry-point scripts have been working for me.
(recognising that Python is used in many more application-areas than do I!)
Do you see a reason/circumstance when this practice might break-down?
Ref:
Mastering Object-oriented Python, S Lott
Copyright © 2014 Packt Publishing
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Sep 16, 2019 at 1:56 PM Skip Montanaro wrote:
> Mails for someone here who goes by the handle "ast" with a fake
> address of n...@gmail.com keep landing in my Gmail spam folder. I
> suspect the same is true for all people subscribed to python-list who
> use Gmai
defined
above its position.
Please follow the tutorial.
https://docs.python.org/3/tutorial/index.html
--
https://mail.python.org/mailman/listinfo/python-list
original question: Is the (loop) code actually indented?
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
Note: Forwarded message attached
-- Original Message --
From: "arshad ali"arsh...@rediffmail.com
To: python-list@python.org
Subject: HELP NEEDED application error 0xc05--- Begin Message ---
Respected sir,
In my laptop with windows 7 ultimate 64 bit, when py
nts
for the message() and/or string() methods - particularly the number of
arguments and their data-type(s).
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
ent' which enables development on a 'bigger PC', for later
delivery=download to the SBC? It might make coding and unit-testing a
bit easier (although perhaps not when specific (display) hardware enters
the picture).
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
resizing issue, since the list comprehension wont predict the final size
of the list ahead of time.
Is there a good explanation of the performance difference - I don't
think that the memory resizing overhead is the whole answer.
--
Tony Flury
--
https://mail.python.org/mailman/listinfo/python-list
ore*
ls: cannot access 'before*': No such file or directory
I would expect pathlib to keep track of changes it has made. Any
ideas/good reasons why/why not?
NB "name" is a r/o attribute.
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
the discussion, I'd like to re-read the docs with
that in-mind, first...
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
On 30/09/19 9:28 PM, Barry Scott wrote:
On 30 Sep 2019, at 05:40, DL Neil via Python-list
wrote:
Should pathlib reflect changes it has made to the file-system?
I think it should not.
The term "concrete" is applied to Path(), PosixPath(), and WindowsPath()
- whereas the
9904293)
### f2 is a path which represents a real-world file though
### where have we seen those numbers before?
> It still represents the path to the file, not the file itself, and if
> you move something over it, it will see the new file.
I like this description. Thanks!
That said, maybe pathlib should have stuck with paths/PurePaths, and we
should have something else (logically separate, but closely-related)
which manipulates the files themselves?
(preferably OO, and tidying-up/offering an alternative to the morass of
os, os.path, sys, shutil, and ?others)
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
3401 - 3500 of 5713 matches
Mail list logo