Re: Making a Python program into an executable file

2022-04-11 Thread Mats Wichmann
On 4/11/22 10:13, Brian Wagstaff via Python-list wrote: > Dear Python team, > I am trying to find out how to make my Python programs into executable files > (.exe, I presume) using Pyinstaller. I searched on line for how to do this > (the document I came across is headed Data to Fish), and it see

Making a Python program into an executable file

2022-04-11 Thread Brian Wagstaff via Python-list
Dear Python team, I am trying to find out how to make my Python programs into executable files (.exe, I presume) using Pyinstaller. I searched on line for how to do this (the document I came across is headed Data to Fish), and it seemed that Step 1 was to download the most recent version of Pyth

Re: Openning Python program

2022-02-08 Thread Cecil Westerhof via Python-list
Chris Angelico writes: > On Tue, 8 Feb 2022 at 06:51, Cecil Westerhof via Python-list > wrote: >> >> Chris Angelico writes: >> >> >> > How difficult would it be to get people to read those lines, though? >> >> >> >> That does remind me about a system administrator who wanted to make a >> >> poi

Re: Openning Python program

2022-02-07 Thread Chris Angelico
On Tue, 8 Feb 2022 at 06:51, Cecil Westerhof via Python-list wrote: > > Chris Angelico writes: > > >> > How difficult would it be to get people to read those lines, though? > >> > >> That does remind me about a system administrator who wanted to make a > >> point. He changed something on the serv

Re: Openning Python program

2022-02-07 Thread Cecil Westerhof via Python-list
Chris Angelico writes: >> > How difficult would it be to get people to read those lines, though? >> >> That does remind me about a system administrator who wanted to make a >> point. He changed something on the server so all the Windows computers >> started up and gave a message: >> If yo

Re: Openning Python program

2022-02-07 Thread Chris Angelico
On Tue, 8 Feb 2022 at 04:30, Cecil Westerhof via Python-list wrote: > > Chris Angelico writes: > > > On Tue, 8 Feb 2022 at 02:53, Grant Edwards > > wrote: > >> > >> On 2022-02-06, Dennis Lee Bieber wrote: > >> > On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" > >> > declaimed

Re: Openning Python program

2022-02-07 Thread Cecil Westerhof via Python-list
Chris Angelico writes: > On Tue, 8 Feb 2022 at 02:53, Grant Edwards wrote: >> >> On 2022-02-06, Dennis Lee Bieber wrote: >> > On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" >> > declaimed the following: >> > >> >> I cannot open python after downloading it keeps going to >>

Re: Openning Python program

2022-02-07 Thread Grant Edwards
On 2022-02-07, Barry wrote: >> On 7 Feb 2022, at 15:55, Grant Edwards wrote: >> On 2022-02-06, Dennis Lee Bieber wrote: >>> On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" >>> declaimed the following: >>> I cannot open python after downloading it keeps going to modify/u

Re: Openning Python program

2022-02-07 Thread Grant Edwards
On 2022-02-07, Chris Angelico wrote: > On Tue, 8 Feb 2022 at 02:53, Grant Edwards wrote: >> >>On 2022-02-06, Dennis Lee Bieber wrote: >>> On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" >>> declaimed the following: >>> I cannot open python after downloading it keeps going

Re: Openning Python program

2022-02-07 Thread Barry
> On 7 Feb 2022, at 15:55, Grant Edwards wrote: > > On 2022-02-06, Dennis Lee Bieber wrote: >> On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" >> declaimed the following: >> >>> I cannot open python after downloading it keeps going to modify/uninstall >>> ?? please help >

Re: Openning Python program

2022-02-07 Thread Chris Angelico
On Tue, 8 Feb 2022 at 02:53, Grant Edwards wrote: > > On 2022-02-06, Dennis Lee Bieber wrote: > > On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" > > declaimed the following: > > > >> I cannot open python after downloading it keeps going to modify/uninstall > >> ?? please hel

Re: Openning Python program

2022-02-07 Thread Grant Edwards
On 2022-02-06, Dennis Lee Bieber wrote: > On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" > declaimed the following: > >> I cannot open python after downloading it keeps going to modify/uninstall >> ?? please help > > Stop clicking on the INSTALLER. What you downloaded is just

Re: Openning Python program

2022-02-06 Thread Eryk Sun
On 2/6/22, Dennis Lee Bieber wrote: > > NOTE: there may be a "launcher" installed that is supposed to find Python > without requiring one to edit the system PATH environment variable -- but I > tend to avoid it: M$ and some other applications seem to keep hijacking > which Python gets priority, an

Re: Openning Python program

2022-02-06 Thread Dennis Lee Bieber
On Sun, 6 Feb 2022 13:44:07 +0530, "createkmontalb...@gmail.com" declaimed the following: > I cannot open python after downloading it keeps going to modify/uninstall > ?? please help > Stop clicking on the INSTALLER. What you downloaded is just the program that installs and configure

Re: Openning Python program

2022-02-06 Thread MRAB
On 2022-02-06 08:14, createkmontalb...@gmail.com wrote: I cannot open python after downloading it keeps going to modify/uninstall ?? please help It sounds like you're just re-running the installer. The installer should've installed IDLE. Try that for editing programs. -- https://mail.p

Openning Python program

2022-02-06 Thread createkmontalb...@gmail.com
I cannot open python after downloading it keeps going to modify/uninstall ?? please help   Sent from [1]Mail for Windows   -- This email has been checked for viruses by Avast antivirus

Fast help with Python program

2021-07-29 Thread Arak Rachael
Hi guys, I need fast help with this, can you please look at it? I don't get how to visualize on the 3 axis in the for cycle with the list of colors and count of colors that I get from my array. And I also don't get how to cluster the colors based on how many colors there are in the second arra

Help me in setting the path in python program.

2021-06-07 Thread Maheshwari Gorle
I am using Google co lab. Guide me how to set the path. # Error: SwissEph file 'se13681s.se1' not found in PATH '/usr/share/ephe/' is coming, how to overcome this problem. pip install pyswisseph import swisseph as swe swe.set_ephe_path ('/usr/share/ephe') # set path to ephemeris files jd = swe

Re: HELP Please, Python Program Help

2021-04-10 Thread dn via Python-list
On 10/04/2021 22.57, Joseph Roffey wrote: > Hi, Im looking for some help with my program, I have been set a task to make > a Strain Calculator. I need it to input two numbers, choosing either Metres > or Inches for the 'Change in Length' divided by the 'Original Length' which > can also be in Me

HELP Please, Python Program Help

2021-04-10 Thread Joseph Roffey
Hi, Im looking for some help with my program, I have been set a task to make a Strain Calculator. I need it to input two numbers, choosing either Metres or Inches for the 'Change in Length' divided by the 'Original Length' which can also be in Metres or Inches, the out put number also needs to g

Re: Python Program Help

2020-07-22 Thread Elias Fotinis
On 21/07/2020 22:25, Terry Reedy wrote: The only way I discovered to get that error, on Windows, is to hit control-D in response to the prompt. Slight correction: On Windows, EOF is signaled with Ctrl-Z. This is the same as hitting F6 in the legacy console (can't check with Win10 at the momen

Re: Python Program Help

2020-07-21 Thread dn via Python-list
On 7/22/20 7:16 AM, Dennis Lee Bieber wrote: On Tue, 21 Jul 2020 06:38:55 -0700 (PDT), ksikor14--- via Python-list declaimed the following: Since this is apparently a homework assignment, I'm not going to provide fixes -- just some comments. Logic error? (not entirely poking-fun: is

Re: Python Program Help

2020-07-21 Thread Terry Reedy
On 7/21/2020 11:08 AM, MRAB wrote: On 2020-07-21 14:38, ksikor14--- via Python-list wrote: I can't seem to figure out what I am doing wrong.  I have tried everything.  This is what it is supposed to do: [snip] I get this error: Traceback (most recent call last):    File "main.py", line 1, in

Re: Python Program Help

2020-07-21 Thread MRAB
On 2020-07-21 14:38, ksikor14--- via Python-list wrote: I can't seem to figure out what I am doing wrong. I have tried everything. This is what it is supposed to do: (1) Prompt the user for a title for data. Output the title. (1 pt) Ex: Enter a title for the data: Number of Novels Authored

Python Program Help

2020-07-21 Thread ksikor14--- via Python-list
I can't seem to figure out what I am doing wrong. I have tried everything. This is what it is supposed to do: (1) Prompt the user for a title for data. Output the title. (1 pt) Ex: Enter a title for the data: Number of Novels Authored You entered: Number of Novels Authored (2) Prompt the use

Re: How to convert the following IDL program lines to equivalent Python program lines?

2019-11-28 Thread MRAB
On 2019-11-28 15:35, Dennis Lee Bieber wrote: On Thu, 28 Nov 2019 12:45:27 +, Ben Bacarisse declaimed the following: Madhavan Bomidi writes: print,'Column ',J,' of product matrix A*AINV:',format='(1X,A7,I3,A27)' I don't know what the 1X format does. The A7 and A27 formats just see

Re: How to convert the following IDL program lines to equivalent Python program lines?

2019-11-28 Thread Bev In TX
> On Nov 28, 2019, at 9:35 AM, Dennis Lee Bieber wrote: > > Channeling ancient FORTRAN, I'd interpret it as > > 1XSkip one space > A7Seven character alpha > I3Three digit integer > A2727 character alpha > > and it is rather painful when the arguments are litera

Re: How to convert the following IDL program lines to equivalent Python program lines?

2019-11-28 Thread Ben Bacarisse
Madhavan Bomidi writes: > I have the following IDL program lines. I want to write equivalent > Python program lines. Can anyone suggest me equivalent Pythons program > lines? > > # --- 1 --- # > How to handle the format in IDL to Python? &g

How to convert the following IDL program lines to equivalent Python program lines?

2019-11-28 Thread Madhavan Bomidi
Hi, I have the following IDL program lines. I want to write equivalent Python program lines. Can anyone suggest me equivalent Pythons program lines? # --- 1 --- # How to handle the format in IDL to Python? IDL program line: print,'Column ',J,&#

Re: How to execute shell command in Python program?

2019-07-23 Thread Madhavan Bomidi
Thanks for your suggestions. I have sorted the issue as follows: import pexpect child = pexpect.spawn('./opac') child.sendline('opac') This works!!! -- https://mail.python.org/mailman/listinfo/python-list

Re: How to execute shell command in Python program?

2019-07-20 Thread DL Neil
On 21/07/19 5:07 AM, Peter J. Holzer wrote: On 2019-07-20 15:39:58 +0100, Chris Narkiewicz via Python-list wrote: Madhavan Bomidi wrote: import subprocess subprocess.call(['./opac'],shell=True) There may be an os.chdir() missing here. subprocess.call(['./opac', "my-input.inp"], shell=True)

Re: How to execute shell command in Python program?

2019-07-20 Thread Peter J. Holzer
On 2019-07-20 15:39:58 +0100, Chris Narkiewicz via Python-list wrote: > Madhavan Bomidi wrote: > > import subprocess > > subprocess.call(['./opac'],shell=True) There may be an os.chdir() missing here. > subprocess.call(['./opac', "my-input.inp"], shell=True) We don't know whether the OP's progra

Re: How to execute shell command in Python program?

2019-07-20 Thread Chris Narkiewicz via Python-list
Madhavan Bomidi wrote: > import subprocess > subprocess.call(['./opac'],shell=True) subprocess.call(['./opac', "my-input.inp"], shell=True) The array takes command with a list of arguments. This way you don't need to do space escaping and other Jujitsu gimmicks. If you want to feed the command f

How to execute shell command in Python program?

2019-07-20 Thread Madhavan Bomidi
t;==) to be run within the Python program. I tried to use the following lines in the Python program: - import subprocess subprocess.call(['./opac'],shell=True) Out[21]: 2 I am not able to know how I input the 'opac' (which is the input filename) Plea

Re: Problem to delete or modify Python program and to read "signature.asc"

2019-07-11 Thread DL Neil
On 12/07/19 1:52 PM, Hla Kyi via Python-list wrote: Dear Sir/ Madam,     1. I try to modify, some of the check boxes can not be selected.    2. I try to uninstall, "successfully uninstall" message is come out. When I exit it "if you have any problem, please contact  python-list@python.org " me

Problem to delete or modify Python program and to read "signature.asc"

2019-07-11 Thread Hla Kyi via Python-list
Dear Sir/ Madam,     1. I try to modify, some of the check boxes can not be selected.    2. I try to uninstall, "successfully uninstall" message is come out. When I exit it "if you have any problem, please contact  python-list@python.org " message is come out.     I install Python 3.7.2 at my la

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" sys

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

2019-03-20 Thread Steve
my python program send me a text message? On 19/03/2019 19:33, Abdur-Rahmaan Janhangeer wrote: > - 1) use pi with gsm module. > or > - 2) find some free sms api for python then use Slightly off-topic, but you (the OP) should be aware that carriers do not guarantee that texts will be deliv

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

2019-03-20 Thread Rhodri James
On 19/03/2019 19:33, Abdur-Rahmaan Janhangeer wrote: - 1) use pi with gsm module. or - 2) find some free sms api for python then use Slightly off-topic, but you (the OP) should be aware that carriers do not guarantee that texts will be delivered in a timely manner. In fact they don't guarant

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

2019-03-19 Thread Terry Reedy
. -Original Message- From: Python-list On Behalf Of Larry Martell Sent: Tuesday, March 19, 2019 3:46 PM To: Python Subject: Re: Can my python program send me a text message? On Tue, Mar 19, 2019 at 3:30 PM Steve wrote: I have a program that triggers a reminder timer. When that timer is

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

2019-03-19 Thread Steve
-list On Behalf Of Larry Martell Sent: Tuesday, March 19, 2019 3:46 PM To: Python Subject: Re: Can my python program send me a text message? On Tue, Mar 19, 2019 at 3:30 PM Steve wrote: > > I have a program that triggers a reminder timer. When that timer is done, I would like to receive

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

2019-03-19 Thread Dan Sommers
On 3/19/19 2:35 PM, Chris Angelico wrote: On Wed, Mar 20, 2019 at 6:31 AM 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 Pyt

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

2019-03-19 Thread Larry Martell
On Tue, Mar 19, 2019 at 3:30 PM 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? You can send a text with emai

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

2019-03-19 Thread Chris Angelico
On Wed, Mar 20, 2019 at 6:31 AM 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? > Yes! There are APIs that wi

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

2019-03-19 Thread Abdur-Rahmaan Janhangeer
- 1) use pi with gsm module. or - 2) find some free sms api for python then use Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Can my python program send me a text message?

2019-03-19 Thread Steve
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 -- https://mail.python.org/mailman/listinfo/python-list

Re: Python program to phone?

2019-02-08 Thread Mario R. Osorio
equires Java, does it? >> Is it exclusively java? >> >> = >> Footnote: >> Zamboni locks up after running into large patch of loose teeth. >> >> -----Original Message- >> From: Python-list On >> Behalf Of Mario R. Os

Re: Python program to phone?

2019-02-08 Thread Mario R. Osorio
oni locks up after running into large patch of loose teeth. > > -Original Message- > From: Python-list On > Behalf Of Mario R. Osorio > Sent: Tuesday, February 5, 2019 8:58 AM > To: python-list@python.org > Subject: Re: Python program to phone? > > > Hi there S

Re: Python program to phone?

2019-02-07 Thread Michael Torrie
On 02/07/2019 09:00 PM, Steve wrote: > BeeWare looks as if it requires Java, does it? > Is it exclusively java? Kind of. You do your coding in Python, then that's compiled to python byte code, which is then translated to Java byte code. You'll need the Android SDK, even if you're not using Java

RE: Python program to phone?

2019-02-07 Thread Steve
@python.org Subject: Re: Python program to phone? Hi there Steve. Did you check BeeWare? (https://pybee.org/) -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Python program to phone?

2019-02-07 Thread Jack Dangler
On 2/4/19 3:20 PM, 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 .py file reads/writes

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, A

Re: Python program to phone?

2019-02-05 Thread Mario R. Osorio
Hi there Steve. Did you check BeeWare? (https://pybee.org/) -- https://mail.python.org/mailman/listinfo/python-list

Re: Python program to phone?

2019-02-05 Thread Rhodri James
On 04/02/2019 23:12, Chris Roy-Smith wrote: On 5/2/19 7:20 am, Steve wrote: P.S.  Yes, I tried to post this about two weeks ago but could not seem to respond to the replies I received.  I could contact one or two individuals but apparently not the masses.  How do I find out how this list works

Re: Python program to phone?

2019-02-05 Thread Abdur-Rahmaan Janhangeer
see pydroid and qpython on play store.2 Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Re: Python program to phone?

2019-02-04 Thread Chris Roy-Smith
On 5/2/19 7:20 am, 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 .py file reads/writes to

Python program to phone?

2019-02-04 Thread Steve
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 .py file reads/writes to two txt files. About a year

Re: How do I get a python program to work on my phone?

2019-01-30 Thread Mario R. Osorio
You might want to check this project: https://pybee.org/ I've never used it but it shows promising. BTW, I'm a diabetic myself and I would be very thankful if you could share your application. I'm currently using 2 Android apps: StickBuddy offers a system to keep track of both where you pinch

Re: How do I get a python program to work on my phone?

2019-01-29 Thread Michael Torrie
On 2019-01-29 8:44 a.m., Michael Torrie wrote: > There have been some Python to javascript compilers, or implementations > of Python in Javascript. So maybe it's possible to make a hybrid app > using Python. Here's an interesting project that might work with some hybrid app development frameworks

Re: How do I get a python program to work on my phone?

2019-01-29 Thread Michael Torrie
n. Websocketd lets you do all sorts of interesting things such as > serve static pages, CGI programs, and use websockets. Websockets requires a > little bit of JavaScript but makes the interaction between a browser page > and a Python program on the server ridiculously easy. Much easier th

Re: How do I get a python program to work on my phone?

2019-01-29 Thread Bob Gailer
kivy has a very steep learning curve. The easy way to use kivy is to install the kivy launcher app which then lets you run a Python program and access the kivy widgets. If you really want to dive into kivy I will send you a presentation I gave on kivy. After a lot of work I did manage to create an

Re: How do I get a python program to work on my phone?

2019-01-28 Thread Michael Torrie
On 2019-01-28 8:29 a.m., Steve wrote: > I now want to run it on my MotoG phone. The program accepts keyed in data > and will access two text files to keep data and I would like to have the > program chime my phone to remind me to take the next reading. > > First step is to get it running in my ph

How do I get a python program to work on my phone?

2019-01-28 Thread Steve
This is my first message to this forum, I am not sure how to submit it so please correct me if I am not doing this properly. === Being new to python as of a year ago December and have extensive programming experience: C++, VBasic, HTML etc... I installed P

next steps to make a python program more available

2018-12-27 Thread ant
ok, i have the program going and installable for my local Linux distribution. aka i have it packaged and on PyPI and it runs from my local terminal command line. i have people available for testing it out on Windows and a Mac, but i don't have any way of knowing what to do to make the program

Re: Invalid error in python program

2018-07-08 Thread Chris Angelico
On Mon, Jul 9, 2018 at 10:02 AM, Steven D'Aprano wrote: > On Sun, 08 Jul 2018 22:13:59 +0530, Prafull Ks wrote: > >> I miss studying in class 11 cbse.College as introduced us python. I >> installed it in my laptop but when I save and runed in idle mod. The >> 3.7.0 the 7 is highlighted and syntax

Re: Invalid error in python program

2018-07-08 Thread Steven D'Aprano
On Sun, 08 Jul 2018 22:13:59 +0530, Prafull Ks wrote: > I miss studying in class 11 cbse.College as introduced us python. I > installed it in my laptop but when I save and runed in idle mod. The > 3.7.0 the 7 is highlighted and syntax error is showen. As showen in the > screen shot below. Unless

Re: Invalid error in python program

2018-07-08 Thread Steven D'Aprano
On Sun, 08 Jul 2018 13:02:35 -0400, Etienne Robillard wrote: > I'm guessing you may need some help in english writing too! Now that's not fair. Not everyone is fluent in English and so long as they make a genuine attempt we should be kind enough to ignore minor spelling and grammatical errors.

Re: Invalid error in python program

2018-07-08 Thread Etienne Robillard
I'm guessing you may need some help in english writing too! Anyways, I don't think anyone here may want to make your homeworks for you... Regards, Etienne Le 2018-07-08 à 12:43, Prafull Ks a écrit : I miss studying in class 11 cbse.College as introduced us python. I installed it in my lapto

Re: Invalid error in python program

2018-07-08 Thread Abdur-Rahmaan Janhangeer
screenshots are not sent in this list, can you please copy paste th error or use paste bin? thanks ! Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- https://mail.python.org/mailman/listinfo/python-list

Invalid error in python program

2018-07-08 Thread Prafull Ks
I miss studying in class 11 cbse.College as introduced us python. I installed it in my laptop but when I save and runed in idle mod. The 3.7.0 the 7 is highlighted and syntax error is showen. As showen in the screen shot below. Plz help me resolve this problem Ur faithful user Prafull. Thank you --

Can't load Python program on my HP ENVY computer

2018-02-04 Thread Bernard via Python-list
I have an HP ENVY TouchSmart 17 Notebook PC. Windows 8.1. Intel(R) Core(TM) i7-4700 mQ cpu @ 2.40 ghz 2.40ghz 64-bit operation system x64 based processor Full Windows touch support with 10 touch points Can you send me the link to the correct Python version that will run on this computer.

Re: Python program ends with 154 snakes dead; should it continue?

2017-06-06 Thread Chris Angelico
On Wed, Jun 7, 2017 at 8:43 AM, Gregory Ewing wrote: > Chris Angelico wrote: >> >> Well, no. Once a Python program ends, it should not continue. At that >> point, you're supposed to go back to the OS. > > > Well, the OS is a program, too. True, but I don

Re: Python program ends with 154 snakes dead; should it continue?

2017-06-06 Thread Gregory Ewing
Chris Angelico wrote: Well, no. Once a Python program ends, it should not continue. At that point, you're supposed to go back to the OS. Well, the OS is a program, too. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Python program ends with 154 snakes dead; should it continue?

2017-06-06 Thread Chris Angelico
On Wed, Jun 7, 2017 at 1:07 AM, Larry Martell wrote: > I saw this headline and my first thought was what kind of program was this??? > > http://www.mypalmbeachpost.com/weather/new-python-program-ends-with-154-snakes-dead-should-continue/UtI3GeaBflGHEZzlfoHYgN/ > > We now ret

Re: Python program ends with 154 snakes dead; should it continue?

2017-06-06 Thread Skip Montanaro
> I saw this headline and my first thought was what kind of program was this??? > > http://www.mypalmbeachpost.com/weather/new-python-program-ends-with-154-snakes-dead-should-continue/UtI3GeaBflGHEZzlfoHYgN/ If only getting rid of invasive species was a SMOP. Skip -- https://mail.p

Python program ends with 154 snakes dead; should it continue?

2017-06-06 Thread Larry Martell
I saw this headline and my first thought was what kind of program was this??? http://www.mypalmbeachpost.com/weather/new-python-program-ends-with-154-snakes-dead-should-continue/UtI3GeaBflGHEZzlfoHYgN/ We now return you to your regularly scheduled programming. -- https://mail.python.org/mailman

Python program to run commands on cmd.exe from a tkinter GUI input box

2017-05-18 Thread Sanjay Yadav
Can anybody help or share a python code using Tkinter for opening cmd.exe and running command given from input box. For eg. when I run the code it will ask IP in an input box gui and ping response for that IP will be on cmd console -- https://mail.python.org/mailman/listinfo/python-list

Re: Need help in python program

2016-10-29 Thread Veek M
id_1, clk, val = foo_function() id_2, key, units, delay = bar_function() if id_1 == id_2: print id_1, clk, val, key, units, delay -- https://mail.python.org/mailman/listinfo/python-list

Re: Need help in python program

2016-07-01 Thread Christian Gollwitzer
Am 01.07.16 um 12:26 schrieb Archana Sonavane: Hello Everyone, I am doing python code by using API. My first API giving fields - Itemid, clock and value second API giving fields - Itemid, key, units and delay using for loops for both API. Could you please tell me how to compare both id by usi

Re: Need help in python program

2016-07-01 Thread Bob Gailer
On Jul 1, 2016 6:30 AM, "Archana Sonavane" wrote: > > Hello Everyone, > > I am doing python code by using API. > > My first API giving fields - Itemid, clock and value > second API giving fields - Itemid, key, units and delay > > using for loops for both API. > > Could you please tell me how to co

Need help in python program

2016-07-01 Thread Archana Sonavane
Hello Everyone, I am doing python code by using API. My first API giving fields - Itemid, clock and value second API giving fields - Itemid, key, units and delay using for loops for both API. Could you please tell me how to compare both id by using equal operator. My output should be : Item

testing python program,project and django site

2016-04-04 Thread Xristos Xristoou
hello, i am python user and i have some projects,programs and sites with django in python. i want one more step deeper,i want to test my programs for bugs,weaknesses,vulnerability,security or penetration test,on my sites for crashes(because use python apps).because the user i am now on the featur

Re: Python program

2016-04-02 Thread Chris Angelico
On Sun, Apr 3, 2016 at 5:14 AM, Pythonnoob via Python-list wrote: > I have written a program in Python track the number of visits customers make > to our business based upon their account numbers. Right now we are doing this > via paper. We have 7 computers. Each with a different user. We do hav

Python program

2016-04-02 Thread Pythonnoob via Python-list
install the program on the server as well. But in order for the stats to be updated by all associates in real time , would I have to build a database and then get that installed on the server ? If so , how would some of you get this done? Besides writing the Python program, step by step what would

Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread ashish
Hi Folks, I am trying to do the following. I have a moderately complex python module/application X, whose source code i have access to. I run X with the following command python x.py ... Internally, x.py callls y.py, which in turn calls z.py, etc etc x.py ---> y.py ---> z.py ---> u.py --

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
zy wrote: > >> > On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote: > >> >> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy wrote: > >> >> > Pl explain me how to connect the MYSQL database to Python program? > >> >> > >>

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
; Pl explain me how to connect the MYSQL database to Python program? > >> > >> You start by looking for a module that lets you do that. You can use > >> your favourite web search engine, or go directly to PyPI. > >> > >> Then you learn how t

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread Igor Korot
> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy wrote: >> >> > Pl explain me how to connect the MYSQL database to Python program? >> >> >> >> You start by looking for a module that lets you do that. You can use >> >> your favourite web search

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
; Pl explain me how to connect the MYSQL database to Python program? > >> > >> You start by looking for a module that lets you do that. You can use > >> your favourite web search engine, or go directly to PyPI. > >> > >> Then you learn how t

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread Larry Martell
On Fri, Dec 11, 2015 at 1:36 PM, ICT Ezy wrote: > On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote: >> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy wrote: >> > Pl explain me how to connect the MYSQL database to Python program? >> >> You start by

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
On Wednesday, December 9, 2015 at 1:45:26 PM UTC-8, Mark Lawrence wrote: > On 09/12/2015 17:51, ICT Ezy wrote: > > Pl explain me how to connect the MYSQL database to Python program? > > > > Use a search engine. Then run up an editor, write some code, run said > code. I

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
On Friday, December 11, 2015 at 10:36:33 AM UTC-8, ICT Ezy wrote: > On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote: > > On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy wrote: > > > Pl explain me how to connect the MYSQL database to Python program? > >

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote: > On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy wrote: > > Pl explain me how to connect the MYSQL database to Python program? > > You start by looking for a module that lets you do that. You can use > your fa

Re: How to connect the MYSQL database to Python program?

2015-12-11 Thread ICT Ezy
On Wednesday, December 9, 2015 at 1:45:26 PM UTC-8, Mark Lawrence wrote: > On 09/12/2015 17:51, ICT Ezy wrote: > > Pl explain me how to connect the MYSQL database to Python program? > > > > Use a search engine. Then run up an editor, write some code, run said > code. I

Re: How to connect the MYSQL database to Python program?

2015-12-09 Thread Mark Lawrence
On 09/12/2015 17:51, ICT Ezy wrote: Pl explain me how to connect the MYSQL database to Python program? Use a search engine. Then run up an editor, write some code, run said code. If you then have problems state your OS, Python version and provide us with the full traceback. An

Re: How to connect the MYSQL database to Python program?

2015-12-09 Thread Chris Angelico
On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy wrote: > Pl explain me how to connect the MYSQL database to Python program? You start by looking for a module that lets you do that. You can use your favourite web search engine, or go directly to PyPI. Then you learn how to use that module, includ

How to connect the MYSQL database to Python program?

2015-12-09 Thread ICT Ezy
Pl explain me how to connect the MYSQL database to Python program? -- https://mail.python.org/mailman/listinfo/python-list

Re: need help understanding a python program

2015-11-21 Thread Lee Bradley
On Monday, November 2, 2015 at 1:45:58 PM UTC-5, Ben Finney wrote: > Lee Bradley writes: > > > http://pastebin.com/ndDYjYe1 > > We much prefer to discuss code in the context of plain text messages > right here, because this forum is archived longer than the expected > lifetime of content hosted

Re: need help understanding a python program

2015-11-02 Thread Ben Finney
Lee Bradley writes: > http://pastebin.com/ndDYjYe1 We much prefer to discuss code in the context of plain text messages right here, because this forum is archived longer than the expected lifetime of content hosted on other services. > For now I am looking for someone who can dig into this code

need help understanding a python program

2015-11-02 Thread Lee Bradley
http://pastebin.com/ndDYjYe1 The above link takes you to a very interesting way of solving the classic game of Bulls and Cows. It uses an entropy-based decision algorithm. I realize this is asking a lot but I am not yet proficient enough in python to follow some of the methods. There is a fair

  1   2   3   4   5   6   7   8   9   >