Re: ANN: Dogelog Runtime, Prolog to the Moon (2021)

2021-09-15 Thread alister via Python-list
On Wed, 15 Sep 2021 11:56:47 -0700, Mostowski Collapse wrote: > What could be slow, repeatedly requesting the "args" > field. Maybe I should do: > > help = term.args i = 0 while i < len(help) - 1: > mark_term(help[i]) > i += 1 term = help[i] > No this construct is a common error in new p

Re: XML Considered Harmful

2021-09-21 Thread alister via Python-list
On Tue, 21 Sep 2021 13:12:10 -0500, Michael F. Stemper wrote: > On the prolog thread, somebody posted a link to: > > > One thing that it tangentially says is "XML is not the answer." > > I read this page right when I was about to write an

Re: XML Considered Harmful

2021-09-21 Thread alister via Python-list
On Tue, 21 Sep 2021 14:22:52 -0500, Michael F. Stemper wrote: > On 21/09/2021 13.49, alister wrote: >> On Tue, 21 Sep 2021 13:12:10 -0500, Michael F. Stemper wrote: >> >>> On the prolog thread, somebody posted a link to: >>> <https://dirtsimple.org/2004/12/

Re: The task is to invent names for things

2021-10-29 Thread alister via Python-list
On Thu, 28 Oct 2021 00:41:41 +0200, Peter J. Holzer wrote: > On 2021-10-27 12:41:56 +0200, Karsten Hilbert wrote: >> Am Tue, Oct 26, 2021 at 11:36:33PM + schrieb Stefan Ram: >> > xyzzy = lambda x: 2 * x >> > . Sometimes, this can even lead to "naming paralysis", where one >> > thinks exces

Re: The task is to invent names for things

2021-10-29 Thread alister via Python-list
On Thu, 28 Oct 2021 00:38:17 +, Eli the Bearded wrote: > In comp.lang.python, Peter J. Holzer wrote: > ^^ > > Those all work. But if you are writing a new web framework and you name > your method to log stuff to a remote server "Britney" because you were > listening the sing

Re: What to write or search on github to get the code for what is written below:

2022-01-07 Thread alister via Python-list
On Thu, 6 Jan 2022 10:55:30 -0800 (PST), NArshad wrote: > All this is going to be in python’s flask and HTML only > > 1. First, I have to check in the Excel sheet or table whether the book > user has entered is present in the book bank or not. > Excel is the wrong application for storing this da

Re: What to write or search on github to get the code for what is written below:

2022-01-09 Thread alister via Python-list
On Sat, 8 Jan 2022 23:04:20 -0800 (PST), NArshad wrote: > On Friday, 7 January 2022 at 02:59:17 UTC+5, alister wrote: >> On Thu, 6 Jan 2022 10:55:30 -0800 (PST), NArshad wrote: >> >> > All this is going to be in python’s flask and HTML only >> > >> > 1.

Re: What to write or search on github to get the code for what is written below:

2022-01-09 Thread alister via Python-list
On Sun, 9 Jan 2022 08:53:58 -0800 (PST), NArshad wrote: > -Whose time?? > My time I do not have not time to switch to a database but if necessary > I can use the database to make changes in Excel column entries. > > -No changes?? > > I cannot change the column names. > > > -“maybe the point is

Re: Writing a string with comma in one column of CSV file

2022-01-15 Thread alister via Python-list
On Sat, 15 Jan 2022 20:56:22 + (UTC), Mahmood Naderan wrote: > Hi, > I use the following line to write some information to a CSV file which > is comma delimited. > > f = open(output_file, 'w', newline='') > wr = csv.writer(f) > ... > f.write(str(n) + "," + str(key) + "\n" ) > > > Problem is

Re: How do you log in your projects?

2022-02-11 Thread alister via Python-list
On Wed, 9 Feb 2022 19:38:23 +, Martin Di Paola wrote: >>> - On a line per line basis? on a function/method basis? > > In general I prefer logging line by line instead per function. > > It is easy to add a bunch of decorators to the functions and get the > logs of all the program but I most o

Python Qualification?

2022-03-29 Thread alister via Python-list
I'm currently considering a career change (not much choice actually just been made redundant). I'd like to be able to turn my interest in python to my advantage, What qualifications do employers look for? -- I'm reporting for duty as a modern person. I want to do the Latin Hustle now! -- h

Re: Python Qualification?

2022-03-30 Thread alister via Python-list
On Tue, 29 Mar 2022 20:49:53 -0400, Dennis Lee Bieber wrote: > On Tue, 29 Mar 2022 19:26:03 - (UTC), alister > declaimed the following: > >>I'm currently considering a career change (not much choice actually just >>been made redundant). >>I'd like to be

Re: ANN: eGenix Antispam Bot for Telegram 0.2.0

2022-04-04 Thread alister via Python-list
On Mon, 4 Apr 2022 14:40:57 +0200, eGenix Team wrote: > > > ANNOUNCING > > eGenix Antispam Bot for Telegram > > Version 0.2.0 > >A simple, yet effective bot

Re: is there somebody that have experince with python and canopen

2022-04-15 Thread alister via Python-list
On Fri, 15 Apr 2022 10:18:33 -0700 (PDT), luca72.b...@gmail.com wrote: > We are searching for someone that can develop a python program for use > servomotor for automotive. What location & what is the salary? (although based on the method of recruitment I doubt that you will get many takers)

Re: test

2018-03-12 Thread Alister via Python-list
On Mon, 12 Mar 2018 13:43:01 -0500, Yuan Xue wrote: > test failed -- Mollison's Bureaucracy Hypothesis: If an idea can survive a bureaucratic review and be implemented it wasn't worth doing. -- https://mail.python.org/mailman/listinfo/python-list

Re: Style Q: Instance variables defined outside of __init__

2018-03-20 Thread Alister via Python-list
On Tue, 20 Mar 2018 08:52:29 +, Steven D'Aprano wrote: > On Tue, 20 Mar 2018 02:43:13 -0400, Terry Reedy wrote: > >> I think a claim that in all programs all attributes should be set *in* >> __init__, as opposed to *during* initialization, is wrong. All >> attribute setting is side-effect fr

Re: Thank you Python community!

2018-03-20 Thread Alister via Python-list
On Mon, 19 Mar 2018 19:21:04 -0700, Rick Johnson wrote: > On Monday, March 19, 2018 at 6:37:21 PM UTC-5, Ben Finney wrote: > >> -- >> \ "Success is going from one failure to the next without a loss >> | >> `\ of enthusiasm." -- Winston Churchill >> | >> _o

Re: Data Integrity Parsing json

2018-04-26 Thread Alister via Python-list
On Wed, 25 Apr 2018 14:32:01 -0700, Sayth Renshaw wrote: > Hi > > Hoping for guidance trying to find some advanced articles or guides or > topics for json parsing. > > I can parse and extract json just dandy. > > What I am trying to figure out is how I give myself surety that the data > I parse

Re: Stefan's headers [was:Names and identifiers]

2018-06-11 Thread Alister via Python-list
On Mon, 11 Jun 2018 21:03:59 +0100, MRAB wrote: > On 2018-06-11 20:17, Rick Johnson wrote: >> On Monday, June 11, 2018 at 1:02:15 PM UTC-5, Chris Angelico wrote: >> >>> You're trying to argue against my hypothetical statements about game >>> publishing, and declaring that it's possible to use sof

Re: What is the "Unpacking Arguments List" rule?

2018-06-13 Thread Alister via Python-list
On Wed, 13 Jun 2018 14:21:53 +0800, sa...@caprilion.com.tw wrote: > [Of the first part] > line 19 is > action(progress=progress, *args) > where the args is a tuple > args = (i, 3) > and the function is defined as > def action(id, reps, progress): > > In documents 4.7.2. Keyword Arg

Re: Python list vs google group

2018-06-15 Thread Alister via Python-list
On Fri, 15 Jun 2018 08:28:38 -0700, T Berger wrote: > I'm suspecting that posting to python google groups (this site) gets > more responses than mailing to the python list. Am I correct? Also, > contrary to what I read on the python list information sheet, what shows > up in this forum does not ma

Re: syntax difference

2018-06-16 Thread Alister via Python-list
On Sat, 16 Jun 2018 12:01:16 -0700, Sharan Basappa wrote: > Is there a difference between these prints. The first one looks a bit > complex. So, why should it be used? > > my_age = 35 # not a lie > > print "my age %s." % my_age print "my age ", my_age > > Output: > %run "D:/Projects/Initiatives

Re: Understanding memory location of Python variables

2018-06-16 Thread Alister via Python-list
On Sat, 16 Jun 2018 13:19:04 -0400, Joel Goldstick wrote: > On Sat, Jun 16, 2018 at 12:38 PM, wrote: >> Hi everyone, >> >> I'm intrigued by the output of the following code, which was totally >> contrary to my expectations. Can someone tell me what is happening? >> > myName = "Kevin" > i

Re: Scanner freakishness [was Re: Python list vs google group]

2018-06-16 Thread Alister via Python-list
On Sat, 16 Jun 2018 14:25:52 -0400, William Ray Wing wrote: >> On Jun 16, 2018, at 9:10 AM, Steven D'Aprano >> wrote: >> >> On Sat, 16 Jun 2018 11:54:15 +1000, Chris Angelico wrote: >> >>> On Sat, Jun 16, 2018 at 11:00 AM, Jim Lee wrote: >> I once had a Mustek color scanner that came wit

Re: Python list vs google group

2018-06-18 Thread Alister via Python-list
On Fri, 15 Jun 2018 09:32:05 -0700, T Berger wrote: > On Friday, June 15, 2018 at 11:55:59 AM UTC-4, Chris Angelico wrote: >> Perhaps quantity is not the important thing here. > > It is the important thing. I'm stuck with a problem and still waiting > for replies to my email. I've decided to repo

Re: syntax difference

2018-06-20 Thread Alister via Python-list
On Wed, 20 Jun 2018 03:13:09 +, Steven D'Aprano wrote: > On Tue, 19 Jun 2018 12:13:40 -0700, Jim Lee wrote: > >> On 06/19/2018 04:13 AM, Ed Kellett wrote: >>> I think we're all--still--missing the larger point that "easy to >>> remove" is a completely stupid metric for judging language featur

Re: syntax difference

2018-06-20 Thread Alister via Python-list
On Wed, 20 Jun 2018 13:59:40 +, Grant Edwards wrote: > On 2018-06-20, Alister via Python-list wrote: > >> Annotations were invented by the Nazi's on the explicit instruction of >> Hitler. there, can someone now invoke Godwins law & call this >> discussion

Re: syntax difference

2018-06-20 Thread Alister via Python-list
On Tue, 19 Jun 2018 16:25:50 -0700, bart4858 wrote: > Some of that can be done. It may not need specific support. > > But my intention is to have an ordinary language for everyday coding not > one that can only be understood by CS professors. > > Mine is unusual in that I can drop features I rar

Re: syntax difference

2018-06-21 Thread Alister via Python-list
On Wed, 20 Jun 2018 11:41:23 -0700, bart4858 wrote: > The actual interpreter code is irrelevant. Switch would be a feature of > the language being interpreted, not of the interpreter. > > If the task is to match an expression X against a variety of values, > then expressing that as a switch means

Re: Python for beginners or not? [was Re: syntax difference]

2018-06-25 Thread Alister via Python-list
On Mon, 25 Jun 2018 11:36:25 +0400, Abdur-Rahmaan Janhangeer wrote: > i think he means like for a loop to iterate over a list you might do > > list = [1,2,3] > for i in range(len(list)): > print(list[i]) > > > but the you might as well go for the simpler : > > > for elem in list: > >

Re: Python for beginners or not? [was Re: syntax difference]

2018-06-25 Thread Alister via Python-list
On Mon, 25 Jun 2018 11:42:27 +0100, Mark Lawrence wrote: > On 25/06/18 10:10, Alister via Python-list wrote: >> On Mon, 25 Jun 2018 11:36:25 +0400, Abdur-Rahmaan Janhangeer wrote: >> >>> i think he means like for a loop to iterate over a list you might do >>>

Re: Something new which all programmers world wide will appreciate

2018-06-28 Thread Alister via Python-list
On Wed, 27 Jun 2018 14:30:15 -0700, Rob Gaddi wrote: > On 06/27/2018 02:14 PM, skybuck2...@hotmail.com wrote: >> Now I don't like the French much ! LOL. >> >> But this time they have invented something which will fill programmers >> with tears of joy ! =D >> >> http://www.euronews.com/2018/06/27

Re: Using Python with a website

2018-07-05 Thread Alister via Python-list
On Wed, 04 Jul 2018 23:25:14 +, Adrian Taylor wrote: > G'day All, > > I have just discovered Python and thanks to a script by Ethan I can read > a foxpro database and change the required values. > However my next big step is to be able to use this python feature within > a website. > > Basic

Re: test for absence of infinite loop

2018-07-17 Thread Alister via Python-list
On Tue, 17 Jul 2018 10:10:49 +0100, Robin Becker wrote: > A user reported an infinite loop in reportlab. I determined a possible > cause and fix and would like to test for absence of the loop. Is there > any way to check for presence/absence of an infinite loop in python? I > imagine we could do s

Re: using python's logo in your own logo

2018-08-09 Thread Alister via Python-list
On Thu, 09 Aug 2018 12:13:07 +0400, Abdur-Rahmaan Janhangeer wrote: > in short, > > can you use python's logo in your own logo without credit? > > yours, > > Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius I would expect the answer to that to be a big NO. I am pretty sure

Re: (new try) - Running a second wsgi script from within the first wsgi script

2018-09-10 Thread Alister via Python-list
On Sun, 09 Sep 2018 18:47:49 -0700, Νίκος Βέργος wrote: > I have 3 wsgi scripts listening on 3 locations. What i'm trying to run > an wsgi script from within another wsgi script with the following > statement. > > page = 'clientele' > pdata = requests.get( 'http://superhost.gr/' + page ) > pdata

Re: Sending file to the user gives UnicodeEncodeError in Flask framework

2018-09-12 Thread Alister via Python-list
On Wed, 12 Sep 2018 06:57:36 -0700, Νίκος Βέργος wrote: > I want to send the user a file when he clicks the appropriate button and > I'm suing the following. > > # Prepare selected file for download... > send_file( '/home/nikos/wsgi/static/files/' + filename ) > > But no matter what

Re: Experiences with a programming exercise

2018-09-15 Thread Alister via Python-list
On Sat, 15 Sep 2018 17:08:57 +, Stefan Ram wrote: > I gave two different functions: > > def triangle(): > for i in range( 3 ): > forward( 99 ); left( 360/3 ) > > def rectangle() > for i in range( 4 ): > forward( 99 ); left( 360/4 ) > > , and the exercise was to wri

Re: What's an elegant way to test for list index existing?

2018-09-29 Thread Alister via Python-list
On Fri, 28 Sep 2018 19:00:29 +0100, Chris Green wrote: > I have a list created by:- > > fld = shlex.split(ln) > > It may contain 3, 4 or 5 entries according to data read into ln. What's > the neatest way of setting the fourth and fifth entries to an empty > string if they don't (yet) exist?

Re: What's an elegant way to test for list index existing?

2018-09-30 Thread Alister via Python-list
On Sun, 30 Sep 2018 11:45:21 +0100, Bart wrote: > On 30/09/2018 11:14, Chris Green wrote: >> Chris Angelico wrote: >>> On Sat, Sep 29, 2018 at 12:21 PM Chris Green wrote: I have a list created by:- fld = shlex.split(ln) It may contain 3, 4 or 5 entries accordin

Re: Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.

2018-10-04 Thread Alister via Python-list
On Wed, 03 Oct 2018 09:43:07 -0700, Musatov wrote: > On Wednesday, October 3, 2018 at 11:12:43 AM UTC-5, Michael Torrie > wrote: >> On 10/03/2018 09:26 AM, Musatov wrote: >> > I don't even know where to begin! (I'm reading the Dummies book) >> >> If you have no experience in computer programming,

Re: Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.

2018-10-04 Thread Alister via Python-list
On Thu, 04 Oct 2018 09:44:01 +0100, Tony van der Hoff wrote: > On 04/10/18 09:31, Alister via Python-list wrote: >> On Wed, 03 Oct 2018 09:43:07 -0700, Musatov wrote: >> >>> On Wednesday, October 3, 2018 at 11:12:43 AM UTC-5, Michael Torrie >>> wrote: >>&

Re: Creating dice game : NEED HELP ON CHECKING ELEMENTS IN A LIST

2018-10-06 Thread Alister via Python-list
On Sat, 06 Oct 2018 21:56:09 +0200, Thomas Jollans wrote: > On 06/10/2018 20:10, eliteanarchyra...@gmail.com wrote: >> # - THIS LINE IS WHERE I NEED HELP # ( if 2, 3, 4, 6 in list: >> ) >> print("you can roll again") >> else: >> print("you have all 1's and 5's in your result") >

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Alister via Python-list
On Mon, 08 Oct 2018 12:46:48 -0700, Ethan Furman wrote: > On 10/08/2018 07:43 AM, Rhodri James wrote: > >> I appreciate that the moderators are volunteers, but they have official >> power on this list.  Being volunteers doesn't mean that they can't get >> it wrong, or that we shouldn't call them

Re: Overwhelmed by the Simplicity of Python. Any Recommendation?

2018-10-13 Thread Alister via Python-list
On Fri, 12 Oct 2018 09:12:03 -0700, Rob Gaddi wrote: > On 10/11/2018 11:29 PM, Kaan Taze wrote: >> Hi everyone, >> >> Since this is my first post to mail-list I'm kind of hesitant to ask >> this question here but as many of you spend years working with Python >> maybe some of you can guide me. >>

Re: how to match list members in py3.x

2018-11-25 Thread Alister via Python-list
On Sun, 25 Nov 2018 07:43:42 -0800, Muhammad Rizwan wrote: > for each word in each line how can we check to see if a word is already > present in a list and if it is not how to append that word to a new list the 1st step is to stay awake in class & listen to your instructor, then try to apply th

Re: how to match list members in py3.x

2018-11-25 Thread Alister via Python-list
On Sun, 25 Nov 2018 08:49:03 -0800, Muhammad Rizwan wrote: > On Sunday, 25 November 2018 10:59:46 UTC-5, Alister wrote: >> On Sun, 25 Nov 2018 07:43:42 -0800, Muhammad Rizwan wrote: >> >> > for each word in each line how can we check to see if a word is >> > al

Re: Program to keep track of success percentage

2018-12-08 Thread Alister via Python-list
On Sat, 08 Dec 2018 10:02:41 -0800, Musatov wrote: > I am thinking about a program where the only user input is win/loss. The > program let's you know if you have won more than 31% of the time or not. > Any suggestions about how to approach authoring such a program? Thanks. To start describe how

Re: Are all items in list the same?

2019-01-08 Thread Alister via Python-list
On Tue, 08 Jan 2019 16:48:58 +0200, Serhiy Storchaka wrote: > 08.01.19 11:07, Peter Otten пише: >> Bob van der Poel wrote: >> >>> I need to see if all the items in my list are the same. I was using >>> set() >>> for this, but that doesn't work if items are themselves lists. So, >>> assuming that

Re: Are all items in list the same?

2019-01-08 Thread Alister via Python-list
On Tue, 08 Jan 2019 17:15:17 +, Alister wrote: > On Tue, 08 Jan 2019 16:48:58 +0200, Serhiy Storchaka wrote: > >> 08.01.19 11:07, Peter Otten пише: >>> Bob van der Poel wrote: >>> >>>> I need to see if all the items in my list are the same. I wa

Re: 3 random numbers

2019-01-15 Thread Alister via Python-list
On Tue, 15 Jan 2019 06:13:00 -0800, Gengyang Cai wrote: > I managed to solve the problem and also another problem with different 3 > random numbers. But it wasn't a very good question in the first place, i > admit > > Indeed it is a poorly write exercise & I suspect it has been misinterpret

Re: Exercize to understand from three numbers which is more high

2019-01-27 Thread Alister via Python-list
On Sun, 27 Jan 2019 15:59:42 +0100, ^Bart wrote: >> You have got to a starting point - you have three numbers. Good. >> >> Where do you do go from here? >> >> I would start with two of the numbers, and work out which one is >> higher. > > # SOLVED!!! > number1 = int( input("Insert the first num

Re: How to replace space in a string with \n

2019-01-31 Thread Alister via Python-list
On Thu, 31 Jan 2019 10:18:20 +0100, ^Bart wrote: > Hello everybody! :) > > I got a text and I should replace every space with \n without to use > str.replace, Why? > I thought something like this: > > text = "The best day of my life!" > > space = (' ') > > if text.count(' ') in text: >

Re: Python program to phone?

2019-02-06 Thread Alister via Python-list
On Mon, 04 Feb 2019 15:20:58 -0500, Steve wrote: > I have written my first python program (600 lines!) to help control my > blood sugar and it has been so successful that my A1c dropped form 9.3 > to an impressive 6.4. It will be much more useful if I had it on my > phone. (MotoG, Android) The .

Re: What's the address for?

2019-02-18 Thread Alister via Python-list
On Mon, 18 Feb 2019 11:59:18 +, Stefan Ram wrote: > When one prints a function, one might get something like: > > > > . The participants of my basic course asked me what the address is > for. I did not know. > > What's so important about the (presumed) address of a function that it >

Re: The if is not working properly

2019-05-19 Thread Alister via Python-list
On Sun, 19 May 2019 20:29:35 +1000, Cameron Simpson wrote: > On 18May2019 13:22, nobelio wrote: >>When you print the variable “a” it appears as True, but the program is >>it is not getting in the if a==True: > > It may be that "a" is not the Boolean value True but something else. But > that is j

Re: How to split a list type array into float array?

2019-05-21 Thread Alister via Python-list
On Tue, 21 May 2019 03:38:43 -0700, Madhavan Bomidi wrote: > Hi, > > I have the following list type data: > > [' 29.7963 29.6167 29.4371 29.2574 29.0778 28.8982 28.7185 > 28.5389 28.3593 28.1797 28. 27.8204 27.6408 27.4611 > 27.2815 27.1019 26.9223 26.7426

Re: (no subject)

2019-05-31 Thread Alister via Python-list
On Wed, 29 May 2019 08:07:06 +0530, Sri Tharun wrote: > Why I am unable to install packages because you are doing it wrong -- https://mail.python.org/mailman/listinfo/python-list

Re: how to setup for localhost:8000

2019-07-07 Thread Alister via Python-list
On Sun, 07 Jul 2019 16:57:12 +, nabru wrote: > jaymoyer44 [jaymoye...@gmail.com] wrote: > >> On Thursday, April 14, 2016 at 1:47:03 PM UTC-4, wrh...@gmail.com >> wrote: >>> Hi, >>> >>> I am working on window 7 and Python 3.5 to setup a localhost:8000 but >>> it did not get through as shown b

Re: Recent Spam problem

2017-07-25 Thread alister via Python-list
On Tue, 25 Jul 2017 17:29:56 +1000, Chris Angelico wrote: > On Tue, Jul 25, 2017 at 4:50 PM, wrote: >> I see two solutions: >> >> 1. We build new architecture or adept current one so it's more like a >> blockchain, have to calculate some hash before being able to post and >> upload and such. >>

Re: Installing matplotlib on python3

2017-07-27 Thread alister via Python-list
On Thu, 27 Jul 2017 04:40:40 -0700, FS wrote: > I just installed matplotlib on debian and I tried to import it on > python3. It cannot be found however it can be found on python 2.x. No > surprise: > A 'find -name matplotliib' reveals: > /usr/share/matplotlib /usr/lib/python2.7/dist-packages/mat

Re: Direct Download Movies - No Download Limits - Download DivX DVD Movies

2017-07-30 Thread alister via Python-list
On Sun, 30 Jul 2017 13:21:30 +1000, Chris Angelico wrote: > On Sun, Jul 30, 2017 at 1:08 PM, wrote: >> On Saturday, December 5, 2009 at 8:52:52 PM UTC-8, hussain dandan >> wrote: >>> Movie Download Reviews offers Free Online Movie Download,Hollywood >>> Movie Download,Free Full Movie Download,Do

Re: Planning a Python Course for Beginners

2017-08-09 Thread alister via Python-list
On Tue, 08 Aug 2017 14:19:53 +, Stefan Ram wrote: > I am planning a Python course. > > I started by writing the course akin to courses I gave in other > languages, that means, the course starts roughly with these topics: > > - number and string literals - types of number and string liter

Re: Validating regexp

2017-08-10 Thread alister via Python-list
On Thu, 10 Aug 2017 09:38:49 -0400, Larry Martell wrote: > On Wed, Aug 9, 2017 at 8:33 PM, Cameron Simpson wrote: >> On 09Aug2017 10:46, Jon Ribbens wrote: >>> >>> On 2017-08-09, Cameron Simpson wrote: On 08Aug2017 17:31, Jon Ribbens wrote: > > ... but bear in mind, there hav

Re: Solution Manual Test Bank for South-Western Federal Taxation 2018: Corporations, Partnerships, Estates and Trusts, 41st Edition by Hoffman

2017-08-15 Thread alister via Python-list
On Mon, 14 Aug 2017 15:48:02 -0700, zhilongch64 wrote: Please do the whole world a big favour & NEVER reply to spam if no-one responded this heinous practice would die. -- I hate users you sound like a sysadmin already! -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is my class undefined?

2017-08-17 Thread alister via Python-list
On Wed, 16 Aug 2017 18:02:48 -0700, Sayth Renshaw wrote: > On Thursday, 17 August 2017 09:03:59 UTC+10, Ian wrote: > wrote: >> > Morning >> > >> > I haven't ventured into classes much before. When trying to follow >> > some examples and create my own classes in a jupyter notebook I >> > receive

Re: Default .py program and Edit with IDLE problem

2017-08-19 Thread alister via Python-list
On Sun, 20 Aug 2017 01:56:14 +1000, Steve D'Aprano wrote: > On Sun, 20 Aug 2017 12:11 am, Rick Johnson wrote: > >> On Saturday, August 19, 2017 at 5:39:19 AM UTC-5, Chris Angelico wrote: >>> I'm not sure how "refuse to guess" translates into "wipe it out and >>> start over". I *never* recommend u

Re: Feature suggestion -- return if true

2017-08-21 Thread alister via Python-list
On Mon, 21 Aug 2017 05:44:53 -0700, jek wrote: > This is a very old post, but since I just though I would like a > conditional return like this, and checked for previous proposals, I > thought I'd give my opinion. > > Unfortunately only about 8 of the 67 replies actually answer the > question, an

Re: id

2017-08-24 Thread alister via Python-list
On Thu, 24 Aug 2017 11:21:27 -0400, Ned Batchelder wrote: > On 8/24/17 10:42 AM, Stefan Ram wrote: >> i = 0 while True: print( f"{ i }:{ id( i )}" ); i = i + 1 >> >> This loop prints increasing ids while i is less than 257, and then it >> starts to print alternating ids. >> >> So this seems

Re: How to change '\\' to '\'

2018-10-01 Thread Alister ware via Python-list
On Sun, 30 Sep 2018 17:45:52 -0700, Rick Johnson wrote: > Jach Fong wrote: >> I get a string item, for example path[0], from path = >> os.get_exec_path() >> It's something like "\\Borland\\Bcc55\\Include", a Python string. >> I want to use this "string" in a subprocess command as a parameter. >> O

<    3   4   5   6   7   8