Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-16 Thread mm0fmf
On 16/03/2020 21:55, Barry Scott wrote: Am I right in thinking that you are wondering how to help people visit the super market in a quite time to help with the social distancing for COVID-19 reasons? In which case all the app needs to do is tell people that the supermarket A has great

Re: Tkinter layout designer

2020-02-25 Thread mm0fmf
I don't claim to be an expert on Windows Forms, I inherited the support role and have added the odd widget over the years. The apps work but scream that their UI has been incrementally arrived at by someone who was just tinkering. :-) Thanks for the suggestions, I'll give Page a try. --

Tkinter layout designer

2020-02-24 Thread mm0fmf
Can anyone recommend a graphic layout designer for Tkinter programs. I have a number of older C# Windows Forms apps that need porting so they can run on Linux and Windows and this is the chance to re-write them in Python. However, after using the forms designer in Visual Studio, manually

Re: Python, Be Bold!

2020-01-02 Thread mm0fmf
On 02/01/2020 09:41, Abdur-Rahmaan Janhangeer wrote: i wonder who uses windows I do. The man pays me well to write software for Windows and Linux and I don't care which . It's just an OS, write the code to do what the spec says. Not a difficult concept really. apt-get works fine for me on

Re: Python Resources related with web security

2019-11-26 Thread mm0fmf
On 26/11/2019 21:35, Rob Gaddi wrote: On 11/26/19 12:41 PM, Grant Edwards wrote: On 2019-11-26, Joel Goldstick wrote: I'm thinking this is a troll or a turing machine experiment? Yea, many of the posts remind me of ELIZA. How do you feel about many of the posts remind you of ELIZA?

Re: Handle foreign character web input

2019-07-03 Thread mm0fmf
On 30/06/2019 15:04, Chris Angelico wrote: ut it looks like our old "Py3's Unicode is buggy" troll is back Yes... check the from field in the posts for confirmation. But it's obvious from the message content anyway. -- https://mail.python.org/mailman/listinfo/python-list

Re: Can my python program send me a text message?

2019-03-20 Thread mm0fmf
On 19/03/2019 18:23, Steve wrote: I have a program that triggers a reminder timer. When that timer is done, I would like to receive a text message on my phone to tell me that it is time to reset the experiment. Can this be done using Python? Steve Yes. After playing with assorted "free"

Re: OT - need help with PHP

2019-02-01 Thread mm0fmf
On 01/02/2019 15:36, Chris Angelico wrote: On Sat, Feb 2, 2019 at 2:31 AM Bob Gailer wrote: Trying to setup PHP on Windows 10 using the curl extension to run standalone. Why? I am trying to use an API where the only coding examples are written in PHP. My goal is to use python, and the place

Re: Problem in Installing version 3.7.2(64 bit)

2019-01-30 Thread mm0fmf
On 29/01/2019 00:48, Ian Clark wrote: back in my day we had to show our professors errors on punchcard! and we liked it On Sun, Jan 27, 2019 at 11:51 AM Terry Reedy wrote: On 1/26/2019 6:24 AM, Vrinda Bansal wrote: Dear Sir/Madam, After Installation of the version 3.7.2(64 bit) in Windows

Re: Pythonic Y2K

2019-01-18 Thread mm0fmf
On 17/01/2019 02:34, Avi Gross wrote: but all it took was to set the clock forward on a test system and look for anomalies. You're new to programming or you're not very old and certainly haven't run much pre-Y2k software. ;-) Issues that needed solving: 2 digits only for the date use

Re: From Ben Dean about C++

2019-01-02 Thread mm0fmf
On 02/01/2019 04:29, Stefan Ram wrote: A slide from Ben Deane's talk about C++: ---. | | | ODD THING #1: ASSIGNMENTS ARE EXPRESSIONS | |

Re: how to match list members in py3.x

2018-11-26 Thread mm0fmf
On 25/11/2018 16:49, Muhammad Rizwan wrote: IF YOU CAN'T HELP BETTER IGNORE THE POST AND DON'T TRY TO BE A SMART ASS. *plonk* -- https://mail.python.org/mailman/listinfo/python-list

Re: question on the 'calendar' function

2018-11-21 Thread mm0fmf
On 21/11/2018 12:27, o1bigtenor wrote: [Stuff clipped] What I need is to be able to have more than one calendar year options and this function seems to be limited to work with a maximum of only one year at a time. If I not reading the documentation correctly - - - please advise. (Thanking

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

2018-10-01 Thread mm0fmf
On 01/10/2018 10:19, Jach Fong wrote: Hmmm...strange, I didn't see Rick's mail:-( Sure the forward slash is better, not to cause this confusion. But I am curious, since when, I mean, since which version Windows start to accept forward slash? First, stop top posting. Second, ISTR that all

Re: don't quite understand mailing list

2018-09-06 Thread mm0fmf
On 06/09/2018 21:06, Ethan Furman wrote: On 09/06/2018 12:42 PM, Reto Brunner wrote: What do you think the link, which is attached to every email you receive from the list, is for? Listinfo sounds very promising, doesn't it? And if you actually go to it you'll find: "To unsubscribe from

Re: EXTERNAL: OSError: [Errno 48] Address already in use

2018-07-04 Thread mm0fmf
On 02/07/2018 18:51, T Berger wrote: On Monday, July 2, 2018 at 1:22:59 PM UTC-4, T Berger wrote: On Saturday, June 30, 2018 at 6:02:06 PM UTC-4, T Berger wrote: On Friday, June 29, 2018 at 7:00:15 PM UTC-4, Cameron Simpson wrote: The key point here from Jim is "simultaneously". Are you

Re: Feeding the trolls

2018-06-26 Thread mm0fmf
To: Steven D'Aprano From: "mm0fmf" To: Steven D'Aprano From: mm0fmf On 22/06/2018 00:51, Steven D'Aprano wrote: > On Thu, 21 Jun 2018 21:49:15 +0100, mm0fmf wrote: > > [snip unnecessary quoting] >> Design requirements for python newsreader client: >> >>

Re: Feeding the trolls

2018-06-24 Thread mm0fmf
To: Steven D'Aprano From: mm0fmf On 22/06/2018 00:51, Steven D'Aprano wrote: > On Thu, 21 Jun 2018 21:49:15 +0100, mm0fmf wrote: > > [snip unnecessary quoting] >> Design requirements for python newsreader client: >> >> 1. Block all top posters > > I think it

Re: Feeding the trolls

2018-06-22 Thread mm0fmf
On 22/06/2018 00:51, Steven D'Aprano wrote: On Thu, 21 Jun 2018 21:49:15 +0100, mm0fmf wrote: [snip unnecessary quoting] Design requirements for python newsreader client: 1. Block all top posters I think it would be far more useful to block bottom-posters who don't snip irrelevant quoted

Re: Feeding the trolls

2018-06-21 Thread mm0fmf
On 21/06/2018 05:02, Abdur-Rahmaan Janhangeer wrote: by building a custom py-based mail client maybe ^^_ Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Wed, 20 Jun 2018, 17:18 D'Arcy Cain, wrote: On 2018-06-20 08:10 AM, Tim Golden wrote: [... snip discussions about Bart's

Re: Best site

2018-02-16 Thread mm0fmf
A. Because it spoils the flow. On 16/02/2018 20:07, Irving Duran wrote: Besides Google for sure. I liked www.codecademy.com Thank you, Irving Duran On 02/16/2018 11:53 AM, mm0fmf wrote: On 16/02/2018 16:04, dsujit2...@gmail.com wrote: which is the best site to learn python for data science

Re: Best site

2018-02-16 Thread mm0fmf
On 16/02/2018 16:04, dsujit2...@gmail.com wrote: which is the best site to learn python for data science. Google. -- https://mail.python.org/mailman/listinfo/python-list

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-10 Thread mm0fmf
On 09/02/2018 21:05, codewiz...@gmail.com wrote: On Friday, February 9, 2018 at 2:48:17 PM UTC-5, Chris Green wrote: codew...@gmail.com wrote: On Saturday, February 3, 2018 at 7:15:16 PM UTC-5, pyotr filipivich wrote: [snip] Those of us who do not use google-groups may not notice the

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread mm0fmf
On 08/02/2018 17:36, Gilmeh Serda wrote: On Sat, 03 Feb 2018 04:33:36 +1200, breamoreboy wrote: When trying to access comp.lang.idl-pvwave, a message is now displayed, stating that the group owner needs to remove the spam, and can then apply to Google in order to have access reinstated.

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Groups

2018-02-01 Thread mm0fmf
On 01/02/2018 17:15, Chris Angelico wrote: On Fri, Feb 2, 2018 at 4:01 AM, superchromix wrote: Our own programming discussion newsgroup, located at comp.lang.idl-pvwave, started receiving spam messages several months ago. Two weeks ago, access to comp.lang.idl-pvwave was

Re: Goto (Posting On Python-List Prohibited)

2017-12-31 Thread mm0fmf
On 31/12/2017 17:01, breamore...@gmail.com wrote: I would use functions every time as a modern compiler can inline them This Further I've never once in 17 years of using Python been tearing my hair out over the lack of goto And this. (In my case only 6 years.) --

Re: Goto (Posting On Python-List Prohibited)

2017-12-30 Thread mm0fmf
On 30/12/2017 14:41, bartc wrote: it looks a bit naff Understatement of 2017. -- https://mail.python.org/mailman/listinfo/python-list

Re: Goto

2017-12-29 Thread mm0fmf
On 28/12/2017 22:38, Tim Chase wrote: On 2017-12-29 08:42, Ben Finney wrote: Duram writes: How to use goto in python? Step 0: what is goto in Python? Step 1: that's not something that exists in Python. So why are you asking how to use something that doesn't exist? so

Re: co-ordianate transformation with astropy

2017-12-22 Thread mm0fmf
On 22/12/2017 21:36, hemanta phurailatpam wrote: I want to do co-ordinate transformation from earth-frame to equatorial frame. By entering date and time, I want to get RA(right ascension) and Dec(declination) wrt to equatorial frame. How do I do it? How would you do it by hand? --

Re: Issues with beginning Django use

2017-09-22 Thread mm0fmf
On 22/09/2017 19:50, Joey Steward wrote: Hello, I've been attempting to begin learning Django but have been having running Django and Python commands on windows. For example, when I run django-admin startproject mytestsite, I get the following error message django-admin : *The term

Re: Syntax error for simple script

2017-06-26 Thread mm0fmf
On 26/06/2017 17:41, ru...@yahoo.com wrote: On 06/26/2017 09:42 AM, Steve D'Aprano wrote: On Tue, 27 Jun 2017 01:16 am, Ben S. wrote: print mm + "/" + dd + "/" + + " " + hour + ":" + mi + ":" + ss ^ SyntaxError: Missing parentheses in call to 'print' Whats wrong? Did you read the

Re: json to access using python

2017-06-18 Thread mm0fmf
On 18/06/2017 20:34, breamore...@gmail.com wrote: On Sunday, June 18, 2017 at 7:50:10 PM UTC+1, Xristos Xristoou wrote: hello I have a json url and i want from this url to update my table in microsoft access,how to do that using python or some tool of microsoft access ? You need to do some

Re: How to install Python package from source on Windows

2017-05-16 Thread mm0fmf
On 16/05/2017 22:18, Chris Angelico wrote: On Wed, May 17, 2017 at 7:14 AM, bartc wrote: That PCbuild line is step 3 of Quick Start. You have to get past steps 1 and 2 first. It talks about something called Git; I don't know what that is or what I'm supposed to do with it, but

Re: Issues downloading python.

2017-04-07 Thread mm0fmf
On 07/04/2017 15:57, Brandon Mace wrote: I have downloaded python onto a DELL laptop, but it will not run. I have tried to install it multiple times but each time it does not work so I try again. This time it has come up with a system error and that "The program can't start because

Re: Error installing python on Windows

2017-02-24 Thread mm0fmf
On 24/02/2017 18:12, Irmen de Jong wrote: On 24-2-2017 12:18, Michelle Tan wrote: Hello all I am new to python. Trying to install Python and encountered this error message : "The program can't start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your computer." Tried to repair and

Re: Need reviews for my book on introductory python

2017-01-28 Thread mm0fmf
On 27/01/2017 21:36, MRAB wrote: On 2017-01-27 21:18, mm0fmf wrote: On 27/01/2017 20:17, bob gailer wrote: On 1/25/2017 9:25 PM, Sandeep Nagar wrote: Hi, A few month ago I wrote a book on introductory python based on my experinces while teaching python to Bachelor students of engineering

Re: Need reviews for my book on introductory python

2017-01-27 Thread mm0fmf
On 27/01/2017 20:17, bob gailer wrote: On 1/25/2017 9:25 PM, Sandeep Nagar wrote: Hi, A few month ago I wrote a book on introductory python based on my experinces while teaching python to Bachelor students of engineering. It is now available in e-book and paperback format at Amazon.

Re: Python

2017-01-25 Thread mm0fmf
On 25/01/2017 14:15, murphyclara...@gmail.com wrote: Need help Can help, need money. -- https://mail.python.org/mailman/listinfo/python-list

Re: How coding in Python is bad for you

2017-01-23 Thread mm0fmf
On 23/01/2017 21:04, Adam M wrote: On Monday, January 23, 2017 at 3:41:17 PM UTC-5, Jon Ribbens wrote: On 2017-01-23, alister wrote: On Tue, 24 Jan 2017 07:19:42 +1100, Chris Angelico wrote: I believe that's "bad for you" in the sense that chocolate is bad for you.

OT: Re: learning and experimenting python.

2016-12-31 Thread mm0fmf
On 31/12/2016 17:08, einstein1...@gmail.com wrote: We are not discussing here about English, But for python. Don't divert. Other wise someone thinks that I am doing this for getting more posts. Username einstein, asking bizarre questions, short responses with no included context. if this

Re: learning and experimenting python.

2016-12-31 Thread mm0fmf
On 31/12/2016 15:46, Ian Kelly wrote: On Dec 31, 2016 1:48 AM, "mm0fmf" <n...@invalid.com> wrote: On 30/12/2016 17:50, einstein1...@gmail.com wrote: Hello everyone, I am the new comer and learner of python. I have a doubt that when I type python and press enter it sho

Re: learning and experimenting python.

2016-12-31 Thread mm0fmf
On 31/12/2016 15:27, Dennis Lee Bieber wrote: On Sat, 31 Dec 2016 12:04:57 +, mm0fmf <n...@invalid.com> declaimed the following: Though they do write road info upside down on the road surface, typically XING with PED underneath. I had to ask what XINGPED meant till my colleague d

Re: learning and experimenting python.

2016-12-31 Thread mm0fmf
On 31/12/2016 09:58, Steve D'Aprano wrote: On Sat, 31 Dec 2016 07:30 pm, mm0fmf wrote: On 30/12/2016 17:50, einstein1...@gmail.com wrote: Hello everyone, I am the new comer and learner of python. I have a doubt [...] "I have a doubt" is not the correct way to ask this kind o

Re: learning and experimenting python.

2016-12-31 Thread mm0fmf
On 30/12/2016 17:50, einstein1...@gmail.com wrote: Hello everyone, I am the new comer and learner of python. I have a doubt that when I type python and press enter it shows a prompt like But why it is >>> ? Is there any special reason? Why it is not setted as @,& or any other special

Re: learning and experimenting python.

2016-12-30 Thread mm0fmf
On 30/12/2016 19:08, einstein1...@gmail.com wrote: LAN you are right. I am agree with you that it's easy to recognise. But look $ for normal user # for special user/root % for other shell For python And so on... Why? Why their developer selected that? Is there any special reason? It is what

Re: OT - "Soft" ESC key on the new MacBook Pro

2016-12-18 Thread mm0fmf
On 15/12/2016 18:05, Peter Pearson wrote: On Wed, 14 Dec 2016 11:50:30 -0600, Skip Montanaro wrote: On Wed, Dec 14, 2016 at 11:40 AM, Peter Pearson wrote: Train your fingers to use C-[. As I recall, the location of the Ctrl key was one of the differences between

Re: OT - "Soft" ESC key on the new MacBook Pro

2016-12-14 Thread mm0fmf
On 14/12/2016 02:40, Paul Rubin wrote: Skip Montanaro writes: Does the lack of a physical ESC key create problems for people, especially Emacs users? Not a Mac user and I rarely use ESC instead of ALT while editing with Emacs on a local computer, but when editing

Re: Reposting On Python-List PROHIBITED

2016-11-23 Thread mm0fmf
On 23/11/2016 23:28, Lawrence D’Oliveiro wrote: To the controllers of Python-List: I never asked to be on your list. I never consented to having my postings appear on your list. And I certainly didn’t agree to any conditions you might impose on members on your list. Therefore, to see you

Re: Counting words in a string??

2016-09-30 Thread mm0fmf
On 30/09/2016 20:12, Jake wrote: On Friday, 30 September 2016 19:49:57 UTC+1, srinivas devaki wrote: On Oct 1, 2016 12:10 AM, "Jake" wrote: Hi, I need a program which: 1) Asks the user for a sentence of their choice (not including punctuation) 2) Ask the user

Re: get the sum of differences between integers in a list

2016-09-20 Thread mm0fmf
On 20/09/2016 12:52, Daiyue Weng wrote: What's the best way to implement this? With a python script. Show your work and people will help you. -- https://mail.python.org/mailman/listinfo/python-list

Re: Multimeter USB output

2016-08-30 Thread mm0fmf
On 29/08/2016 09:54, Joe wrote: Am 28.08.2016 um 17:22 schrieb Dennis Lee Bieber: If you can read spaghetti coded C, you might want to study https://sourceforge.net/projects/ut61/ Interesting, but... The last time I did something with c, it was with BDS-C under CM/M. Somebody remenbering this

Re: Compression of random binary data

2016-07-12 Thread mm0fmf
On 12/07/2016 15:29, jonas.thornv...@gmail.com wrote: Den tisdag 12 juli 2016 kl. 05:01:20 UTC+2 skrev Lawrence D’Oliveiro: On Tuesday, July 12, 2016 at 5:52:27 AM UTC+12, jonas.t...@gmail.com wrote: What kind of statistic law or mathematical conjecture or is it even a physical law is

Re: Need python script to scan website with safe browsing site status

2016-05-24 Thread mm0fmf
On 24/05/2016 09:05, cheapfiverrservi...@gmail.com wrote: i need a python script which can scan provided list of websites and scan that list with https://www.google.com/transparencyreport/safebrowsing/diagnostic/index.html and save result of dangerous website or infected website in another

Re: problem regarding installation

2016-05-21 Thread mm0fmf
On 21/05/2016 08:55, bhagyadhar sahoo wrote: i have downloaded the software from your site.. but while installing it shows some problem .. plz help me out..or let me know how can i get the solution,.. i am waiting for ur replay thanks bhagya We don't know which web site you are talking about.

Re: How to become more motivated to learn Python

2016-05-03 Thread mm0fmf
On 03/05/2016 17:50, Rob Gaddi wrote: Cai Gengyang wrote: So I have completed up to CodeAcademy's Python Unit 2 , now moving on to Unit3 : Conditionals and Control Flow. But I feel my motivation wavering , at times I get stuck and frustrated when trying to learn a new programming language ?

Re: issue with CVS module

2016-03-11 Thread mm0fmf
On 11/03/2016 20:32, Fillmore wrote: myReader = csv.reader(csvfile, delimiter='\t',quotechar='') From reading that the quotechar is null. You have a single quote and single quote with nothing in the middle. Try this: myReader = csv.reader(csvfile, delimiter='\t',quotechar="'") i.e

Re: Question

2016-03-07 Thread mm0fmf
On 07/03/2016 18:09, Jon Ribbens wrote: On 2016-03-07, Ian Kelly wrote: On Mon, Mar 7, 2016 at 9:39 AM, Ben Morales wrote: I am trying to download Python but I have windows 10 and I do not see a 64 bit download for my operating system. Do you

Re: Everything good about Python except GUI IDE?

2016-02-28 Thread mm0fmf
On 27/02/2016 18:13, wrong.addres...@gmail.com wrote: On Saturday, 27 February 2016 18:08:36 UTC+2, Dietmar Schwertberger wrote: On 27.02.2016 12:18, wrong.addres...@gmail.com wrote: Isn't there any good GUI IDE like Visual Basic? I hope there are some less well known GUI IDEs which I did

Re: The computer that mastered Go

2016-01-29 Thread mm0fmf via Python-list
On 29/01/2016 22:13, Paul Rubin wrote: mm0fmf <n...@mailinator.com> writes: Is it written in Python? One would expect it to be written in Go, but it turns out to be C++ and Lua :(. Why did he post it in comp.lang.python then? -- https://mail.python.org/mailman/listinfo/python-list

Re: The computer that mastered Go

2016-01-29 Thread mm0fmf via Python-list
On 29/01/2016 19:46, Seymore4Head wrote: https://www.youtube.com/watch?v=g-dKXOlsf98 Is it written in Python? -- https://mail.python.org/mailman/listinfo/python-list

Re: Where are we in the Python 3 transition?

2015-12-31 Thread mm0fmf via Python-list
On 31/12/2015 16:12, Mark Lawrence wrote: "Or, how the Kübler-Ross model aptly applies to Python 3". http://www.snarky.ca/the-stages-of-the-python-3-transition I thought I had a need for asyncio and that means Python3. So I started converting some web facing apps to Python3 for practice and

Re: using binary in python

2015-11-10 Thread mm0fmf via Python-list
On 10/11/2015 20:14, Dennis Lee Bieber wrote: The Ada language defines the end of Text file to consist of It is 15 years this month since I last worked in place that used Ada. I think that calls for a wee dram to celebrate ;-) -- https://mail.python.org/mailman/listinfo/python-list

OT: Re: using binary in python

2015-11-10 Thread mm0fmf via Python-list
On 10/11/2015 21:02, Dennis Lee Bieber wrote: On Tue, 10 Nov 2015 20:36:52 +, mm0fmf via Python-list <python-list@python.org> declaimed the following: On 10/11/2015 20:14, Dennis Lee Bieber wrote: The Ada language defines the end of Text file to consist of It is 15 years this

Re: Python IDLE won't start

2015-09-27 Thread mm0fmf via Python-list
On 26/09/2015 18:14, Jacob Chaar wrote: Hi there, So, I download Python 3.5.0 and I while I execute the Python IDLE, it won’t start up. Also, I try to open the python command line and a message error pop up. If you can help me, it will be really appreciate. Regards, Jacob Chaar Maybe if

Re: Successfully send sms with python

2015-09-22 Thread mm0fmf via Python-list
On 22/09/2015 12:19, Timon Rhynix wrote: Hello, I have used pyserial, sms0.4 and other libraries to send sms via huawei E1750 modem. The code runs well and no error is thrown but the text message is not sent/delivered to the number. One of my code is as follows: import serial import time

Re: Python Questions - July 25, 2015

2015-07-27 Thread mm0fmf via Python-list
On 27/07/2015 01:18, Mark Lawrence wrote: On 27/07/2015 00:12, Ned Batchelder wrote: On Sunday, July 26, 2015 at 5:15:31 PM UTC-4, mm0fmf wrote: On 26/07/2015 20:17, E.D.G. wrote: [around 90 lines snipped] Am I the only person thinking Troll? Yes. --Ned. Was it really necessary

Re: Python Questions - July 25, 2015

2015-07-26 Thread mm0fmf via Python-list
On 26/07/2015 20:17, E.D.G. wrote: E.D.G. edgrs...@ix.netcom.com wrote in message news:jf6dnqimoz_gxc7inz2dnuu7-s2dn...@earthlink.com... Posted by E.D.G. July 26, 2015 These are some additional comments related to my original post. The effort I have been discussing actually

Re: what windows compiler for python 3.5?

2015-07-24 Thread mm0fmf via Python-list
On 24/07/2015 11:53, Robin Becker wrote: yes I build extensions for reportlab. Unfortunately, despite our MSDN subscription to the Visual Studio stuff we have no access to the Visual Studio Version 2015. Last one in my downloads is currently 2013. Pity. I received an email today re my work

Re: Need assistance

2015-07-18 Thread mm0fmf via Python-list
On 18/07/2015 18:34, Mark Lawrence wrote: What is an {HP calculator} roll operation? HP calculators were proper in that they used RPN entry. i.e. 2 enter 2 + would show 4 instead of 2 + 2 = Gawd it's so long but ISTR there were 3 stack registers and the display. So you could press 1

Re: Need assistance

2015-07-18 Thread mm0fmf via Python-list
On 18/07/2015 20:10, Joel Goldstick wrote: On Sat, Jul 18, 2015 at 2:51 PM, mm0fmf via Python-list python-list@python.org wrote: On 18/07/2015 18:34, Mark Lawrence wrote: What is an {HP calculator} roll operation? HP calculators were proper in that they used RPN entry. i.e. 2 enter 2

Re: bottle app crashes

2015-07-06 Thread mm0fmf via Python-list
On 05/07/2015 17:45, Martin S wrote: Hi all, Last summer I fumbled together a small appplication that calculates both LASK and Elo ratings for chess. I managed to webify it using Bottle. This works nicely on my laptop for testing. [snip] Do anyone have a pointer to an idiot proof

Re: Ah Python, you have spoiled me for all other languages

2015-05-22 Thread mm0fmf via Python-list
On 22/05/2015 18:47, Grant Edwards wrote: And of course, the truly_great_ thing about Javascript is... It's not PHP! ROTFL ;-) -- https://mail.python.org/mailman/listinfo/python-list

Re: TCP sockets python timeout public IP adresss

2015-03-29 Thread mm0fmf
On 29/03/2015 09:57, bobbydeep wrote: From the error (10060) it looks like Windows but it would be nice if you could say which Python and OS you were using. I haven't looked at your code but just taking at face value that it does work internally. server_address = ('my-server-ipadress',

Re: TCP sockets python timeout public IP adresss

2015-03-29 Thread mm0fmf
On 29/03/2015 12:20, bobbdeep wrote: How do I add a port to the list of open ports on my server ? Ask the system administrator. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.x stuffing utf-8 into SQLite db

2015-02-09 Thread mm0fmf
On 09/02/2015 03:44, Skip Montanaro wrote: I am trying to process a CSV file using Python 3.5 (CPython tip as of a week or so ago). According to chardet[1], the file is encoded as utf-8: s = open(data/meets-usms.csv, rb).read() len(s) 562272 import chardet chardet.detect(s) {'encoding':

Re: How to extract a movie title out of a text file

2015-02-07 Thread mm0fmf
On 07/02/2015 16:50, Seymore4Head wrote: Anyone care to come up with the Python code to do this? No problem, where I work charges me out at $2250/day plus expenses etc. I'll do it for half of that So send me $562 upfront and I'll get on with this for you. 24/7 hotline support is included

Re: How to Mock a mongodb

2015-02-07 Thread mm0fmf
On 07/02/2015 22:09, Xavier Pegenaute wrote: Dear, I am trying to mock the use of a mongo db and I am having some trouble. Appears that I am not able to return a desired value from mongo.find().count(). I made a proof of concept to try to reduce complexity of the real problem. You can find the

Re: Create dictionary based of x items per key from two lists

2015-02-01 Thread mm0fmf
On 01/02/2015 18:14, Grant Edwards wrote: No, you've got that backwards. You want_more_ blank lines. A blank line takes zero time to run, but it still counts as a line in your lines/second stats. You want more blanks lines to satisfy bean counting managers who want you to report number of

Re: Socket programming

2015-01-03 Thread mm0fmf
On 03/01/2015 11:43, pramod gowda wrote: server_socket=socket.socket() server_name='192.168.2.2' server_port= 80 server_socket.bind((server_name,server_port)) server_socket.listen(1) I don't do much Python on Windows but do you have the necessary access rights to open a listening socket on

Re: Hello World

2014-12-21 Thread mm0fmf
On 22/12/2014 00:10, Chris Angelico wrote: Level 0: Why implement your own crypto?!? Because people who don't understand the concepts behind cryptography don't understand that the crypto algorithm can be open whilst the results of applying the algorithm are secure. There again I always use

Re: Python handles globals badly.

2014-12-03 Thread mm0fmf
On 03/12/2014 04:32, Skybuck Flying wrote: Some issues I'd like to address to you: 1. Structured programming requires more programming time. 2. Structured programming implies structure which might be less flexible. 3. Python objects require self keyword to be used everywhere, and other

Re: I am out of trial and error again Lists

2014-10-24 Thread mm0fmf
On 24/10/2014 15:47, Seymore4Head wrote: I have at least 10 ebooks. I will get around to reading them soon. Sooner would be better. -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] spelling colour / color was Re: Toggle

2014-10-11 Thread mm0fmf
On 11/10/2014 10:37, Christian Gollwitzer wrote: Being a non-native English speaker/writer, I myself stick to the recommendations of the Oxford dictionary. Christian But you do realise the Oxford dictionary is different to English usage and is renowned for using what is known as Oxford

[OT] spelling colour / color was Re: Toggle

2014-10-09 Thread mm0fmf
On 09/10/2014 02:29, Steven D'Aprano wrote: Apart from the horrible spelling of colour :-) I've always spelt colour as color when programming and as colour when writing language including documentation about software. colour in a programme doesn't seem right. --

Re: High water Memory fragmentation still a thing?

2014-10-05 Thread mm0fmf
On 04/10/2014 02:02, Steven D'Aprano wrote: Way back in the mid 1980s, Apple Macintoshes used a memory manager which could move memory around. But the memory manager didn't return a pointer to memory the way malloc does. It returned a pointer to the pointer and you had to double dereference

Re: Why Python has moved to a multilingual Unicode model (OT)

2014-09-10 Thread mm0fmf
On 10/09/2014 14:27, wxjmfa...@gmail.com wrote: A multilingual Unicode model has not too much sense. You are Pavlov's Dog AICMFP ;-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Python is going to be hard

2014-09-03 Thread mm0fmf
On 03/09/2014 19:52, Seymore4Head wrote: I see that now. Thanks Maybe some comments in your code would help you? And also posting an on-topic title would help too. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python programming

2014-08-27 Thread mm0fmf
On 27/08/2014 16:41, Grant Edwards wrote: Well, it's spelled Jake, but it's pronounced throat warbler mangrove You're a very silly man and I'm not going to interview you. -- https://mail.python.org/mailman/listinfo/python-list

Re: Global indent

2014-08-23 Thread mm0fmf
On 22/08/2014 20:46, Seymore4Head wrote: http://gvim.en.softonic.com/ Has a snazzy look, but I think it is not compatible with Windows so it looks like I might have to try Emacs. Others will disagree but I find keeping Windows and *nix separate helps me a lot. So I'll use emacs on Linux

Re: Python vs C++

2014-08-23 Thread mm0fmf
On 22/08/2014 18:16, Marko Rauhamaa wrote: SCons gives you the power of Python. Don't use that power except in utmost need. Ah, you've seen our build system at work! Andy -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-07-14 Thread mm0fmf
On 14/07/2014 23:12, Rick Johnson wrote: I SHUTTER TO THINK! It's I shudder to think! shut·ter [shuht-er] noun 1. a solid or louvered movable cover for a window. 2. a movable cover, slide, etc., for an opening. 3. a person or thing that shuts. 4. Photography . a mechanical device for

Re: 基于cython的即时编译器cyjit,欢迎大家提建议

2014-06-11 Thread mm0fmf
On 11/06/2014 10:37, 1989lzhh wrote: 我正在写一个使用cython code作为后端的即时编译器名为cyjit,将python code 转换为cython code再编译为c extension导入.设计上主要参考numba.jit的思路, 使用decorate来指定要编译的function,例如: from cyjit import jit @jit('int(int,int)') def add(a,b): return a+b add(1,2)#compiled @jit('int(int,int)',

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread mm0fmf
On 25/05/2014 11:24, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. OT: Mark, you've been pro-Python3 enough in your recent postings you have forced me to act. I've

Re: Python under the sea and in space

2014-05-08 Thread mm0fmf
On 07/05/2014 03:31, Jessica McKellar wrote: Hi folks, I'm trying to determine the greatest depth (in the ocean or underground) and highest altitude at which Python code has been executed. [snip] Do you have some good candidates? Please let me know! I have executed Python code (bottle web

Re: Howto flaten a list of lists was (Explanation of this Python language feature)

2014-03-29 Thread mm0fmf
On 28/03/2014 22:12, Mark Lawrence wrote: As for the stupid symbol that you're using, real programmers don't give a damn about such things, they prefer writing plain, simple, boring code that is easy to read What he said. -- https://mail.python.org/mailman/listinfo/python-list

Re: Lists inside dictionary and how to look for particular value

2014-01-26 Thread mm0fmf
On 26/01/2014 20:28, mick verdu wrote: I have programming course and trying to learn things. This is of no human use. I am just following exercises. Just have to do steps as asked. A slightly OT observation... Mick, consider using more meaningful names than t,z etc. You know what they stand

Re: Question regarding 2 modules installed via 'pip'

2013-11-16 Thread mm0fmf
On 16/11/2013 15:33, Ferrous Cranus wrote: I have no intention to destroy this fine group, all i need is some imple help. But you are destroying it. You don't read the help given, you don't know the basic Linux commands, you can't use Google, you insist on using profanities to gain

Re: datetime question

2013-11-11 Thread mm0fmf
On 11/11/2013 19:39, Ethan Furman wrote: On 11/11/2013 11:19 AM, Denis McMahon wrote: On Mon, 11 Nov 2013 11:57:36 +0200, Νίκος Αλεξόπουλος wrote: lastvisit = ( datetime.utcnow() + timedelta(hours=2) ).strftime( '%y-%m-%d %H:%M:%S' )# MySQL datetime format Someone has an idea what

Re: To whoever hacked into my Database

2013-11-06 Thread mm0fmf
On 06/11/2013 21:26, Νίκος Γκρ33κ wrote: Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε: Okey let the hacker try again to mess with my database!!! He is done it twice, lets see if he will make it again! I'am waiting! No luck yet mighty one? :) Nikos, just in case you don't understand

Re: Help me with this code PLEASE

2013-11-05 Thread mm0fmf
EVERYHTIGN I TRIED FAILED. Maybe try some of the advice you have been given instead? -- https://mail.python.org/mailman/listinfo/python-list

  1   2   >