s wonders. A good layout and talble of
contents also helps. Decorators? Chapter 14, page 254, all you ever wanted
to know about them.
--
https://mail.python.org/mailman/listinfo/python-list
ul, but many programming books
are outdated and are more historical artifacts at this point.
songbird
--
https://mail.python.org/mailman/listinfo/python-list
ly by
accident? I don't know.
On Sat, 8 Mar 2025 at 16:59, Praveen Kumar via Python-list <
python-list@python.org> wrote:
> Hi Python community and members,
>
> I hope this email finds you well, I want you to be assisted in resolving
> this following issue. kindly look at t
7645230846
[ Bluesky ]( https://bsky.app/profile/physaliacourses.bsky.social ) [ Linkedin
]( https://www.linkedin.com/in/physalia-courses-a64418127/ )
--
https://mail.python.org/mailman/listinfo/python-list
all contributors and users,
meejah
--
https://mail.python.org/mailman/listinfo/python-list
On 14/04/25 11:10, Jonathan Gossage via Python-list wrote:
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux 24.04*
.
The version of Python was compiled from source code and installed with make
altinstall. I attempted to use *pip* to install the *Sphinx* package into
the
the virtual environment*.
How did you create the venv? Was it activated? I would use 'python -m pip
install sphinx' but a bare pip should work.
--
https://mail.python.org/mailman/listinfo/python-list
27;s is 24.3.1 but neither of them show
'--break-system-packages' in --help.
--
https://mail.python.org/mailman/listinfo/python-list
-discussions -
but will hearing only half of some of the conversation help them?
On 14/04/25 11:33, dn via Python-list wrote:
On 14/04/25 11:10, Jonathan Gossage via Python-list wrote:
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux
24.04*
.
The version of Python was compiled
te.ps1 is in the
Scripts subdirectory and you do run it directly. On Linux the python in
bin is usually a symlink, although you can specify it to be copied with a
parameter to venv. Symlinks on Windows are problematic but the process is
more or less the same.
--
https://mail.python.org/mailman/listinfo/python-list
/lib/python3.10/site-packages' left over
from earlier versions of Ubuntu.
However on Fedora 42 with 3.13.2
Defaulting to user installation because normal site-packages is not
writable.
--
https://mail.python.org/mailman/listinfo/python-list
ll agree it sounds like the venv wasn't activated.
--
https://mail.python.org/mailman/listinfo/python-list
Peter J. Holzer wrote:
> On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote:
...
>> When the system launches its application the PYTHONPATH will start with
>> system site directories; local user site directories will be on the
>> PYTHONPATH but since they come l
5, in
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
--
https://mail.python.org/mailman/listinfo/python-list
dictionary to return value on KeyError exception.
What's the most pythonic and fastest?
Thank you,
Chris R.
--
https://mail.python.org/mailman/listinfo/python-list
I found this is very confusing.
I will appreciate if simple examples are given.
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
bel?
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
ke my previous function, solved the problem that I had
with the dictionary, the dictionary is created only once, a half dozen
functions got moved into the new class, and the old class now has less
clutter.
Thanks everyone!
Chris R.
--
https://mail.python.org/mailman/listinfo/python-list
org/id/geography/administration/par/E04009816>
<http://www.w3.org/2004/02/skos/core#note> "Live"
.<http://opendatacommunities.org/id/geography/administration/par/E04009816>
<http://www.w3.org/2004/02/skos/core#notation> "E04009816" .
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
n/par/E04009817>
<http://www.w3.org/2004/02/skos/core#notation> "E04009817" .
Are there any hello world examples?
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
.
AttributeError: 'Scraper' object has no attribute 'requestor'
That's either a bug or I'm doing it wrong. Or maybe both?
Thank you,
Chris R.
--
https://mail.python.org/mailman/listinfo/python-list
r @property item?
Thank you,
Chris R.
--
https://mail.python.org/mailman/listinfo/python-list
. It's probably FUBAR in some obscure way.
I uninstalled Python 3.6.0 (32-bit) and Python 3.6.1 (64-bit), installed
Python 3.6.2 (64-bit), and everything now works.
Thanks,
Chris R.
--
https://mail.python.org/mailman/listinfo/python-list
installing the program and I have once and tried repairing it a bunch of time
but the message still appears. Do I need to download something else and where
do I find it?
Thanks for the help,
Carson McDaniel
Sent from my iPhone
--
https://mail.python.org/mailman/listinfo/python-list
e and
only check data types when it is absolutely necessary — which is rarely!
Roger Christman
--
-=- Larry -=-
--
https://mail.python.org/mailman/listinfo/python-list
hear it directly, or the WAV or AU formats to
download the audio clips.
--
-=- Larry -=-
--
https://mail.python.org/mailman/listinfo/python-list
p://www.avg.com
--
https://mail.python.org/mailman/listinfo/python-list
6, 1600), ('THE SHORTS', 7, 1100), ('KINGTON TOWN
STAKES', 8, 2000), ('BM 84 HANDICAP', 9, 1200)]
I get close creating a list of elements but each attempt I try to create the
list of tuples fails.
This is my closest code
data = r.json()
raceData = []
for item in data["RaceDay"]['Meetings'][0]['Races']:
raceDetails = item['RacingFormGuide']['Event']['Race']
raceData +=
(raceDetails['Name'],raceDetails['Number'],raceDetails['Distance'])
print(raceDetails)
which returns
['CLASS 3 HANDICAP', 1, 1000, 'BM 90 HANDICAP', 2, 1600, 'HERITAGE STAKES', 3,
1100, 'BILL RITCHIE HANDICAP', 4, 1400, 'TEA ROSE STAKES', 5, 1400, 'GEORGE
MAIN STAKES', 6, 1600, 'THE SHORTS', 7, 1100, 'KINGTON TOWN STAKES', 8, 2000,
'BM 84 HANDICAP', 9, 1200]
How do I get the tuples?
Cheers
Sayth
---
This email has been checked for viruses by AVG.
http://www.avg.com
After a quick glance and hence completely untested:-
raceData.append((raceDetails['Name'],raceDetails['Number'],raceDetails['Distance']))
--
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
nistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email has been checked for viruses by AVG.
http://www.avg.com
--
https://mail.python.org/mailman/listinfo/python-list
ww.avg.com
--
https://mail.python.org/mailman/listinfo/python-list
d ground? Is it
completely impossible for people to step outside of their world of pass
by value or pass by reference?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email has been checked for viruses by AVG.
http://www.avg.com
--
https://mail.python.org/mailman/listinfo/python-list
#x27;t figure out sooner that he
couldn't.
--
-=- Larry -=-
--
https://mail.python.org/mailman/listinfo/python-list
for our language.
Mark Lawrence
---
This email has been checked for viruses by AVG.
http://www.avg.com
--
https://mail.python.org/mailman/listinfo/python-list
27;t expect run into any difficulties. : )
Except perhaps for your sense of time... "I'll try" implies the future, "last night" is the
past.:-) :-)
(Couldn't resist...)
--
-=- Larry -=-
--
https://mail.python.org/mailman/listinfo/python-list
x = get_num('Number ( to terminate: ', abrt=True)
if x is None:
break
--
-=- Larry -=-
--
https://mail.python.org/mailman/listinfo/python-list
ion for) onto the computers in the school. Therefore, I'm looking for
something in the Python 3.6 Standard Library.
Thanks in advance,
Irv
Hopefully this https://docs.python.org/3/howto/pyporting.html will help.
--
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
illar with?
--
https://mail.python.org/mailman/listinfo/python-list
nction clear – the
operation of ‘del’ is easier to understand.
--
\ “The shortest distance between two points is under |
`\ construction.” —Noelie Alito |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
https://mail.python.org/mailman/listinfo/python-list
When I am running IDLE return to me Missing python36.dll error
Στάλθηκε από την Αλληλογραφία για Windows 10
--
https://mail.python.org/mailman/listinfo/python-list
I am trying to gain a clear understanding on pd.merge(df,df2, on=['Code',
'Region']).
Can anyone assist?
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
st have no idea what the issue is other
than maybe an old computer
regards,
Mary Ann
--
https://mail.python.org/mailman/listinfo/python-list
ea,)
else:
print("No negatives allowed, try again.")
--
https://mail.python.org/mailman/listinfo/python-list
,
> round(surfacearea,2), )
> else:
> print("No negatives allowed, try again.")
Tried this but it doesn't seem to work. It still prints out all of the decimals
--
https://mail.python.org/mailman/listinfo/python-list
it doesn't seem to work. It still prints out all of the
> > decimals
>
> This is the output from the code above (Working):
>
> What is the radius in feet? (no negatives): >? 2
> What is the height in feet? (no negatives): >? 4
> Your Answer is:
> A cone with radius 2.0
> and height of 4.0
> has a volume of : 16.76
> and surface area of : 40.67
interesting, what version of python are you using? Tried it multiple times and
it still isn't working.
--
https://mail.python.org/mailman/listinfo/python-list
> > > decimals
> >
> > This is the output from the code above (Working):
> >
> > What is the radius in feet? (no negatives): >? 2
> > What is the height in feet? (no negatives): >? 4
> > Your Answer is:
> > A cone with radius 2.0
> > and height of 4.0
> > has a volume of : 16.76
> > and surface area of : 40.67
>
> interesting, what version of python are you using? Tried it multiple times
> and it still isn't working.
Never mind its working now, just had to change something up real quick, thank
you.
--
https://mail.python.org/mailman/listinfo/python-list
f __name__ == "__main__":
result = rollDie(50)
print (result)
print(max(result))
--
https://mail.python.org/mailman/listinfo/python-list
you may consider checking out a more general approach. Noweb was the first
to my knowledge and lead the way for Sweave (R or S), and pyweave, as
mentioned.
https://en.wikipedia.org/wiki/Noweb
Cheers
--
https://mail.python.org/mailman/listinfo/python-list
an be told in a few words. Debunking that lie can take |
`\ pages. That is why my book… is five hundred pages long.” —Chris |
_o__)Rodda, 2011-05-05 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nd I speech |
_o__) nothing, for I no verbs.” —Peter Ellis |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
I ask
> here is because I'm wondering if anybody has encountered this before and
> managed to hunt down which of these libraries is doing something naughty?
>
> Thanks!
> Jason
>
> --
> Jason M. Swails
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
kindly inform me what to do.
--
https://mail.python.org/mailman/listinfo/python-list
object):
def init(self):
self.obj = lib.loadInstance()
def create_services(self,servicename):
result=lib.createService(self.obj,servicename)
return result
driver=myDriver()
driver.create_services(b"myExample")
Thanks for the help
Jason
--
https://mail.python.org/mailman/listinfo/python-list
Thanks you very much, fixed the problem :)
On Mon, Jan 22, 2018 at 4:28 PM, Random832 wrote:
> On Mon, Jan 22, 2018, at 16:00, Jason Qian via Python-list wrote:
> > Hello!
> >
> > I am using ctypes on Windows to interface with a dll and it works fine
> > on Linu
Thanks for the help,
Jason
On Mon, Jan 22, 2018 at 5:41 PM, eryk sun wrote:
> On Mon, Jan 22, 2018 at 9:00 PM, Jason Qian via Python-list
> wrote:
> >
> > I am using ctypes on Windows to interface with a dll and it works fine
> > on Linux and windows 32-bit python.
s you very much, fixed the problem :)
>
> On Mon, Jan 22, 2018 at 4:28 PM, Random832 wrote:
>
>> On Mon, Jan 22, 2018, at 16:00, Jason Qian via Python-list wrote:
>> > Hello!
>> >
>> > I am using ctypes on Windows to interface with a dll and it works
&
ponse ---')
print(message)
print(code)
class GSPythonDriver(object):
def submif(self,methodname)
invm_fn = InvocationCB(handleResponse)
lib.submit(self.obj,methodname,invm_fn)
How can I do this on the Linux ?
Thanks for the help
Jason
--
https://mail.python.org/mailman/listinfo/python-list
HI Dennis,
Thanks for the help, After changing WINFUNCTYPE to CFUNCTYPE, the call
back function works on the Linux :)
Thanks again,
Jason
On Wed, Jan 24, 2018 at 6:15 PM, Dennis Lee Bieber
wrote:
> On Wed, 24 Jan 2018 17:16:22 -0500, Jason Qian via Python-list
> declaim
58 PM, Jason Qian wrote:
>
>> Thanks you very much, fixed the problem :)
>>
>> On Mon, Jan 22, 2018 at 4:28 PM, Random832
>> wrote:
>>
>>> On Mon, Jan 22, 2018, at 16:00, Jason Qian via Python-list wrote:
>>> > Hello!
>>> >
>&g
HI
I am a string that contains \r\n\t
[Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet
I would like it print as :
[Ljava.lang.Object; does not exist
tat com.livecluster.core.tasklet
--
https://mail.python.org/mailman/listinfo/python-list
cluster.core.tasklet
>
>
>
--
https://mail.python.org/mailman/listinfo/python-list
st*\r\n\t*at com
Thanks
On Sat, Jan 27, 2018 at 4:20 PM, Ned Batchelder
wrote:
> On 1/27/18 3:15 PM, Jason Qian via Python-list wrote:
>
>> HI
>>
>> I am a string that contains \r\n\t
>>
>> [Ljava.lang.Object; does not exist*\r\n\t*at
>>
Reedy wrote:
> On 1/27/2018 3:15 PM, Jason Qian via Python-list wrote:
>
>> HI
>>
>> I am a string that contains \r\n\t
>>
>> [Ljava.lang.Object; does not exist*\r\n\t*at
>> com.livecluster.core.tasklet
>>
>>
>> I would like it p
there are 0D 0A 09
%c %d 116
*%c %d 13%c %d 10%c %d
9*
%c %d 97
On Sat, Jan 27, 2018 at 9:05 PM, Dennis Lee Bieber
wrote:
> On Sat, 27 Jan 2018 20:33:58 -0500, Jason Qian via Python-list
> declaimed the following:
>
> > Ljava.lang.Object; does not exis
, you could try to create a wheel file with your django project and
try that, but it is really complex.
Why do you want to package a Django app into a C file with a compiler?
--
Stéphane Wirtel - http://wirtel.be - @matrixise
--
https://mail.python.org/mailman/listinfo/python-list
99 c
%d %c 111 o
%d %c 109 m
On Sun, Jan 28, 2018 at 9:50 AM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Sat, 27 Jan 2018 21:23:02 -0500, Jason Qian via Python-list wrote:
>
> > there are 0D 0A 09
>
> If your string actually contains CARRIAGE
Thanks a lot :)
os.write(1, message) works !
On Sun, Jan 28, 2018 at 8:04 PM, Dan Stromberg wrote:
> How about:
> >>> os.write(1, message)
>
> On Sun, Jan 28, 2018 at 4:51 PM, Jason Qian via Python-list
> wrote:
> > print(repr(message)) out :
>
Thanks Peter,
replace print with os.write fixed the problem.
On Sun, Jan 28, 2018 at 3:57 AM, Peter Otten <__pete...@web.de> wrote:
> Jason Qian via Python-list wrote:
>
> > HI
> >
> >I have a string that contains \r\n\t
> >
> >[L
The message type is bytes, this may make different ?
print(type(message))
On Sun, Jan 28, 2018 at 8:41 PM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Sun, 28 Jan 2018 20:31:39 -0500, Jason Qian via Python-list wrote:
>
> > Thanks a lot :)
>
On 1/28/18 7:39 AM, Prahallad Achar wrote:
Hello team,
Could you please help me out in automation of IoT product end to end
Regards
Prahallad
<https://micropython.org/> ?
--Dale
--
https://mail.python.org/mailman/listinfo/python-list
Thank you Mr. Marvin
On 29 Jan 2018 12:02 pm, "Dale Marvin via Python-list" <
python-list@python.org> wrote:
> On 1/28/18 7:39 AM, Prahallad Achar wrote:
>
>> Hello team,
>> Could you please help me out in automation of IoT product end to end
>>
, "s", &sp)) {
}
and got
"SystemError: new style getargs format but argument is not a tuple"
Thanks for the help
--
https://mail.python.org/mailman/listinfo/python-list
Hi Chris,
Thanks a lot ! Using PyUnicode_DecodeUTF8 fix the problem.
On Sun, Feb 4, 2018 at 12:02 PM, Chris Angelico wrote:
> On Mon, Feb 5, 2018 at 3:52 AM, Jason Qian via Python-list
> wrote:
> > Hi,
> >
> >This is the case of calling python from c and th
Hi,
This only works when loading modules from the current directory.
Is there a way I can load from somewhere else ?
Thanks for help,
--
https://mail.python.org/mailman/listinfo/python-list
ve.” —John |
_o__) F. Woods |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Hello! So I downloaded “Python” program in C:>Users>(my
name)>AppData>Local>Programs>Python.And then in “Local” folder I can’t find
“Programs” folder,but it says it downloaded in “Programs”.So can you help me.
--
https://mail.python.org/mailman/listinfo/python-list
Thanks a lot and I will take a look Cython,
On Mon, Feb 19, 2018 at 3:23 PM, Stefan Behnel wrote:
> Jason Qian via Python-list schrieb am 04.02.2018 um 17:52:
> >This is the case of calling python from c and the python function
> will
> > return a string.
>
> Hi J
https://mail.python.org/mailman/listinfo/python-list
Thanks Chris,
I think I figured it out that when build python on Linux, we need to
enable-shared.
Thanks again,
On Mon, Feb 19, 2018 at 5:04 PM, Chris Angelico wrote:
> On Tue, Feb 20, 2018 at 8:07 AM, Jason Qian via Python-list
> wrote:
> > Hi,
> >
> > I am
I try to run an application with the latest version of python that is python
3.6.4 (32-bit) ., instead of running the application it only shows feel free to
mail python-list@python.org if you continue to encounter issues,Please help me
out thanks.
--
https://mail.python.org/mailman/listinfo
How will i bypass web application firewall
--
https://mail.python.org/mailman/listinfo/python-list
ded", it's straight-up broken.
> The only thing that is most noticeable about UTC is the incorporation
> of leap-seconds.
I've never yet managed to find an application where leap-seconds matter
;-)
--
https://mail.python.org/mailman/listinfo/python-list
there is insufficient
consensus as to what that actually means.
--
https://mail.python.org/mailman/listinfo/python-list
also defines a format for
durations (e.g. 'P4Y3M' for '4 years 3 months'), I don't think
I have ever seen it used in practice - not least because apparently
it doesn't define what it actually means. So there isn't one simple
standard agreed by everyone that is an obvious candidate for inclusion
in language standard libraries.
--
https://mail.python.org/mailman/listinfo/python-list
's all in their own slightly-different
little niches. There isn't one straightforward standard that makes all
or even most of them happy.
--
https://mail.python.org/mailman/listinfo/python-list
division
operation ;-)
--
https://mail.python.org/mailman/listinfo/python-list
.
Life is complicated. Then you die.
-Original Message-
From: Chris Angelico
To: python-list@python.org
Sent: Wed, Apr 20, 2022 3:49 pm
Subject: Re: Why no list as dict key?
On Thu, 21 Apr 2022 at 05:30, Sam Ezeh wrote:
>
> Repeating the above points, here is an example of what would
n.org/mailman/listinfo/python-list
nil
On Friday, April 22, 2022, 09:09:22 AM PDT, Sunil KR via Python-list
wrote:
I have some scripts that are old and won't work under python2 and at the same
time I am writing new scripts which will use python3. However, if python 2 and
3 cannot co-exist in a windows box it will
ddressed to him?
Best wishes
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
user can ignore
or not even catch.
-Original Message-
From: Chris Angelico
To: python-list@python.org
Sent: Fri, Apr 22, 2022 6:33 pm
Subject: Re: Style for docstring
On Sat, 23 Apr 2022 at 08:24, <2qdxy4rzwzuui...@potatochowder.com> wrote:
>
> On 2022-04-22 at 15:35:15 -050
d by either style but when
documenting what is, I prefer proper English (or any otherlanguage) in
communicating what it does for them.
As with many such things, if you work for a company or with groups of others,
it is wise to find out what is expected and do the same as much as reasonable.
.
-Original Message-
From: Michael F. Stemper
To: python-list@python.org
Sent: Sat, Apr 23, 2022 8:57 am
Subject: Re: Style for docstring
On 22/04/2022 21.58, Avi Gross wrote:
> Python does have a concept of "truthy" that includes meaning for not just the
> standard
, if I can make python 2 and 3
coexist on my system
> On 22 Apr 2022, at 17:10, Sunil KR via Python-list
wrote:
>
> I have some scripts that are old and won't work under python2 and at the
> same time I am writing new scripts which will use python3. However, if python
Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
lines of text with a fixed or maximum
width,then storing in some database format, perhaps indexed, may be a way to go.
A time stamped log file is a good example.
So which problem is really supposed to be solved for the original question?
-Original Message-----
From: Roel Schroeven
To: py
t;, "Return(s)": "Text",
"Optional-Note": "Text", "French version": DocStringFrench}
Too late to seriously change the language now!
-Original Message-
From: Michael F. Stemper
To: python-list@python.org
Sent: Sun, Apr 24, 2022 9:24 am
Subj
xercises> python hello.py*
*The system cannot find the path specified.*
*C:\Users\gd752>cd C:\google-python-exercises>*
*The syntax of the command is incorrect.*
I installed version 3.10. I am stuck and could use some help.
Thx,
[image: directory pic.png]
--
https://mail.python.org/m
items which are frobby and composes a
nangle of the items.
'''
I very much like the concise imperative opening sentence, sometimes 2
sentences. Then the elaboration if the function isn't trivially obvious.
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
t;pythonic" as I've never seen anyone do that (that doesn't mean of
course that other people haven't seen it done!) Personally I only tend
to use print() for debugging output.
> 4. Does Python 3.x exhibit the same behaviour as Python 2.x in this respect?
Yes.
--
https://mail.python.org/mailman/listinfo/python-list
1501 - 1600 of 5713 matches
Mail list logo