Re: preferences file

2019-01-27 Thread DL Neil
On 25/01/19 4:22 PM, Bill Campbell wrote: On Thu, Jan 24, 2019, Dave wrote: I'm doing a small application and want to add user preferences. Did some googling to see if there are standard Python ways/tools, but it seems not so much. My specific questions are: 1. Best practices for a user prefe

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

2019-01-27 Thread Frank Millman
"^Bart" wrote in message news:q2kh0t$1hnj$1...@gioia.aioe.org... > 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

Re: python 3.7.2

2019-01-27 Thread eryk sun
On 1/27/19, Dennis Lee Bieber wrote: > On Sat, 26 Jan 2019 15:06:10 +, Sarah P declaimed > the following: > > C:\Users\Wulfraed>dir %userprofile%\appdata Avoid hard coding default paths. The roaming and local application data directories are relocatable. It's even less typing to use the prop

Re: Problem in Installing version 3.7.2(64 bit)

2019-01-27 Thread Terry Reedy
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 8 when I run the program it gives an error. Screenshot of the error is attached below. Nope. This is text only mail list. Images are tossed. You must copy and paste. -- T

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

2019-01-27 Thread ^Bart
as a follow on exercise if you have covered them yet, convert your code into a function takes the 3 numbers as parameters. you will find as you progress it is a better way of structuring your program & increases flexibility. Next step will be to study functions and I'll have other kind of homew

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

2019-01-27 Thread ^Bart
Hm, what does your script print if there are equal numbers? Insert the first number: 5 Insert the second number: 6 Insert the third number: 5 Number max is: 6 Number middle is: 5 >>> The exercize was made to improve the use of if with three different conditions, maybe it could be nice to wri

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: Exercize to understand from three numbers which is more high

2019-01-27 Thread Peter Otten
^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!!! Hm, what does your script print if there are equal numbers? -- https://mail.pyt

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

2019-01-27 Thread ^Bart
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 number: ")) number2 = int( input("Insert the second number: ")) number3 =

Re: Fatal Python error

2019-01-27 Thread songbird
Abdallah Adham wrote: > Hey > I am having this problem for about 2 weeks, I can't do anything, so please > give me some instructions so I can solve it. > > Fatal Python error: initfsencoding: unable to load the file system code. > ModuleNotFoundError: No module named 'encodings' > >:Current thread

Re: Unable to install Python 3

2019-01-27 Thread Shakti Kumar
On Sun, 27 Jan 2019 at 18:44, Hemant Mehta wrote: > > Dear Team, > > I am unable to install python 3 in my computer. > Kindly find my system configuration details & error details occured at the time of installation. Unable to find the system configuration details & error details. > *Please do the

Unable to install Python 3

2019-01-27 Thread Hemant Mehta
Dear Team, I am unable to install python 3 in my computer. Kindly find my system configuration details & error details occured at the time of installation. Please do the needful on priority. Regards, Hemant Mehta -- https://mail.python.org/mailman/listinfo/python-list

Sub-Org Applications for GSoC 2019 due soon!

2019-01-27 Thread Matthew Lagoe
Hey all, it's Google Summer of Code time again! PSF Sub-org applications are due Febuary 4th so if your project could use some student code this year get moving! If your project is involved with python and you would be willing to mentor students this summer email gsoc-admins at python.org

Fatal Python error

2019-01-27 Thread Abdallah Adham
Hey I am having this problem for about 2 weeks, I can't do anything, so please give me some instructions so I can solve it. Fatal Python error: initfsencoding: unable to load the file system code. ModuleNotFoundError: No module named 'encodings' :Current thread 0x3c7c (most recent call first

python 3.7.2

2019-01-27 Thread Sarah P
Hi, I’m having problems installing and using python as it defaults into [ ...users/ user/appdata/local/programs/] etc etc, its about 9 locations in all but there is no route to ‘app data’, the trail is lost at this point. Its such an obscure location and I cannot find it anywhere on windows,

Re: preferences file

2019-01-27 Thread Bill Campbell
On Thu, Jan 24, 2019, Dave wrote: >I'm doing a small application and want to add user preferences. Did some >googling to see if there are standard Python ways/tools, but it seems not so >much. My specific questions are: > >1. Best practices for a user preference file/system? Generally I put them

Problem in Installing version 3.7.2(64 bit)

2019-01-27 Thread Vrinda Bansal
Dear Sir/Madam, After Installation of the version 3.7.2(64 bit) in Windows 8 when I run the program it gives an error. Screenshot of the error is attached below. Please help me. Regards, Vrinda Bansal G-3 Kamla Nagar, Agra -- https://mail.python.org/mailman/listinfo/python-list

ANN: Smil 0.9.1

2019-01-27 Thread Jose Marcio Martins da Cruz
Hi all, I'm pleased to announce Smil - Simple Morphological Image Library - v. 0.9.1 SMIL is a library with all basic and some advanced mathematical morphology features which can be extended with plugins and user modules. It's been developed in C++ and has a Python interface thanks to Swig.

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

2019-01-27 Thread Frank Millman
"^Bart" wrote in message news:q2k1kk$1anf$1...@gioia.aioe.org... >You need to do this exercize just by using if, elif and else, >but in the quotation above, you use "=". We can use > < and = Now I wrote: number1 = int( input("Insert the first number: ")) number2 = int( input("Insert

Re: What is your experience porting Python 2.7.x scripts to Python 3.x?

2019-01-27 Thread sjmsoft
After chickening out a couple of times over the past few years, about eight months ago we migrated our small code base from 2.7.14 to 3.6.5. Some notes: On 2.7 we spent a couple of years coding with 3.x in mind, using import from __future__ and coding to Python 3 standards wherever possible. T

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

2019-01-27 Thread ^Bart
You need to do this exercize just by using if, elif and else, but in the quotation above, you use "=". We can use > < and = Now I wrote: number1 = int( input("Insert the first number: ")) number2 = int( input("Insert the second number: ")) number3 = int( input("Insert the third number:

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

2019-01-27 Thread ^Bart
In my experience based on decades of writing programs... 1. The assignment/exercise/problem should be a write a function with a particular signature.  So first decide on the signature. def max3(n1, n2, n3):     "Return the max of the three inputs."     return None  # To be replaced. I need