Re: Book recommendation? For getting up to date (Posting On Python-List Prohibited)

2025-02-21 Thread rbowman via Python-list
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

Re: Book recommendation? For getting up to date

2025-02-20 Thread songbird via 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

Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"

2025-03-08 Thread inhahe via 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

Machine Learning Methods for Longitudinal Data with Python – Online Course (6-9 May)

2025-02-28 Thread info--- via Python-list
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

magic-wormhole 0.18.0

2025-03-12 Thread meejah via Python-list
all contributors and users, meejah -- https://mail.python.org/mailman/listinfo/python-list

Re: Pip installs to unexpected place

2025-04-13 Thread dn via 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

Re: Pip installs to unexpected place

2025-04-14 Thread rbowman via Python-list
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

Re: Pip installs to unexpected place

2025-04-16 Thread rbowman via 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

Re: Pip installs to unexpected place

2025-04-15 Thread dn via 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

Re: Pip installs to unexpected place

2025-04-15 Thread rbowman via Python-list
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

Re: Pip installs to unexpected place

2025-04-15 Thread rbowman via 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

Re: Pip installs to unexpected place

2025-04-14 Thread rbowman via Python-list
ll agree it sounds like the venv wasn't activated. -- https://mail.python.org/mailman/listinfo/python-list

Re: Pip installs to unexpected place

2025-04-21 Thread songbird via 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

Re: Pip installs to unexpected place

2025-04-21 Thread rbowman via Python-list
5, in import matplotlib.pyplot as plt ModuleNotFoundError: No module named 'matplotlib' -- https://mail.python.org/mailman/listinfo/python-list

Have do_nothing as default action for dictionary?

2017-09-03 Thread Christopher Reimer via 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

Looking for Python examples for querying, selecting items in N-Triples

2017-09-04 Thread David Shi via 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

How best to search and get values of label in N-Triples

2017-09-04 Thread David Shi via Python-list
bel? Regards, David -- https://mail.python.org/mailman/listinfo/python-list

Re: Have do_nothing as default action for dictionary?

2017-09-04 Thread Christopher Reimer via 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

Can some one give examples of how to use graph.label to get data values while dealing with N-Triples files?

2017-09-04 Thread David Shi via 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

How to get values for skos/note, skos/notation and label in N-Triples

2017-09-05 Thread David Shi via 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

Setting property for current class from property in an different class...

2017-09-06 Thread Christopher Reimer via 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

Re: Setting property for current class from property in an different class...

2017-09-06 Thread Christopher Reimer via Python-list
r @property item? Thank you, Chris R. -- https://mail.python.org/mailman/listinfo/python-list

Re: Setting property for current class from property in an different class...

2017-09-07 Thread Christopher Reimer via 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

My Issues

2017-09-08 Thread Carson McDaniel via 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

Re: [Tutor] beginning to code

2017-09-13 Thread Larry Hudson via 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

Re: "tkinter"

2017-09-13 Thread Larry Hudson via 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

Re: The Incredible Growth of Python (stackoverflow.blog)

2017-09-14 Thread Mark Lawrence via Python-list
p://www.avg.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Easy way to get a list of tuples.

2017-09-21 Thread Mark Lawrence via 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

Re: [Tutor] beginning to code

2017-09-22 Thread Mark Lawrence via 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

Re: [Tutor] beginning to code

2017-09-22 Thread Mark Lawrence via Python-list
ww.avg.com -- https://mail.python.org/mailman/listinfo/python-list

Re: [Tutor] beginning to code

2017-09-23 Thread Mark Lawrence via 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

Re: Beginners and experts (Batchelder blog post)

2017-09-27 Thread Larry Hudson via Python-list
#x27;t figure out sooner that he couldn't. -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Printing a Chunk Of Words

2017-09-28 Thread Mark Lawrence via 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

Re: newb question about @property

2017-10-02 Thread Larry Hudson via 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

Re: The "loop and a half"

2017-10-03 Thread Larry Hudson via Python-list
x = get_num('Number ( to terminate: ', abrt=True) if x is None: break -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2 -> 3, urllib.urlOpen

2017-10-14 Thread Mark Lawrence via 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

why del is not a function or method?

2017-10-16 Thread Xue Feng via Python-list
illar with? -- https://mail.python.org/mailman/listinfo/python-list

Re: why del is not a function or method?

2017-10-16 Thread Ben Finney via 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

ANN: distlib 0.2.6 released on PyPI

2017-10-28 Thread Vinay Sajip via Python-list
https://mail.python.org/mailman/listinfo/python-list

pythonw.exe error

2017-10-30 Thread George Kalamaras via Python-list
When I am running IDLE return to me Missing python36.dll error Στάλθηκε από την Αλληλογραφία για Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

Any good explanations on pd.merge(df,df2, on=['Code', 'Region'])

2017-11-08 Thread David Shi via 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

Re: can't get python to run

2017-11-12 Thread Mary Ann via 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

Round to 2 decimal places

2017-12-06 Thread nick martinez via Python-list
ea,) else: print("No negatives allowed, try again.") -- https://mail.python.org/mailman/listinfo/python-list

Re: Round to 2 decimal places

2017-12-06 Thread nick martinez via 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

Re: Round to 2 decimal places

2017-12-06 Thread nick martinez via 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

Re: Round to 2 decimal places

2017-12-06 Thread nick martinez via 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

Python homework

2017-12-08 Thread nick martinez2 via Python-list
f __name__ == "__main__": result = rollDie(50) print (result) print(max(result)) -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Templating Language

2017-12-18 Thread Brian Oney via 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

Re: Native object exposing buffer protocol

2018-01-05 Thread Ben Finney via 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

Re: Why does __ne__ exist?

2018-01-07 Thread Ben Finney via Python-list
nd I speech | _o__) nothing, for I no verbs.” —Peter Ellis | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Very strange issues with collections.Mapping

2018-01-19 Thread John Krukoff via 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

error message by installation

2018-01-19 Thread ‪Ibrahim Nasr‬ ‪ via Python-list
kindly inform me what to do. -- https://mail.python.org/mailman/listinfo/python-list

Help: 64bit python call c and got OSError: exception: access violation writing 0xFFFFFFFF99222A60

2018-01-22 Thread Jason Qian via 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

Re: Help: 64bit python call c and got OSError: exception: access violation writing 0xFFFFFFFF99222A60

2018-01-22 Thread Jason Qian via 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

Re: Help: 64bit python call c and got OSError: exception: access violation writing 0xFFFFFFFF99222A60

2018-01-22 Thread Jason Qian via Python-list
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.

Re: Help: 64bit python call c and got OSError: exception: access violation writing 0xFFFFFFFF99222A60

2018-01-24 Thread Jason Qian via Python-list
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 &

Python call c pass a callback function on Linux

2018-01-24 Thread Jason Qian via Python-list
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

Re: Python call c pass a callback function on Linux

2018-01-24 Thread Jason Qian via 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

Re: Help: 64bit python call c and got OSError: exception: access violation writing 0xFFFFFFFF99222A60

2018-01-24 Thread Jason Qian via Python-list
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

Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
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

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
cluster.core.tasklet > > > -- https://mail.python.org/mailman/listinfo/python-list

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via 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 >>

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
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

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
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

Re: How to embed a native JIT compiler to a django app?

2018-01-28 Thread Stephane Wirtel via Python-list
, 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

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via 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

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
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 : >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
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

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
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 :) >

Re: IoT automation

2018-01-28 Thread Dale Marvin via Python-list
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

Re: IoT automation

2018-01-29 Thread Prahallad Achar via 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 >>

Help on convert PyObject to string (c) Python 3.6

2018-02-04 Thread Jason Qian via Python-list
, "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

Re: Help on convert PyObject to string (c) Python 3.6

2018-02-04 Thread Jason Qian via 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

Help on PyImport_Import(pNAme)

2018-02-04 Thread Jason Qian via Python-list
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

Re: $srcdir and $datadir

2018-02-10 Thread Ben Finney via Python-list
ve.” —John | _o__) F. Woods | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

"Programs" folder not found.

2018-02-15 Thread Enerel Amgalan via 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

Re: Help on convert PyObject to string (c) Python 3.6

2018-02-19 Thread Jason Qian via 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

How to link to python 3.6.4 library on linux ?

2018-02-19 Thread Jason Qian via Python-list
https://mail.python.org/mailman/listinfo/python-list

Re: How to link to python 3.6.4 library on linux ?

2018-02-19 Thread Jason Qian via 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

APPLICATION NOT RUNNING.

2018-03-02 Thread Faruq Bashir via Python-list
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

Bypassing firewall

2018-03-05 Thread Faruq Bashir via Python-list
    How will i bypass web application firewall -- https://mail.python.org/mailman/listinfo/python-list

Re: Why does datetime.timedelta only have the attributes 'days' and 'seconds'?

2022-04-16 Thread Jon Ribbens via 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

Re: Why does datetime.timedelta only have the attributes 'days' and 'seconds'?

2022-04-19 Thread Jon Ribbens via Python-list
there is insufficient consensus as to what that actually means. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why does datetime.timedelta only have the attributes 'days' and 'seconds'?

2022-04-19 Thread Jon Ribbens via 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

Re: Why does datetime.timedelta only have the attributes 'days' and 'seconds'?

2022-04-19 Thread Jon Ribbens via 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

Re: Why does datetime.timedelta only have the attributes 'days' and 'seconds'?

2022-04-19 Thread Jon Ribbens via Python-list
division operation ;-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Why no list as dict key?

2022-04-20 Thread Avi Gross via 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

How to have python 2 and 3 both on windows?

2022-04-22 Thread Sunil KR via Python-list
n.org/mailman/listinfo/python-list

Re: How to have python 2 and 3 both on windows?

2022-04-22 Thread Sunil KR via 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

Re: Style for docstring

2022-04-22 Thread Rob Cliffe via Python-list
ddressed to him? Best wishes Rob Cliffe -- https://mail.python.org/mailman/listinfo/python-list

Re: Style for docstring

2022-04-22 Thread Avi Gross via 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

Re: Style for docstring

2022-04-22 Thread Avi Gross via Python-list
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.

Re: Style for docstring

2022-04-23 Thread Avi Gross via Python-list
. -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

Re: How to have python 2 and 3 both on windows?

2022-04-23 Thread Sunil KR via Python-list
, 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

Re: How to have python 2 and 3 both on windows?

2022-04-24 Thread Sunil KR via Python-list
        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

Re: tail

2022-04-24 Thread Avi Gross via 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

Re: Style for docstring

2022-04-24 Thread Avi Gross via Python-list
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

Re: Verifying I installed Python correctly

2022-04-25 Thread Sunil KR via Python-list
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

Re: Style for docstring

2022-04-25 Thread Rob Cliffe via Python-list
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

Re: Printing Unicode strings in a list

2022-04-28 Thread Jon Ribbens via 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

<    11   12   13   14   15   16   17   18   19   20   >