On 13Nov2020 15:53, Anthony Steventon wrote:
>Thanks for the help from everyone.
>Operating system is windows 7. Download installation file is
>python-3.7.9-amd64.exe downloaded from python.org. No problems when I run it,
>installation successful.
>Have tried 2 + 3 with a result of 5 at the comm
message telling me the entry is undefined.
Anthony Steventon.
From: Bob Gailer
Sent: Thursday, November 12, 2020 8:58 PM
To: Anthony Steventon
Cc: python list
Subject: Re: How to start using python
On Nov 12, 2020 10:41 PM, "Anthony Steventon" wrote:
>
> I am new to Python and
I am not feeling well these days. It is sometimes difficult for me to
respond to others the way I would like to. This is a long reply; in my
humble opinion is important to read all of it
1-whenever you respond to an email from one of us please include the help
list what you can do by reply-all si
o tutorials that should
cover the topics of how to install python and how to start using it. If
that does not help come back to us with more information including your
operating system, the website from which you downloaded the installer, the
name of the installer file, and what you did to install
I am new to Python and have downloaded the software onto my pc. There is no
shortcut on my desktop. How the heck do I access it to start learning how to
program with it?
Anthony Steventon.
--
This email has been checked for viruses by AVG.
https://www.avg.com
--
https://mail.python.org/mailman
On Monday, July 15, 2019 at 12:44:20 AM UTC-6, kumar...@gmail.com wrote:
> Want to learn python as I have donne manual testing for 12 years. Please help
> to share opinion how to start. Thanks
I don't know your skill level with programming, but I have found this
https://www.lear
en api (weather info?), connect a socket to pass data, plot
some data on a chart/image, show info in your OS's status bar, write your
own api, threading, ...
On Mon, Jul 15, 2019 at 3:00 PM wrote:
> Want to learn python as I have donne manual testing for 12 years. Please
> help to sha
Want to learn python as I have donne manual testing for 12 years. Please help
to share opinion how to start. Thanks
--
https://mail.python.org/mailman/listinfo/python-list
Thank you all for your kind explanations.
--
https://mail.python.org/mailman/listinfo/python-list
bengt.to...@gmail.com writes:
> My gnuradio program does not start in my Mint 17.3 installation.
Summary: I believe this is a bug in the package on Mint. (The bug may be
inherited from elsewhere, too: maybe in the Debian package, maybe in the
PyPI package. That would need more diagnosis to determ
I had a paddle through the manual at
https://www.gnuradio.org/doc/doxygen/page_python_blocks.html and apparently
some DSP operations use numpy.
Ross
On Wed, 1 Aug 2018 at 11:56 wrote:
>
>
> After some research I found out that "sudo apt-get install python-numpy"
> solved the problem.
>
> Can an
After some research I found out that "sudo apt-get install python-numpy" solved
the problem.
Can anyone clarify how python-numpy solves the problem?
--
https://mail.python.org/mailman/listinfo/python-list
My gnuradio program does not start in my Mint 17.3 installation.
When I invoke the command "gnuradio-companion" I get the following message:
-
Cannot import gnuradio.
Is the python path environment variable set correctly?
All OS: PYTHONPATH
Is the library path enviro
Hi,
I'd like to start a windows application minimized
As an example I used
calc.exe
what I tried was using the startupinfo field of subprocess.Popen
though I'm not sure, that 'hidden' is really the same as minimized.
st_info = subprocess.STARTUPINFO()
st_info.dwFlags |= subproc
I have a socks5 server in my home.When I was outside, i want to
connect into the home of the socks5 server. and then I pass out all
Internet traffic away from home.
I don't know how to start.What should I look at books or documents?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 13, 8:45 pm, News123 wrote:
> Hi,
>
> I'd like to make sure, that a certain python program will only be run
> once per host. (linux/windows)
>
> so if the program is started a second time it should just terminate and
> let the other one run.
>
> This does not have to be the fastest solution
Hi Daniel,
One more question:
Daniel Fetchinson wrote:
>> I'd like to make sure, that a certain python program will only be run
>> once per host. (linux/windows)
>>
>>
>> so if the program is started a second time it should just terminate and
>> let the other one run.
>>
>> This does not have t
Hi Daniel,
Daniel Fetchinson wrote:
>> I'd like to make sure, that a certain python program will only be run
>> once per host. (linux/windows)
>>
>>
>> so if the program is started a second time it should just terminate and
>> let the other one run.
>>
>> This does not have to be the fastest solut
Hi Francesco,
Francesco Bochicchio wrote:
> On 13 Mar, 19:45, News123 wrote:
>> Hi,
>>
>> I'd like to make sure, that a certain python program will only be run
>> once per host. (linux/windows)
>>
>> so if the program is started a second time it should just terminate and
>> let the other one run.
> I'd like to make sure, that a certain python program will only be run
> once per host. (linux/windows)
>
>
> so if the program is started a second time it should just terminate and
> let the other one run.
>
> This does not have to be the fastest solution, but it should be reliable.
>
>
> I have
On 13 Mar, 19:45, News123 wrote:
> Hi,
>
> I'd like to make sure, that a certain python program will only be run
> once per host. (linux/windows)
>
> so if the program is started a second time it should just terminate and
> let the other one run.
>
> This does not have to be the fastest solution,
Hi,
I'd like to make sure, that a certain python program will only be run
once per host. (linux/windows)
so if the program is started a second time it should just terminate and
let the other one run.
This does not have to be the fastest solution, but it should be reliable.
I have a few ideas,
On 2009-01-20 12:23, Hussein B wrote:
> Hey,
> I know the basics of interacting with databases in Python.
> How to start a transaction in case I want to group a couple of insert
> and update statements into a single operation?
If you use a Python DB-API compatible database
Hussein B wrote:
> Hey,
> I know the basics of interacting with databases in Python.
> How to start a transaction in case I want to group a couple of insert
> and update statements into a single operation?
Please read the python database API documentation:
http://www.python.org/
Hey,
I know the basics of interacting with databases in Python.
How to start a transaction in case I want to group a couple of insert
and update statements into a single operation?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 13, 6:54 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> In message <[EMAIL PROTECTED]>, Gabriel
>
>
>
> Genellina wrote:
> > En Tue, 07 Oct 2008 13:25:01 -0300, Terry Reedy <[EMAIL PROTECTED]>
> > escribió:
>
> >> Lawrence D'Oliveiro wrote:
>
> >>> In message <[
In message <[EMAIL PROTECTED]>, Gabriel
Genellina wrote:
> En Tue, 07 Oct 2008 13:25:01 -0300, Terry Reedy <[EMAIL PROTECTED]>
> escribió:
>
>> Lawrence D'Oliveiro wrote:
>>
>>> In message <[EMAIL PROTECTED]>,
>>> Gabriel Genellina wrote:
>>>
Usually it's more efficient to create all the MAX_
On 7 Ott, 06:37, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Mon, 06 Oct 2008 11:24:51 -0300, <[EMAIL PROTECTED]> escribió:
>
> > On 6 Ott, 15:24, oyster <[EMAIL PROTECTED]> wrote:
> >> my code is not right, can sb give me a hand? thanx
>
> >> for example, I have 1000 urls to be downloaded,
En Tue, 07 Oct 2008 13:25:01 -0300, Terry Reedy <[EMAIL PROTECTED]>
escribió:
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>,
Gabriel Genellina wrote:
Usually it's more efficient to create all the MAX_THREADS at once, and
continuously feed them with tasks to be done.
Given that
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>, Gabriel
Genellina wrote:
Usually it's more efficient to create all the MAX_THREADS at once, and
continuously feed them with tasks to be done.
Given that the bottleneck is most likely to be the internet connection, I'd
say the "prematu
In message <[EMAIL PROTECTED]>, Gabriel
Genellina wrote:
> Usually it's more efficient to create all the MAX_THREADS at once, and
> continuously feed them with tasks to be done.
Given that the bottleneck is most likely to be the internet connection, I'd
say the "premature optimization is the root
En Mon, 06 Oct 2008 11:24:51 -0300, <[EMAIL PROTECTED]> escribió:
On 6 Ott, 15:24, oyster <[EMAIL PROTECTED]> wrote:
my code is not right, can sb give me a hand? thanx
for example, I have 1000 urls to be downloaded, but only 5 thread at
one time
I would restructure my code with someting l
On 6 Ott, 15:24, oyster <[EMAIL PROTECTED]> wrote:
> my code is not right, can sb give me a hand? thanx
>
> for example, I have 1000 urls to be downloaded, but only 5 thread at one time
> def threadTask(ulr):
> download(url)
>
> threadsAll=[]
> for url in all_url:
> task=threading.Thread(tar
my code is not right, can sb give me a hand? thanx
for example, I have 1000 urls to be downloaded, but only 5 thread at one time
def threadTask(ulr):
download(url)
threadsAll=[]
for url in all_url:
task=threading.Thread(target=threadTask, args=[url])
threadsAll.append(task)
for every
Paul McGuire wrote:
> Do "neophytes" just dive in and try stuff?
I think a lot of us coming from other fields actually slithered in, in
true python style.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 13, 4:02 pm, Nikita the Spider <[EMAIL PROTECTED]>
wrote:
> My $.02 for someone such as yourself
> is to deal with Python and as little else as possible. So write your
> code in a simple text editor like UltraEdit or Notepad
Second that opinion. Use _your_ favorite basic text editor and ru
-Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Michael R. Copeland
> Sent: Thursday, September 13, 2007 6:00 PM
> To: python-list@python.org
> Subject: How to Start
>
>
>I've decided that Python is a language/env
On 9/14/07, James Stroud <[EMAIL PROTECTED]> wrote:
>
> Here's your recipe:
>
>1. begin coding until you hit a wall
>2. read official tutorial until you figure out a solution
>3. experiment in interactive interpreter
>4. goto 1.
>
> I know this sounds obvious, but its the best way t
On Sep 13, 4:59 pm, [EMAIL PROTECTED] (Michael R. Copeland) wrote:
>Yes, I could fire up the interactive mode and play with some
> statements...but I consider that sort of thing for programming
> neophytes or experimenting with specific issues.
To misquote Francis Bacon, "you would have fis
Michael R. Copeland wrote:
>Yes, I could fire up the interactive mode and play with some
> statements...but I consider that sort of thing for programming neophytes
> or experimenting with specific issues.
The interactive interpreter is *the fastest* way to learn, expert,
novice, or somewhe
On Sep 13, 5:59 pm, [EMAIL PROTECTED] (Michael R. Copeland) wrote:
>I've decided that Python is a language/environment I'd like to learn
> (I've been a professional programmer for 45+ years), but I really don't
> know where and how to start! I have a number of
On Thursday 13 September 2007 14:59, Michael R. Copeland wrote:
>I've decided that Python is a language/environment I'd like to learn
> (I've been a professional programmer for 45+ years), but I really don't
> know where and how to start! I have a number of book
On Sep 13, 2:59 pm, [EMAIL PROTECTED] (Michael R. Copeland) wrote:
>I've decided that Python is a language/environment I'd like to learn
> (I've been a professional programmer for 45+ years), but I really don't
> know where and how to start! I have a number of
I've decided that Python is a language/environment I'd like to learn
(I've been a professional programmer for 45+ years), but I really don't
know where and how to start! I have a number of books - and am buying
some more - but because of the bewildering number of af
On Aug 20, 1:53 am, math2life <[EMAIL PROTECTED]> wrote:
> I work with python for two years, are familiar with image processing,
> but beginner on PyOpenGL and OpenGL.
>
> Any advice appreciated!
Here's a little "hello world" PyOpenGL program I had lying around that
might be useful:
http://www.mi
math2life wrote:
> I work with python for two years, are familiar with image processing,
> but beginner on PyOpenGL and OpenGL.
>
> Any advice appreciated!
>
As has been mentioned, the NeHe tutorials[1] are a good starting point.
There are (multiple) translations of the first 8 or so and then
Diez B. Roggisch wrote:
> math2life wrote:
>
>> I work with python for two years, are familiar with image processing,
>> but beginner on PyOpenGL and OpenGL.
>>
>> Any advice appreciated!
>
> You should check out the pyweek (http://www.pyweek.org/). There you find
> pygame & OpenGL-based games,
math2life wrote:
> I work with python for two years, are familiar with image processing,
> but beginner on PyOpenGL and OpenGL.
>
> Any advice appreciated!
You should check out the pyweek (http://www.pyweek.org/). There you find
pygame & OpenGL-based games, of a comprehensible size.
Diez
--
ht
I work with python for two years, are familiar with image processing,
but beginner on PyOpenGL and OpenGL.
Any advice appreciated!
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>I'm leaning towards os.startfile right now. I also see some os.spawn
>beasties in there but I don't understand those.
Try the subprocess module
--
Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft
On Mar 9, 4:57 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> | On Mar 9, 3:25 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> Can you tell the page to auto-refresh itself every 15 seconds or so? I
> have seen this as a user but don't know
On Mar 9, 4:57 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> Can you tell the page to auto-refresh itself every 15 seconds or so? I
> have seen this as a user but don't know if it is special html code or
> javascript or java or wh
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| On Mar 9, 3:25 pm, "abcd" <[EMAIL PROTECTED]> wrote:
| > probably a Thread.
|
|
| But a thread leaves the script running until the thread exits, right?
| So the webpage would just keep saying "loading" at the bottom I think.
Can you t
On Mar 9, 3:45 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> > But a thread leaves the script running until the thread exits, right?
> > So the webpage would just keep saying "loading" at the bottom I think.
>
> > -Greg
>
> give it a shot. if you spawn off a new thread your code should keep
> executing
> But a thread leaves the script running until the thread exits, right?
> So the webpage would just keep saying "loading" at the bottom I think.
>
> -Greg
give it a shot. if you spawn off a new thread your code should keep
executing while the thread does its work in the "background".
--
http://
On Mar 9, 3:25 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> probably a Thread.
But a thread leaves the script running until the thread exits, right?
So the webpage would just keep saying "loading" at the bottom I think.
-Greg
--
http://mail.python.org/mailman/listinfo/python-list
probably a Thread.
--
http://mail.python.org/mailman/listinfo/python-list
Here's my situation, would you folks be so kind as to reccomend an
approach?
I have a small Python CGI script running as an intranet app. One of
the things the script needs to do is allow users to save invoices.
This is a process that takes about 60 seconds once the user submits
the order from th
> "Dirk Hagemann" <[EMAIL PROTECTED]> (DH) wrote:
>DH> Hi!
>DH> How can I start several jobs at the same time with python? I want to
>DH> collect data from some servers and I don't want to wait until the first
>DH> server is finished. These jobs should run parallel to save time.
Use the subpr
Look into the subprocess module. Possibly relevant link follows:
http://docs.python.org/lib/node244.html
--
http://mail.python.org/mailman/listinfo/python-list
Have you considered a multi-threaded solution?
The following websites offer reasonable examples:
http://en.wikibooks.org/wiki/Programming:Python/Threading
http://www.wellho.net/solutions/python-python-threads-a-first-example.html
-Derek
Dirk Hagemann wrote:
> Hi!
>
> How can I start several job
Hi!
How can I start several jobs at the same time with python? I want to
collect data from some servers and I don't want to wait until the first
server is finished. These jobs should run parallel to save time.
What I tried is this:
os.popen('regdmp -m server1
"HKEY_LOCAL_MACHINE\\Software\\Int
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Fredrik Lundh wrote:
> > Daniel Crespo wrote:
> >>os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
> >>>1944
> >>
> >>I don't get the correct PID.
> >>
> >>When I do os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
>
Fredrik Lundh wrote:
> Daniel Crespo wrote:
>>os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
>>>1944
>>
>>I don't get the correct PID.
>>
>>When I do os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
>>I get 168 (for example), while in the tasklist appears notepad.exe with
>>the 2476 PID.
>
>
Gerhard Häring wrote:
> Yves Glodt wrote:
>> Hello,
>>
>> another question rose for me today...
>>
>> Is there a way to start an external process, in it's own context (not as
>> the exec-() functions do), and get it's pid...? [...]
>
> Check out the subprocess module if you're using Python 2.4.
>
> not sure, but the return value looks like a PID, so maybe you're seeing the
> PID for the cmd.exe instance used to run the program. or something.
No. There wasn't a 196 PID for any of the processes.
--
http://mail.python.org/mailman/listinfo/python-list
> >>> import subprocess
> >>> p = subprocess.Popen("c:/windows/notepad.exe")
> >>> p.pid
> 1948
Yes, it works. But in my case, I need to run the program totally
separated from my main program. So, when I start a new program through
subprocess, it doesn't unlink. I mean, if I close my main app, so
Hi
> >>> os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
> 1944
I don't get the correct PID.
When I do os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
I get 168 (for example), while in the tasklist appears notepad.exe with
the 2476 PID.
Why?
Thanks
Daniel
--
http://mail.python.org/mailman
Daniel Crespo wrote:
>> >>> os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
>> 1944
>
> I don't get the correct PID.
>
> When I do os.spawnl(os.P_NOWAIT, "c:/windows/notepad.exe")
> I get 168 (for example), while in the tasklist appears notepad.exe with
> the 2476 PID.
>
> Why?
not sure, but the
Yves Glodt wrote:
> Hello,
>
> another question rose for me today...
>
> Is there a way to start an external process, in it's own context (not as
> the exec-() functions do), and get it's pid...? [...]
Check out the subprocess module if you're using Python 2.4.
Otherwise, you can always use os
Hello,
another question rose for me today...
Is there a way to start an external process, in it's own context (not as
the exec-() functions do), and get it's pid...?
e.g.:
pid = wonderfulstartprocfunction('/usr/bin/wine bla.exe')
#... later
if (...):
os.kill(pid,9)
best regards,
Yve
Kenneth McDonald wrote:
> Should I just put a "Proposed PEP" message here?
"Proposed Python Enhancement Proposal"? A bit redundant, don't you
think? :-)
I think "pre-PEP" is the usual term.
> Or is there a more
> formal way?
Not until you get to the post-pre-PEP stage. By all means, please d
Kenneth McDonald wrote:
> Should I just put a "Proposed PEP" message here? Or is there a more
> formal way?
See PEP 1.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
I found this subject
line in a post to this list on Jan 30, 2004. Does anybody know if this is
possible?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Should I just put a "Proposed PEP" message here? Or is there a more
formal way?
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
$ python -i myscript.py
Michele Simionato
--
http://mail.python.org/mailman/listinfo/python-list
Thank you. 'os.environ["PYTHONINSPECT"] = "1"' does the job.
Raghu.
--
http://mail.python.org/mailman/listinfo/python-list
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I would like to have a python script which does some computations at
> the beginning and then changes to interactive mode (by displaying the
> prompt). How can I do this?
You call 'os.setenv["PYTHONINSPECT"] = "1"' at the somewher in your
[EMAIL PROTECTED] wrote:
>Hi,
>
>I would like to have a python script which does some computations at
>the beginning and then changes to interactive mode (by displaying the
>prompt). How can I do this?
>
>
popen()
Mage
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to have a python script which does some computations at
the beginning and then changes to interactive mode (by displaying the
prompt). How can I do this?
Thanks in advance,
Raghu.
--
http://mail.python.org/mailman/listinfo/python-list
On 2004-12-22, Erik Geiger <[EMAIL PROTECTED]> wrote:
> Donn Cave schrieb:
>
>> In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
>> wrote:
> [...]
>> > Thats what I've tried, but it did not work. Maybe it's because I want to
>> > start something like su -c '/path/to/skript $parameter
Donn Cave schrieb:
> In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
> wrote:
[...]
> > Thats what I've tried, but it did not work. Maybe it's because I want to
> > start something like su -c '/path/to/skript $parameter1 $parameter2'
> > user
> Unfortunately this particular case
In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
wrote:
> Fredrik Lundh schrieb:
>
> > Erik Geiger wrote:
> >
> [...]
> >> How to start a shell script without waiting for the exit of that shell
> >> script? It shall star
my english ist not that got but I'll try.
>>
>> I have a running python script (capisuit incoming.py). This script shall
>> start a linux shell script. If I start this script like
>> os.system(/paht/to shellscipt.sh) the python scipt waits for the exit of
>> the
Jean Brouwers schrieb:
>
>
> See the os. spawn* functions. For example
>
> os.spawnv(os.P_NOWAIT, /path/to/script, args)
>
> /Jean Brouwers
>
>
Thats what I've tried, but failed.
Thanks anyway ;-)
Greets
Erik
[...]
--
Jemanden wie ein rohes Ei zu behandeln kann auch bedeuten, ihn in
Fredrik Lundh schrieb:
> Erik Geiger wrote:
>
[...]
>> How to start a shell script without waiting for the exit of that shell
>> script? It shall start the shell script and immediately execute the next
>> python command.
>
> if you have Python 2.4, you
ython script.
>
> How to start a shell script without waiting for the exit of that shell
> script? It shall start the shell script and immediately execute the next
> python command.
if you have Python 2.4, you can use the subprocess module:
http://docs.python.org/lib/module-subpro
running python script (capisuit incoming.py). This script shall
> start a linux shell script. If I start this script like os.system(/paht/to
> shellscipt.sh) the python scipt waits for the exit of the shell script and
> then goes on with the rest of the python script.
>
> How to start a sh
shall
> start a linux shell script. If I start this script like os.system(/paht/to
> shellscipt.sh) the python scipt waits for the exit of the shell script and
> then goes on with the rest of the python script.
>
> How to start a shell script without waiting for the exit of that sh
with the rest of the python script.
How to start a shell script without waiting for the exit of that shell
script? It shall start the shell script and immediately execute the next
python command.
Thanks for any hints
Erik
--
Jemanden wie ein rohes Ei zu behandeln kann auch bedeuten, ihn in die P
90 matches
Mail list logo