Re: Python Question re Executing a Script

2022-04-30 Thread Mike Dewhirst
On 1/05/2022 8:37 am, Brent Hunter wrote: Hello, I just purchased a new Windows 11 computer and installed Python 3.10.4 (64 bit). I can't figure out from your documentation, how do I: 1. Run a python script that is located in the same directory ( C:\Users\Brent\AppData\Roaming\Microsoft

Re: Python Question re Executing a Script

2022-04-30 Thread Dennis Lee Bieber
On Sat, 30 Apr 2022 22:37:35 +, Brent Hunter declaimed the following: >Hello, > >I just purchased a new Windows 11 computer and installed Python 3.10.4 (64 >bit). I can't figure out from your documentation, how do I: > > > 1. Run a python script that is located in the same directory ( >

Re: Python Question re Executing a Script

2022-04-30 Thread dn
On 01/05/2022 10.37, Brent Hunter wrote: > Hello, > > I just purchased a new Windows 11 computer and installed Python 3.10.4 (64 > bit). I can't figure out from your documentation, how do I: > > > 1. Run a python script that is located in the same directory ( > C:\Users\Brent\AppData\Roami

Re: Python question

2020-03-13 Thread Michael Torrie
On 3/12/20 4:19 PM, Mike Dewhirst wrote: > I'm not sure I understand what you are saying. How is gmail > behaviour breaking things? The problem is if I post to a mailing list from gmail (either the web interface or Thunderbird via Google's SMTP servers), Google will silently discard my own message

Re: Python question

2020-03-12 Thread Michael Torrie
On 3/11/20 8:47 PM, DL Neil via Python-list wrote: > Didn't someone once claim "do no harm"? > > There are two sides to every story! Rather than changing the (Discussion > List) server, which affects everyone; ask those who don't like Google's > tactics/behavior to change their (email) client!

Re: Python question

2020-03-12 Thread Souvik Dutta
Ya at least I thought that. On Thu, Mar 12, 2020, 12:45 PM Mike Dewhirst wrote: > On 12/03/2020 1:47 pm, DL Neil via Python-list wrote: > > On 12/03/20 3:03 AM, Rhodri James wrote: > >> On 11/03/2020 04:06, Michael Torrie wrote: > >>> On 3/10/20 6:49 PM, Souvik Dutta wrote: > What about mov

Re: Python question

2020-03-12 Thread Mike Dewhirst
On 12/03/2020 1:47 pm, DL Neil via Python-list wrote: On 12/03/20 3:03 AM, Rhodri James wrote: On 11/03/2020 04:06, Michael Torrie wrote: On 3/10/20 6:49 PM, Souvik Dutta wrote: What about moving on to a social media app completely made in pythoj for python? No thanks. I don't want to be on

Re: Python question

2020-03-11 Thread DL Neil via Python-list
On 12/03/20 3:03 AM, Rhodri James wrote: On 11/03/2020 04:06, Michael Torrie wrote: On 3/10/20 6:49 PM, Souvik Dutta wrote: What about moving on to a social media app completely made in pythoj for python? No thanks. I don't want to be on yet another web forum.  I don't need "social media" or a

Re: Python question

2020-03-11 Thread Grant Edwards
On 2020-03-11, Michael Torrie wrote: > On 3/10/20 6:49 PM, Souvik Dutta wrote: >> What about moving on to a social media app completely made in pythoj for >> python? > > No thanks. I don't want to be on yet another web forum. I don't need > "social media" or a "social media app." Email works exc

Re: Python question

2020-03-11 Thread Rhodri James
On 11/03/2020 04:06, Michael Torrie wrote: On 3/10/20 6:49 PM, Souvik Dutta wrote: What about moving on to a social media app completely made in pythoj for python? No thanks. I don't want to be on yet another web forum. I don't need "social media" or a "social media app." Email works exceedin

Re: Python question

2020-03-10 Thread Michael Torrie
On 3/10/20 6:49 PM, Souvik Dutta wrote: > What about moving on to a social media app completely made in pythoj for > python? No thanks. I don't want to be on yet another web forum. I don't need "social media" or a "social media app." Email works exceedingly well for this sort of thing, despite G

Re: Python question

2020-03-10 Thread Souvik Dutta
What about moving on to a social media app completely made in pythoj for python? On Wed, 11 Mar, 2020, 12:36 am DL Neil via Python-list, < python-list@python.org> wrote: > On 11/03/20 7:34 AM, Michael Torrie wrote: > > On 3/10/20 6:40 AM, Chris Angelico wrote: > >> On Tue, Mar 10, 2020 at 11:22 P

Re: Python question

2020-03-10 Thread DL Neil via Python-list
On 11/03/20 7:34 AM, Michael Torrie wrote: On 3/10/20 6:40 AM, Chris Angelico wrote: On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list ... I'm also reading this in Gmail, and I didn't get any such warning. I'm going to call that a spurious warning, a false positive. Gmail often r

Re: Python question

2020-03-10 Thread Michael Torrie
On 3/10/20 6:40 AM, Chris Angelico wrote: > On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list >> I would reply, but I was already too much off topic. I want only to >> write what Gmail reports to me about the last message of the person >> that started this discussion: >> >>> This message

Re: Python question

2020-03-10 Thread Chris Angelico
On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list wrote: > > On Fri, 6 Mar 2020 at 17:30, Souvik Dutta wrote: > > And you cannot form opinions for > > other people's by saying them not to support a person. That is injustice > > and rude. > > I would reply, but I was already too much of

Re: Python question

2020-03-10 Thread Marco Sulla via Python-list
On Fri, 6 Mar 2020 at 17:30, Souvik Dutta wrote: > And you cannot form opinions for > other people's by saying them not to support a person. That is injustice > and rude. I would reply, but I was already too much off topic. I want only to write what Gmail reports to me about the last message of t

Re: Python question

2020-03-08 Thread Peter J. Holzer
On 2020-03-05 20:49:14 -0800, Mr. Lee Chiffre wrote: > > 2. he does not trust binaries from pip. > > What is the point of open source if you cannot compile from source code? You can get the source code from pypi. I don't see any option for pip to do that, but you can easily do it manually. If yo

Re: Python question

2020-03-07 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Re: Python question

2020-03-06 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Re: Python question

2020-03-06 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Re: Python question

2020-03-06 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all ther

Re: Python question

2017-03-26 Thread Steve D'Aprano
On Sun, 26 Mar 2017 10:35 pm, Cameron Simpson wrote: > On 26Mar2017 20:55, Steve D'Aprano wrote: >>On Sun, 26 Mar 2017 01:55 pm, c...@zip.com.au wrote: >>> 1: He BCCed the list, not us individually. Look at the headers. >> >>BCCed addresses aren't visible in the headers. That's why they're BLIND

Re: Python question

2017-03-26 Thread Cameron Simpson
On 26Mar2017 20:55, Steve D'Aprano wrote: On Sun, 26 Mar 2017 01:55 pm, c...@zip.com.au wrote: 1: He BCCed the list, not us individually. Look at the headers. BCCed addresses aren't visible in the headers. That's why they're BLIND CC. Of course, but the received headers etc show it passed t

Re: Python question

2017-03-26 Thread Steve D'Aprano
On Sun, 26 Mar 2017 01:55 pm, c...@zip.com.au wrote: > 1: He BCCed the list, not us individually. Look at the headers. BCCed addresses aren't visible in the headers. That's why they're BLIND CC. The lack of personal email addresses in the headers doesn't prove they weren't there. All the headers

Re: Python question

2017-03-25 Thread cs
On 26Mar2017 00:11, Erik wrote: On 25/03/17 20:26, MRAB wrote: On 2017-03-25 20:10, Terry Reedy wrote: On 3/25/2017 6:50 AM, Steve D'Aprano wrote: they BCC or CC me without a good excuse. As I was in this case: the OP BCCed me in his post. I'm not *that* special, so my guess is that he did a

Re: Python question

2017-03-25 Thread Abdul Abdul
Hi Cameron, Thanks for your kind reply and suggestion. Sure, please find my question below. I also show the different edits made and what errors emerged after those edits. Thanks for your support! I have the following code portion for a convolutional neural network: import numpy as np im

Re: Python question

2017-03-25 Thread Erik
On 25/03/17 20:26, MRAB wrote: On 2017-03-25 20:10, Terry Reedy wrote: On 3/25/2017 6:50 AM, Steve D'Aprano wrote: they BCC or CC me without a good excuse. As I was in this case: the OP BCCed me in his post. I'm not *that* special, so my guess is that he did a mass BCC of many regulars here, wh

Re: Python question

2017-03-25 Thread MRAB
On 2017-03-25 20:10, Terry Reedy wrote: On 3/25/2017 6:50 AM, Steve D'Aprano wrote: On Sat, 25 Mar 2017 10:09 am, Cameron Simpson wrote: On 24Mar2017 18:08, Abdul Abdul wrote: I hope you are doing fine. I have added a question on StackOverflow and thought you might have an idea on it. This i

Re: Python question

2017-03-25 Thread Terry Reedy
On 3/25/2017 6:50 AM, Steve D'Aprano wrote: On Sat, 25 Mar 2017 10:09 am, Cameron Simpson wrote: On 24Mar2017 18:08, Abdul Abdul wrote: I hope you are doing fine. I have added a question on StackOverflow and thought you might have an idea on it. This is the question

Re: Python question

2017-03-25 Thread Steve D'Aprano
On Sat, 25 Mar 2017 10:09 am, Cameron Simpson wrote: > On 24Mar2017 18:08, Abdul Abdul wrote: >>I hope you are doing fine. I have added a question on StackOverflow and >>thought you might have an idea on it. This is the question >>

Re: Python question

2017-03-25 Thread dieter
Abdul Abdul writes: > I hope you are doing fine. I have added a question on StackOverflow and > thought you might have an idea on it. This is the question > I do not want to go into the detail

Re: Python question

2017-03-24 Thread Cameron Simpson
On 24Mar2017 18:08, Abdul Abdul wrote: I hope you are doing fine. I have added a question on StackOverflow and thought you might have an idea on it. This is the question Hi Adbul, Please j

Re: PYTHON QUESTION

2015-06-14 Thread Laurent Pointal
adebayo.abra...@gmail.com wrote his student exercise as raw text: > Help with this problem! > > Temperature converter > Description > > Write two functions that will convert temperatures back and forth from the > Celsius and Fahrenheit temperature scales. The formulas for making the > conversion

Re: PYTHON QUESTION

2015-06-11 Thread David Palao
2015-06-11 12:44 GMT+02:00 : > Help with this problem! > > Temperature converter > Description > > Write two functions that will convert temperatures back and forth from the > Celsius and Fahrenheit temperature scales. The formulas for making the > conversion are as follows: > > Tc=(5/9)*(Tf-3

Re: python question

2011-02-02 Thread Benjamin Kaplan
On Wed, Feb 2, 2011 at 4:08 PM, Robin wrote: > > how do you acccess a hash element in python 3? It completely changed > from version 2 and earlier, I think. > What do you mean by accessing a hash element? Do you mean the hash of an object? Because that's stayed the same: hash(obj). Do you mean ac

Re: Python question

2010-04-11 Thread DreiJane
Rereading my sent answer i wondered, what the variable s was used for besides that "find" and found nothing. Without it also the layout is better: if os.environ['PATH'].find(gtkBinDir) == -1: os.putenv("PATH", os.getenv("PATH")+ os.pathsep + gtkBinDir) -- http://mail.python.org/mailman/listi

Re: Python question

2010-04-11 Thread DreiJane
Hello, Python and gtk are "ambulant" (portable plus intallable by mere copying without admin rights). gtk only needs to have the path to its / bin on the PATH . The latter could - and possibly should be - done by the Python scripts using it, for example: s = os.environ['PATH'] if s.find(gtkBinDir

Re: Python question

2010-04-09 Thread Gabriel Genellina
En Fri, 09 Apr 2010 14:14:34 -0300, Binary escribió: How much space approximately is required to install the following packs on Windows XP? pycairo-1.4.12-2.win32-py2.6.exe python-2.6.1.msi pygobject-2.14.2-2.win32-py2.6.exe pygtk-2.12.1-3.win32-py2.6.exe pywin32-213.win32-py2.6.exe gtk-2.

Re: python question

2009-05-22 Thread Tim Wintle
On Fri, 2009-05-22 at 05:51 -0700, Craig wrote: > I use python 2.6.2 and i useing ubuntu 9.04 not windows. What are you trying to install? is it available in Synaptic package manager? If it's a program written in python, then there may be a file called "setup.py". If there is then open a termin

Re: python question

2009-05-22 Thread Craig
I use python 2.6.2 and i useing ubuntu 9.04 not windows. --- On Thu, 5/21/09, Dave Angel wrote: > From: Dave Angel > Subject: Re: python question > To: "Craig" > Cc: python-list@python.org > Date: Thursday, May 21, 2009, 2:22 PM > Craig wrote: > > How do i

Re: python question

2009-05-21 Thread Dave Angel
Craig wrote: How do i install this.i never seen a python write in c before. Well, I've never seen a snake program in any language, python or otherwise. And I believe python was named after Monty Python, not the snake. But once it got its name, snake puns abound. Anyway, why not tell yo

Re: python question!!

2007-11-22 Thread Mike Kent
On Nov 22, 8:23 pm, "bruce" <[EMAIL PROTECTED]> wrote: > is there a function/feature/etc.. that i can run on "foo.py" that would walk > through the entire list of files that make up foo.py, so i could see the > list of *.py files that are required to run "foo.py". There's this: http://www.tarind.

Re: Python question (PyNoob)

2007-08-20 Thread Ant
On Aug 20, 1:33 am, Anonymous <[EMAIL PROTECTED]> wrote: ... > 1). Data Munging (text processing) - instead of Perl Check out the re module (regexes) in the standard library, and the pyparsing third party library: http://pyparsing.wikispaces.com/ for more complex stuff. > 2). Automating my build

Re: Python question (PyNoob)

2007-08-20 Thread Carl Banks
On Aug 19, 10:18 pm, Benjamin <[EMAIL PROTECTED]> wrote: > On Aug 19, 7:33 pm, Anonymous <[EMAIL PROTECTED]> wrote: > > > I have exp with C/C++ (and a few other langs). I want to use Python to > > start doing the ff: > > > 1). Data Munging (text processing) - instead of Perl > > 2). Automating my b

Re: Python question (PyNoob)

2007-08-20 Thread Carl Banks
On Aug 19, 8:33 pm, Anonymous <[EMAIL PROTECTED]> wrote: > I have exp with C/C++ (and a few other langs). I want to use Python to > start doing the ff: > > 1). Data Munging (text processing) - instead of Perl > 2). Automating my build process > 3). (Possibly) some web data retrieval jobs > > Can an

Re: Python question (PyNoob)

2007-08-19 Thread Terry Reedy
"Anonymous" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] |I have exp with C/C++ (and a few other langs). I want to use Python to | start doing the ff: | | 1). Data Munging (text processing) - instead of Perl | 2). Automating my build process | 3). (Possibly) some web data retrieval

Re: Python question (PyNoob)

2007-08-19 Thread Benjamin
On Aug 19, 7:33 pm, Anonymous <[EMAIL PROTECTED]> wrote: > I have exp with C/C++ (and a few other langs). I want to use Python to > start doing the ff: > > 1). Data Munging (text processing) - instead of Perl > 2). Automating my build process > 3). (Possibly) some web data retrieval jobs > > Can an

Re: Python question (PyNoob)

2007-08-19 Thread Pablo Torres
On Aug 19, 7:33 pm, Anonymous <[EMAIL PROTECTED]> wrote: > I have exp with C/C++ (and a few other langs). I want to use Python to > start doing the ff: > > 1). Data Munging (text processing) - instead of Perl > 2). Automating my build process > 3). (Possibly) some web data retrieval jobs > > Can an

Re: Python question (PyNoob)

2007-08-19 Thread Erik Max Francis
Anonymous wrote: > I have exp with C/C++ (and a few other langs). I want to use Python to > start doing the ff: > > 1). Data Munging (text processing) - instead of Perl > 2). Automating my build process > 3). (Possibly) some web data retrieval jobs > > Can anyone point me to resurces/possibly s

Re: Python Question About Compiling.

2006-12-01 Thread Paul Boddie
Fredrik Lundh wrote: > yndesai wrote: > > > Is it that no compiling facility is hindering the growth of python > > in commercial circuit . . . ? I can see the point of people who are confused about single file executables for Python programs, who are possibly new to the technology and don't know w

Re: Python Question About Compiling.

2006-11-30 Thread Fredrik Lundh
yndesai wrote: > Is it that no compiling facility is hindering the growth of python > in commercial circuit . . . ? good thing most commercial Python developers haven't noticed this, then. if you don't know that some random guy on the internet thinks that some- thing doesn't exist, there's no

RE: Python Question About Compiling.

2006-11-30 Thread yndesai
I got attracted to python since I heard about PythonCAD, while I used Fortran and Basic during graduation days & VBA for some macros in Office. I liked the python as it seems smart. But without compiling it is a trouble to end user. I downloaded PythonCAD and am still searching for the libraries

Re: Python Question About Compiling.

2006-11-30 Thread Tim Roberts
"Scheol Service" <[EMAIL PROTECTED]> wrote: > >Im just unsure on how to compile python code into .exe executionable >files. Is there a simple way to do this? Sort of. Python code is not compiled to machine language. Instead, it is compiled to an intermediate language that is then interpreted.

Re: Python Question About Compiling.

2006-11-29 Thread Gabriel G
At Thursday 30/11/2006 03:40, Scheol Service wrote: i know this. Is there better directions on how to use it? Have you tried it? What's your actual problem? See http://www.py2exe.org/ -- Gabriel Genellina Softlab SRL __ Correo Yahoo! Espacio

Re: Python Question About Compiling.

2006-11-29 Thread Fredrik Lundh
Scheol Service wrote: > Im just unsure on how to compile python code into .exe executionable > files. Is there a simple way to do this? typing "compile python code" into google gives you http://effbot.org/zone/python-compile.htm which gives you some background, and links to a bunch of bun

Re: Python Question About Compiling.

2006-11-29 Thread Gabriel Genellina
At Thursday 30/11/2006 02:02, Scheol Service wrote: Im just unsure on how to compile python code into .exe executionable files. Is there a simple way to do this? py2exe -- Gabriel Genellina Softlab SRL __ Correo Yahoo! Espacio para todos tu

Re: Python question

2006-06-26 Thread Bruno Desthuilliers
Harry wrote: > Hi All, (snip) > I have the following object which is like a list of tuples > row= [('name', 'x1'), ('min', 15.449041129349528), ('max', > 991.6337818245629), ('range', 976.18474069521335), ('mean', > 496.82174193958127), ('stddev', 304.78275004920454), ('variance', > 92892.52472755

Re: Python question

2006-06-25 Thread Erik Max Francis
Harry wrote: > It is nice to join the python group. Can someone please help me with > a python question? > I have the following object which is like a list of tuples > What command do I use to get the value corresponding to 'min'? > This object seems to be non-indexable > > > row= [('name', 'x