On 8/01/20 8:53 AM, Abdur-Rahmaan Janhangeer wrote:
Greetings everybody,
Salaam,
I installed a local package using
python -m pip install
Now if you install the same package from pypi, it says requirements already
satisfied pointing to the location of the local package folder instead of
sit
Do you prefer to use isinstance() with type() or to refer to
collections.abc?
This team producing bases statistical analyses for (lesser capable)
user-coders to utilise with their own experimental 'control code'; faces
situations where a list-parameter is often only one element long. As is
s
On 18/01/20 7:39 AM, mrunali wrote:
I am face a problem to download MySQL for python as well as I can not able to
install kivy on my laptop . please give me solution for it .
Sent from Mail for Windows 10
How did you try to download MySQL?
Which MySQL Connector?
What was the error message?
On 19/01/20 2:51 PM, M.R.P. wrote:
Are modules objects in python?
Modules offer an independent namespace implemented by a dictionary
object - so you may dir() (or help()) and moduleNM.__dict__, and thus
pick-up data values and code-units.
So, they have many characteristics and behaviors in
On 20/01/20 4:35 AM, Python wrote:
^Bart wrote:
I ran this code:
#!/usr/bin/python
import MySQLdb
# Open database connection
db = MySQLdb.connect("localhost","root","MyPwd","MyDB")
# prepare a cursor object using cursor() method
cursor = db.cursor()
# Drop table if it already exist using exe
On 20/01/20 7:35 PM, coolguy 12336 wrote:
hi I can not install the py launcher and I really need it for something I
used repair and tried it again but it still didn't work.Do you know how to
fix my issue and if you do please email me back as soon as possible thank
you.
Hi, are you a student -
On 20/01/20 6:13 PM, Fahad Qayyum wrote:
Hello,
Hope this email finds you well. I am having an issue with the installation
of TensorFlow on python 3.8.1. I want to work on TensorFlow, please let me
know how can I install it. Give me the compete guide if possible.
Hi, and welcome to the Python
On 20/01/20 8:13 PM, NIT Application wrote:
Hi Team,
I am not able to select the path on command prompt. It gives me an error that
python is not recognized as an internal or external command.
Please help me with this to set up and perform my activities.
Regards,
Sandesh Kamble
Hi, and welc
On 21/01/20 8:37 AM, ^Bart wrote:
I found this article:
https://www.simplifiedpython.net/python-gui-login/
I used PDO on PHP 7.3 with last MariaDB engine but I'd like to start to
use Python for a local warehouse software, I found the above guide but I
need to understand what I should replace
On 23/01/20 11:32 AM, Terry Reedy wrote:
On 1/22/2020 2:49 PM, Stefan Ram wrote:
|Terence Graham Parry Jones (1 February 1942 – 21 January
|2020) was a Welsh actor, writer, comedian, screenwriter, film
|director and historian. He was a member of the Monty Python
|comedy team.
...
|After living f
On 23/01/20 9:54 PM, Z wrote:
what is PLR?
Context? Trolling?
What does this have to do with Python?
https://duckduckgo.com/?q=meaning+plr&t=ffab&ia=web
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
When, why, and how do you employ Python/PSL enums?
TLDR? Fair enough! Much of this text recounts a voyage of discovery.
More specific questions appear at the bottom...
Last century, when I learned to program (in-between working part-time at
the dinosaur farm) neither FORTRAN II/IV nor COBOL
On 27/01/20 12:08 PM, pyotr filipivich wrote:
Growth Hacking Formation on Sun, 26
Jan 2020 12:36:05 -0800 (PST) typed in comp.lang.python the
following:
Hi guys,
I need your help please to sold a complicate problem.
It is difficult for me to find the solution but in fact, I am sure it is jus
On 27/01/20 4:15 AM, ferzan saglam wrote:
Hello people, I have written the code below which works fine, but it has one
small problem. Instead of printing one (x) on the first line, it prints two.
I have tried everything in my knowledge, but cannot fix the problem.
Thanks for any help in advance.
Looks as if Dilbert is about to draft a PEP to change Python's
world-view: https://dilbert.com/strip/2020-01-24
Curiously, "canard" whilst a French word for "duck", in English
describes a rumor or false-story!
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
On 27/01/20 1:53 PM, Richard Damon wrote:
On 1/26/20 6:52 PM, DL Neil via Python-list wrote:
On 27/01/20 4:15 AM, ferzan saglam wrote:
Hello people, I have written the code below which works fine, but it
has one small problem. Instead of printing one (x) on the first line,
it prints two.
I
On 28/01/20 5:17 AM, Michael Torrie wrote:
On 1/27/20 12:03 AM, אורי wrote:
Please don't reply to digest.
Replying to a digest is just fine. Just make sure to change the subject
line in the future so people know what it's referring to.
Excepting that whilst this practice (subject to faithful
On 29/01/20 4:51 PM, sushma ms wrote:
Thanks a lot.
But why can't we make output of input also dynamic data assignment.
1 please don't 'top post': the normal sequence of a conversation is
question THEN answer!
2 ambiguity! It is not possible for the input() mechanism to tell
whether you la
On 30/01/20 10:38 AM, jkn wrote:
On Wednesday, January 29, 2020 at 8:27:03 PM UTC, Chris Angelico wrote:
On Thu, Jan 30, 2020 at 7:06 AM jkn wrote:
I want to be a able to use a simple 'download manager' which I was going to
write
(in Python), but then wondered if there was something suitable
On 30/01/20 2:14 PM, Souvik Dutta wrote:
Hey I was thinking how I can save a dictionary in python(obviously) so that
the script is rerun it automatically loads the dictionary.
Perhaps a YAML or JSON file (which follow a very similar format and
structure to Python dicts), or a 'NoSQL' database
Further thoughts on the OP's point:-
On 29/01/20 4:51 PM, sushma ms wrote:
...
But why can't we make output of input also dynamic data assignment.
...
when i'm assigning value dynamically and when we comparing in "if"
loop
it is throwing compiler error. It should not throw error
On 30/01/20 9:35 PM, R.Wieser wrote:
MRAB's scheme does have the disadvantages to me that Chris has pointed
out.
Nothing that can't be countered by keeping copies of the last X number of
to-be-dowloaded-URLs files.
That's a good idea, but how would the automated system 'know' to give-up
on th
On 31/01/20 9:30 AM, jkn wrote:
Err, well, thanks for that discussion gents...
As it happens I do know how to use a database, but I regard it as overkill for
what I am trying to do here. I think a combination of hashing the URL,
and using a suffix to indicate the result of previous downloaded at
On 31/01/20 9:53 PM, R.Wieser wrote:
Using ctrl+c is a VERY BAD idea.
To have it just exit the program ? Yes, indeed.
Though you /could/ keep track of what needs to be finished and have the
ctrl-c handler do that for you (barf).
Another posibility is to capture the ctrl-c and set a flag, whi
On 1/02/20 1:05 AM, Souvik Dutta wrote:
Hi,
This is problem from pyqt5. Actually I want to have about 40 labels added
into a window when a button is clicked. The text are not the same so the
label is not the same. I cannot just add 40 labels before hand and then
change its text to something from
On 1/02/20 7:19 PM, khisho...@gmail.com wrote:
I have a data sequence of around 30 sets. I need to batch the sequence into
an input-output format. for example
data= [1,2,3,4,5,6,7,8,9,10,..,100]
X1= [1,2,3,4,5,6,7,8,9,10] y1 = [11,12]
X2= [3,4,5,6,7,8,9,11,12] y2 = [13,14]
and it
On 2/02/20 1:00 AM, R.Wieser wrote:
As sent to the OP. I appreciate these discussions, in the expectation of
learning something-new. (and with rust-removal paints at the ready!)
Indeed. Even if its just a different POV which makes you rethink the
reasons of your own one.
+1
--
Regards =dn
On 3/02/20 7:05 AM, Abdur-Rahmaan Janhangeer wrote:
...
suggest you put names, birthday in csv
the load csv
for each row:
layout.addWidget(QLabel)
On Sun, 2 Feb 2020, 21:21 Souvik Dutta, wrote:
Because i want to show the name and date of 40 persons and their birthdays.
Why csv?
Wh
Is there a set location for PSL project repos?
(it used to be GitHub, and before that, Google)
I'd like to review some serious PyTest/Unittest examples, eg as are
applied to familiar (Python source) library members...
* should be easier to find than was the source of the Nile (by Europeans)
--
On 5/02/20 6:34 AM, dcwhat...@gmail.com wrote:
Pip won't work on my desktop, because of the firewalls we have set up.
I have the version from github. Assuming my Python 3.8.1 Home Directory is
C:\Python, How can I install pyodbc pyodbc-master.zip? Which folders should I
unzip it into?
I
On 10/02/20 4:46 AM, J A wrote:
as a sysadmin I've written several small tools as python command line apps
that get installed with python setup.py install. I would now like to create
another tool that would quickly list out all of my custom tools that may be
installed on the system. so that other
On 11/02/20 12:00 AM, Tushita Parashar wrote:
Even after installing the software on my system the software isn’t running.
Today, an (apparently) identical question, already asked and answered.
Please see the Python-Tutor list: "Python Beginner" msg.
--
Regards =dn
--
https://mail.python.org/
On 13/02/20 9:17 AM, Michael Torrie wrote:
On 2/12/20 7:44 AM, Ethan Furman wrote:
On 02/11/2020 04:38 PM, Michael Torrie wrote:
...
True. Costs can be calculated and planned for. But Technical debt is
often impossible to quantify in a real, meaningful, business sense,
other than the that we
On 17/02/20 11:11 PM, lampahome wrote:
I have 3+years developer experience in python, but I always develop
about peer-to-peer service. Have no backend experience in python.
But now I want to change to backend engineer, somebody shares their
job is to do like
1. Develop customize API to receive d
Please help us to help you!
1 is all of this code in a single file or spread across (at least) two
modules? What are their names? What is the directory structure?
2 copy-paste the actual error message received.
It works for me!
1 not knowing your circumstances, I put all the code in one file
2
...
import preos
# pass name, Tc, Pc, omega
methane = preos.Molecule("methane", -82.59 + 273.15, 45.99, 0.011)
methane.print_params()
...
my code preos in one file preos.py
my commands are
alberto@HENDRIX ~/PREOS $ python3.5
Python 3.5.2 (default, Oct 8 2019, 13:06:37)
[GCC 5.4.0 20160609]
On 19/02/20 4:52 AM, alberto wrote:
Hi,
I solve it with external file as follows
import preos
# pass name, Tc, Pc, omega
methane = preos.Molecule("methane", -82.59 + 273.15, 45.99, 0.011)
methane.print_params()
thanks to everyone
It is difficult to learn a new programming language, even for
On 21/02/20 10:05 AM, Stefan Ram wrote:
David Wihl writes:
I believe that it would be more idiomatic in Python (and other languages lik=
e Ruby) to throw an exception when one of these partial errors occur.
I wonder whether the term "idiomatic" is too heavily
burdened here.
Python o
On 22/02/20 10:45 PM, S Y wrote:
How can I use remove,add and verify methods in class oop. Which has tuple with
allowed values inside class. Like two classes cart and inventory
Please show the code you have so-far.
What are you removing, adding, and verifying?
Are you aware of the Python-Tutor
def add_item(self, item_object):
if len(self.inventory) <= self.capacity:
self.inventory.append(item_object)
return True
else:
print("Reached max capacity")
return False
on behalf of DL
Neil via Python-list
*Sent:* Sunday, February 23, 2020 4:41:54 PM
*To:* python-list@
Please recommend a library which will manage plug-ins.
(Regret that searching PyPi or using a web SE results in an overwhelming
number of 'false positives')
Not wanting to 'reinvent the wheel, have been looking for an 'approved'
way to manage a set of previously-prepared routines plus user-a
On 28/02/20 9:29 AM, valon.januza...@gmail.com wrote:
I am new to python and all of this, I am using this FastAPI, to build API,
I want when users hit any endpoint for ex /products, that to be written into a
file , how do I do it?
The Python Standard Library offers a Logging library.
It has "
How does one code a function/method signature so that it will accept
either a set of key-value pairs, or the same data enclosed as a dict, as
part of a general-case and polymorphic solution?
Wikipedia: polymorphism is the provision of a single interface to
entities of different types.
( https
On 7/03/20 2:33 AM, Νίκος Βέργος wrote:
First i must say i use Bottle, but the same may also be the case in Flask too.
I ask here and not in sub Bottle because there are only a few people there and
i receive no responses.
Actualy since i started here let me say what i have found.
Iam just try
On 7/03/20 2:33 AM, îØî-îºî¿ïé îÆî ïüî³î¿ïé wrote:
> First i must say i use Bottle, but the same may also be the case in Flask
too. I ask here and not in sub Bottle because there are only a few people there
and i receive no responses.
>
> Actualy since i started here let me say what i have found.
On 8/03/20 11:05 PM, Shrinivas Kulkarni wrote:
Hello Everyone
While writing python code, I frequently come across the need to do
certain tasks based on combined conditions.
Much of the task for all the sub-conditions are common but some are
specific to one or more of these sub-conditions.
The
On 8/03/20 8:47 AM, Richard Damon wrote:
On 3/7/20 5:15 AM, Νίκος Βέργος wrote:
When superhost.gr/test tries to post html form data to the route endpoint
'/mailform' it sends it to superhost.gr/mailform and NOT at
superhost.gr/test/mailform as it should have done.
The HTML path /mailform mea
On 11/03/20 7:34 AM, Michael Torrie wrote:
On 3/10/20 6:40 AM, Chris Angelico wrote:
On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list
...
I'm also reading this in Gmail, and I didn't get any such warning. I'm
going to call that a spurious warning, a false positive.
Gmail often r
On 12/03/20 3:03 AM, Rhodri James wrote:
On 11/03/2020 04:06, Michael Torrie wrote:
On 3/10/20 6:49 PM, Souvik Dutta wrote:
What about moving on to a social media app completely made in pythoj for
python?
No thanks. I don't want to be on yet another web forum. I don't need
"social media" or a
On 17/03/20 10:49 AM, Grant Edwards wrote:
On 2020-03-16, Irv Kalb wrote:
I like both suggestions, and will probably go with the non-breaking
space (Option space on my Mac). I tested that and it works well.
Until somebody tries to cut/paste the snippets you post into a .py
file and run them
On 19/03/20 3:28 PM, Santiago Basulto wrote:
...> myself missing A LOT features from NumPy, like fancy indexing or
boolean
arrays.
So, has it ever been considered to bake into Python's builtin list and
dictionary types functionality inspired by NumPy? I think multi indexing
alone would be huge a
On 23/03/20 4:04 AM, Antoon Pardon wrote:
I think I can best explain what I want by showing two bash sessions:
Session 1)
--
$ /opt/csw/bin/python
Python 2.6.4 (r264:75706, Sep 9 2015, 15:05:38) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
imp
On 23/03/20 3:32 PM, Paulo da Silva wrote:
Às 02:18 de 23/03/20, Paulo da Silva escreveu:
Hi!
Olá,
Suppose a class C.
I want something like this:
class C:
KA=0
KB=1
KC=2
...
Kn=n
def __init__ ...
...
These constants come
On 23/03/20 8:00 AM, Chris Angelico wrote:
When using textwrap.fill() or friends, setting break_long_words=False
without also setting break_on_hyphens=False has the very strange
behaviour that a long hyphenated word will still be wrapped. I
discovered this as a very surprising result when trying
On 25/03/20 10:30 AM, Chris Angelico wrote:
On Wed, Mar 25, 2020 at 8:04 AM DL Neil via Python-list
wrote:
On 23/03/20 8:00 AM, Chris Angelico wrote:
When using textwrap.fill() or friends, setting break_long_words=False
without also setting break_on_hyphens=False has the very strange
On 25/03/20 11:57 AM, Chris Angelico wrote:
On Wed, Mar 25, 2020 at 9:37 AM DL Neil via Python-list
wrote:
As you observe, the problem with terminal emulators is the extent of
their emulation and the degree of adoption of their 'extended features'!
My concern grows because of t
Rich,
On 26/03/20 9:09 AM, Rich Shepard wrote:
I'm writing an application using Python3 and Tkinter. The views/ directory
contain multiple modules, including one called commonDlgs.py. This contains
classes (such as those for validating data entry) used by all the data
entry
views. Some classe
I'm not a professional coder. I'm an environmental consultant and I use a
I take it all back then...
No! No need to feel apologetic, the Python community works hard to be
inclusive - which I take to include levels of expertise, not merely
countering the various "-isms".
variety of tools de
On 31/03/20 11:23 PM, Jami Yaswanth wrote:
i am not able to use the libraries that are installed
using "pip install pandas"
Welcome to Python!
Are you aware of the Python-Tutor Discussion List?
(https://mail.python.org/mailman/listinfo/tutor)
Please describe how you installed these libraries.
On 2/04/20 6:49 AM, anson freer wrote:
Will Anaconda2, Python2, jupyter and many applications I have for python
harm the 3.8.2?
should I be in Python Tutor and in this one(current email)at the same time?
Or is it one or the other not both
I want to learn how to use PDF to read files that have rac
On 2/04/20 7:15 AM, Honori R. Camacho wrote:
Ok.
1.- Necesitamos ayuda. No podemos ejecutar Python 3.5.4 en windows 7, se
descargo la version Python 3.5.4 y se instalo correctamente.Y se
corrigieron los path.
Pero no permite ejecutar los .py ni los .pyw por acceso directo. gracias.
Hola!
Pytho
On 2/04/20 7:24 PM, Honori R. Camacho wrote:
Gracias por atender esta solicitud. Si, no explique que antes se
ejecutaba correctamente, pero ocurio que por error se desinstalo un
*frameworks* y desde ahi consideramos, empezaron los problemas. Se
reinstalo el Python 3.5.4 desde los repositorios d
I already use the IDL software. Now I`m using Python. In IDL I
havethe vector position=(xo,yo,x1,y1) to set where Iwnat to plot my
figure in my window.
I have an 2d array with x and y dimensition equal
5224. when I plot my figure, using contourtf it takes up a small part of
my window. What can I
On 8/04/20 4:37 AM, J Conrado wrote:
...
plt.title("Região a Ser Setorizada")
plt.show()
plt,close(1)
and to kil the window I have to click on the "X" in the top my window.
What can I do to kil the window and plot other windows in squence.
Ola, perhaps use dotted-notation:
plt.close( 1
I have downloaded the 3.8 64 bit python program to my PC but the
interpreter will not run. It seems to have 'repaired' itself when I ran the
setup again but the interpreter still won't run.
Is there a reason for this? Do you require a screenshot?
Welcome to Python!
This is an FAQ because Pyth
On 9/04/20 10:02 AM, Martin Alaçam wrote:
Hello,
I have the following descriptor:
self._pi = None
@property
def pi(self) -> list:
self._pi = self._root.xpath('processing-instruction()')
return self._pi
Mypy says: "Incompatible return value type (got "None", exp
On 11/04/20 8:44 AM, Elliott Dehnbostel wrote:
If I've done this incorrectly, please let me know so that I can
improve/revise. I'm new to the Python community and quite enjoy the more
functional features of Python 3, but have I have a peeve about it. I'd like
to propose and discuss the following
On 15/04/20 2:05 PM, mike via Python-list wrote:
I need somehelpwith Python 36-32 and 38-32
I have been using sublime text 3 asmy ide for about 1 year now and everything
was fine -I tried to change to Pycharm 2020 - I was going to use sublime 3 as
my IDE for python36-32 and the Pycharm2020 for
On 15/04/20 6:47 PM, ajayrpan...@hotmail.com wrote:
Whenever I try to run any file in which pandas was import it was showing that
dll file is not loaded
Please copy-paste the *exact* error message.
Are you aware of the Python-Tutor list?
https://mail.python.org/mailman/listinfo/tutor
--
R
On 16/04/20 1:55 AM, dcwhat...@gmail.com wrote:
As much as possible, I make use of optional type hints. So if I know a
function returns an integer, then I use
this_number_i : int = GetThisNumber()
But there's no 'file' type, so I'm not sure what to use as the type for the
return value of an Op
On 16/04/20 3:34 PM, Dennis Lee Bieber wrote:
On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott
declaimed the following:
I post some suggestion to improve the Python installer for Windows
to better sign post users on the next steps.
https://mail.python.org/archives/list/python-id...@python.org/
On 18/04/20 4:18 AM, dcwhat...@gmail.com wrote:
Yes,personal preference is definitely a factor and a bias, in these matters.
But aside from trying to make it easier for future A.I. to figure out what the
heck we humans were doing, it also makes a difference in how the IDE interpets
the code.
On 18/04/20 11:10 AM, hnasr9...@gmail.com wrote:
I am reading a Python file and find an specific line, replace a text and then
write back to the file.
When I check back the file, I am getting indent error.
How to fix this issue.
Please make it easier for us (volunteers giving-up our free ti
On 19/04/20 1:07 AM, Souvik Dutta wrote:
I have one question here. On using print(f"{c:.32f}") where c= 2/5 instead
of getting 32 zeroes I got some random numbers. The exact thing is
0.40002220446049250313
Why do I get this and not 32 zeroes?
Approximating decimal numbers as binary
computer behave so
differently?
Please don't top-post - (human) conversations are normally question
followed by answer, not the other way around!
Computers use binary, not decimal - asked and answered (see previous
first response, below)
On Sat, 18 Apr, 2020, 7:02 pm DL Neil via P
On 18/04/20 6:20 PM, MRIDULA GUPTA wrote:
Hi,
I am a new user and I am facing difficulty using the app. everytime I click
on the app the windows open which tell me either to modify the app or
repair it or uninstall it. I did my level best but still I am facing
problems installing it. please look
Springer (publisher) has released a bunch of eBook versions of Python
text-books, free to download (.PDF and/or .EPUB), in support of COVID-19
stay-at-homes.
This sub-list features texts for all 'levels' of mastery, and published
between 2014 and 2019/20. They tend to be 'solid' content, cf 'D
On 20/04/20 9:19 PM, Chris Angelico wrote:
On Mon, Apr 20, 2020 at 6:51 PM Veek M wrote:
The docs state that a expression is some combination of value, operator,
variable and function. Also you cannot add or combine a generator
expression with a value as you would do with 2 + 3 + 4. For exampl
On 21/04/20 9:40 AM, elisha hollander wrote:
I have a python library with a function.
This function call some other functions, classes and variable from the
library (and those functions and classes call other ones, etc)...
Can I automatically create a file with all of the dependencies (and nothin
Have tracked-down and communicated with the site owner/operator. He
advised a loop-back problem which has now been blocked.
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
On 24/04/20 1:24 PM, Deac-33 Lancaster wrote:
I'm aware that you can find the type of a variable with
type(var)
But are there Boolean operators in Python3.8 to test the data type, e.g.
is_floate(var)
is_string(var)
etc. ?
You are close! https://docs.python.org/3/library/functions.htm
On 24/04/20 1:24 PM, Deac-33 Lancaster wrote:
I'm aware that you can find the type of a variable with
type(var)
But are there Boolean operators in Python3.8 to test the data type, e.g.
is_floate(var)
is_string(var)
etc. ?
There is also a 'pythonic' answer (what is the 'Python way'?)
... Is there a way to see all of the groups?
Yes! Follow the link at the bottom of this email msg. Then follow the
link at the bottom of this list's web-page ...
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list
On 25/04/20 6:40 AM, Manfred Lotz wrote:
I have a command like application which checks a directory tree for
certain things. If there are errors then messages will be written to
stdout.
How to test this in the best way?
One idea was for the error situations to write messages to files and
then l
May I point-out that the above may not be the best approach. Rather
than using screen-prints to report errors, another method is to
utilise "logging" to collect such data - so that there is always a
formal record (regardless of user behavior). During 'production' the
information could be collected
On 25/04/20 5:16 PM, Manfred Lotz wrote:
On Fri, 24 Apr 2020 19:12:39 -0300
Cholo Lennon wrote:
On 24/4/20 15:40, Manfred Lotz wrote:
I have a command like application which checks a directory tree for
certain things. If there are errors then messages will be written to
stdout.
How to test t
On 25/04/20 7:53 PM, Manfred Lotz wrote:
On Sat, 25 Apr 2020 18:41:37 +1200
DL Neil wrote:
On 25/04/20 5:16 PM, Manfred Lotz wrote:
On Fri, 24 Apr 2020 19:12:39 -0300
Cholo Lennon wrote:
On 24/4/20 15:40, Manfred Lotz wrote:
I have a command like application which checks a directory tr
On 26/04/20 8:06 PM, helal uddin wrote:
https://drive.google.com/open?id=1DCciLNPkARXnVIHFhXmijRTbFEC9Xsa-
Please visit this link to see my problem
I'm facing some problems to installlibraries like 'torch library'
My Operating System is Windows 10 64bit.
<<<
404. That’s an error.
The reque
On 27/04/20 11:29 AM, Mats Wichmann wrote:
On 4/26/20 2:06 AM, helal uddin wrote:
https://drive.google.com/open?id=1DCciLNPkARXnVIHFhXmijRTbFEC9Xsa-
Please visit this link to see my problem
I'm facing some problems to installlibraries like 'torch library'
My Operating System is Windows 10 64
If I have understood correctly, the objective is to check a dir-tree
to ensure that specific directory/file-permissions are in-effect/have
not been changed. The specifications come from a .JSON file and may
be over-ridden by command-line arguments. Correct?
Yes.
How to test this in the best
Given your replies, 'now' might be a good time to take a look at
Pytest, and see how you could use it to help build better code - by
building tested units/functions which are assembled into ever-larger
tested-units... (there is a range of choice/other testing aids if
Pytest doesn't take your fancy
On 28/04/20 7:36 PM, Chris Angelico wrote:
"Best"? Not sure about that. Functions are first-class objects in
Python, so a function *is* a callable object. You don't have to create
a custom class with a call method just to be able to attach attributes
to your function.
ChrisA
Using a mutable o
On 2/05/20 11:30 AM, Chris Angelico wrote:
On Sat, May 2, 2020 at 9:14 AM DL Neil via Python-list
wrote:
On 28/04/20 7:36 PM, Chris Angelico wrote:
"Best"? Not sure about that. Functions are first-class objects in
Python, so a function *is* a callable object. You don't h
On 2/05/20 12:00 PM, Bob van der Poel wrote:
I still think that the use of a keyword like "static" would be easiest.
def foo(arg):
static counter = 0
counter += 1
if counter ...
And in this case static just means that it's a variable only readable
inside foo() and it should maint
Is this the way to write Python Enhancement Proposals (PEPs)?
eg https://www.python.org/dev/peps/pep-0008/#indentation
TabError: inconsistent use of tabs and spaces in indentation
https://www.geeksaresexy.net/2020/05/01/the-tab-club-comic/
--
Regards,
=dn
--
https://mail.python.org/mailman/listin
To make-up to those people who frowned at the earlier OT-Comic post...
There are changes in-the-wind, in the way Python should/could be
documented.
Currently, there is a difficulty in 'scaling' the documentation to cope
with the growing range of language user-types, as well as keeping-up
wi
On 3/05/20 9:07 AM, Chris Angelico wrote:
On Sun, May 3, 2020 at 6:33 AM DL Neil via Python-list
wrote:
Is this the way to write Python Enhancement Proposals (PEPs)?
eg https://www.python.org/dev/peps/pep-0008/#indentation
TabError: inconsistent use of tabs and spaces in indentation
https
On 7/05/20 4:15 PM, Music lover wrote:
Hello python team,
I have installed the latest version of python from your site.
Then I successfully installed some modules like :- numpy , pandas,
matplotlib from command prompt. But I am not able to use them while
programing in python Idle. It'
On 15/05/20 12:58 AM, Jon Ribbens via Python-list wrote:
On 2020-05-14, MRAB wrote:
Look at the date of the original post. It says "8 May 2009". That's over
11 years ago!
Since then, Google Code has ceased to exist.
Disgraceful, all URLs should continue to work for at least as long as
this o
On 15/05/20 4:18 PM, Jhoana Kacheva Melissa Joseph wrote:
Hello,
I downloaded python 3.8 in my windows, I selected the box for the path but
when I try to run it in powershell it brought me to app store to get it
again.
Please advise if the following reference is accurate, and works for you:
h
101 - 200 of 263 matches
Mail list logo