hello, i'm fairly new to python programming and programming in general, but
i have written a python prog that creates a MIDI file (.mid) and I want to
be able to play it from another prog which is written in BASIC.
It's a command-line prog that takes the MIDI filename as a parameter and
plays the file.
The 'Learning Python' book talks about using the os.system call, but I
haven't been able to get this to work.
How can I run this other program from a python script and pass the filename
as a parameter? 23 1894
Hi !
You can also do (sample) :
import os
vret = os.popen('c:\\pfiles\\lplayer.exe')
print vret
@+
--
Michel Claveau
"Spiffy" wrote: The 'Learning Python' book talks about using the os.system call, but I haven't been able to get this to work.
"it doesn't work" is a really lousy way to describe a problem what did you
do, what happened, and what did you expect would happen instead?
also see: http://www.catb.org/~esr/faqs/smart-...ons.html#intro
How can I run this other program from a python script and pass the filename as a parameter?
import os
filename = "myfile"
os.system("program %s" % filename)
</F>
"Michel Claveau/Hamster" <No********@No.Spam.mclaveau.No.Spam.com> wrote in
message news:br**********@news-reader2.wanadoo.fr... Hi !
You can also do (sample) :
import os vret = os.popen('c:\\pfiles\\lplayer.exe') print vret @+ -- Michel Claveau
Hello Michel, thanks for taking the time to respond. Unfortunately, when I
tried to run your sample code (changing the name of the file, of course), it
did nothing.
How can I run this other program from a python script and pass the
filename as a parameter?
import os
filename = "myfile"
os.system("program %s" % filename)
</F>
Fredrik, the example you provided is virtually the same as the one from the
"Learning Python" book. When I run it, the dos command line appears with the
message 'Bad command or file name". Both the .exe and the .mid file are in
the python path and the spelling has been checked.
What I expected to happen was that the os.system call would start the .exe
and begin playing the .mid file. This does not happen. This is what I meant
when I said I haven't been able to get this to work.
"it doesn't work" is a really lousy way to describe a >problem what did
youdo, what happened, and what did you expect would >happen instead?
also see:
http://www.catb.org/~esr/faqs/smartquestions.html#intro
Pardon me for being a newbie, but if you don't have an answer, why do you
have to give me attitude?
"Spiffy" wrote: How can I run this other program from a python script and pass the filename as a parameter?
import os
filename = "myfile" os.system("program %s" % filename)
</F>
Fredrik, the example you provided is virtually the same as the one from the "Learning Python" book.
that indicates that it's supposed to work, don't you think?
When I run it, the dos command line appears with the message 'Bad command or file name".
that indicates that Windows cannot find the command, don't you think?
Both the .exe and the .mid file are in the python path and the spelling has been checked.
you mean sys.path? that's the problem, most likely. As mentioned in the
documentation, os.system() executes the command just as if you've typed
it in a "DOS box". Windows doesn't look at the Python path when you do
that, so to make sure Windows finds the command, you have to add it to
the Windows path (the PATH environment variable), or provide the full path
to os.system().
program = r"x:\full\path\to\program"
filename = "..."
os.system("%s %s" % (program, filename))
the os.path.abspath() function can be useful in cases like this; it makes sure
that if your program can find a file, another program can also find it:
program = os.path.abspath("x:/somewhere/program")
filename = os.path.abspath("somefile")
os.system("%s %s" % (program, filename))
(if the filename may contain spaces, you may have to add quotes around
the second %s)
the relevant manual page contains more information on os.system, and
mentions a couple of alternatives (os.startfile, os.spawnlp, etc):
§http://www.python.org/doc/current/lib/os-process.html
Pardon me for being a newbie, but if you don't have an answer, why do you have to give me attitude?
os.system() is still the answer; the problem is in how you used it and what
you expected from it, not in the function itself. You cannot expect people
to read your mind, and then complain when they fail.
</F>
Spiffy fed this fish to the penguins on Tuesday 09 December 2003 00:38
am: from the "Learning Python" book. When I run it, the dos command line appears with the message 'Bad command or file name". Both the .exe and the .mid file are in the python path and the spelling has been checked. What I expected to happen was that the os.system call would start the .exe and begin playing the .mid file. This does not happen. This is what I meant when I said I haven't been able to get this to work.
So include (don't retype or paraphrase, use cut&paste) the /exact/
code which is failing, AND the exact command window output...
Among other things, I don't think os.system() uses the /Python/ path
-- its the equivalent of opening a new command prompt and typing the
command; so it is the OS search path that is used.
Open a command window, and type the exact command you think you are
using in os.system()
-- ================================================== ============ < wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < wu******@dm.net | Bestiaria Support Staff < ================================================== ============ < Bestiaria Home Page: http://www.beastie.dm.net/ < Home Page: http://www.dm.net/~wulfraed/ <
"Fredrik Lundh" <fr*****@pythonware.com> wrote in message
news:ma**************************************@pyth on.org... "Spiffy" wrote:
How can I run this other program from a python script and pass the filename as a parameter?
import os
filename = "myfile" os.system("program %s" % filename)
</F>
Fredrik, the example you provided is virtually the same as the one from
the "Learning Python" book.
that indicates that it's supposed to work, don't you think?
IT COULD HAVE BEEN A MISPRINT, DON'T YOU THINK? When I run it, the dos command line appears with the message 'Bad
command or file name".
that indicates that Windows cannot find the command, don't you think?
Both the .exe and the .mid file are in the python path and the spelling
has been checked.
you mean sys.path?
IF I HAD MEANT sys.path, I WOULD HAVE SAID sys.path, DON'T YOU THINK?
that's the problem, most likely. As mentioned in the documentation, os.system() executes the command just as if you've typed it in a "DOS box". Windows doesn't look at the Python path when you do that, so to make sure Windows finds the command, you have to add it to the Windows path (the PATH environment variable), or provide the full path to os.system().
program = r"x:\full\path\to\program" filename = "..." os.system("%s %s" % (program, filename))
the os.path.abspath() function can be useful in cases like this; it makes
sure that if your program can find a file, another program can also find it:
program = os.path.abspath("x:/somewhere/program") filename = os.path.abspath("somefile") os.system("%s %s" % (program, filename))
(if the filename may contain spaces, you may have to add quotes around the second %s)
TYPING THE FULL PATH GIVES ME THE SAME RESULT: NOTHING. THE ABOVE CODE USING
os.path.abspath CAUSES A DOS BOX TO APPEAR AND DO NOTHING WHILE PYTHON
CRASHES. the relevant manual page contains more information on os.system, and mentions a couple of alternatives (os.startfile, os.spawnlp, etc):
§http://www.python.org/doc/current/lib/os-process.html
Pardon me for being a newbie, but if you don't have an answer, why do
you have to give me attitude? os.system() is still the answer; the problem is in how you used it and
what you expected from it, not in the function itself. You cannot expect
people to read your mind, and then complain when they fail.
I DID NOT ASK ANYONE TO READ MY MIND, NOR DID I COMPLAIN THAT ANYONE COULD
NOT READ MY MIND.
I DO NOT THINK THE PROBLEM IS IN HOW I USED THE FUNCTION NOR WHAT I EXPECTED
FROM IT.
Du calme, s'il vous plaît...
--
Michel Claveau
"Dennis Lee Bieber" <wl*****@ix.netcom.com> wrote in message
news:ef************@beastie.ix.netcom.com... Spiffy fed this fish to the penguins on Tuesday 09 December 2003 00:38 am:
from the "Learning Python" book. When I run it, the dos command line appears with the message 'Bad command or file name". Both the .exe and the .mid file are in the python path and the spelling has been checked. What I expected to happen was that the os.system call would start the .exe and begin playing the .mid file. This does not happen. This is what I meant when I said I haven't been able to get this to work. So include (don't retype or paraphrase, use cut&paste) the /exact/ code which is failing, AND the exact command window output...
Among other things, I don't think os.system() uses the /Python/
path -- its the equivalent of opening a new command prompt and typing the command; so it is the OS search path that is used.
Open a command window, and type the exact command you think you
are using in os.system()
-- >
In the command window the call to the program with the name of the .mid
file to be played works just fine. Here is what it looks like....exactly:
C:\Python22>playb Canyon.mid
Here is the code used to call it from Python:
import os
filename = "C:\Python22\Canyon.mid"
os.system("C:\Python22\playb.exe%s"%filename)
....this causes a dos box to appear which promptly hangs and does nothing, at
which time Python stops responding. Vartiations on this will cause the dos
box to appear with the message "Bad command or file name".
================================================== ============ < > wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < > wu******@dm.net | Bestiaria Support Staff < > ================================================== ============ < > Bestiaria Home Page: http://www.beastie.dm.net/ < > Home Page: http://www.dm.net/~wulfraed/ <
> Here is the code used to call it from Python: import os filename = "C:\Python22\Canyon.mid" os.system("C:\Python22\playb.exe%s"%filename) ...this causes a dos box to appear which promptly hangs and does nothing, at which time Python stops responding. Vartiations on this will cause the dos box to appear with the message "Bad command or file name".
Looks like there is a space missing -
os.system("C:\Python22\playb.exe %s"%filename)
^
Diez
"Diez B. Roggisch" <de************@web.de> wrote in message
news:br*************@news.t-online.com... Here is the code used to call it from Python: import os filename = "C:\Python22\Canyon.mid" os.system("C:\Python22\playb.exe%s"%filename) ...this causes a dos box to appear which promptly hangs and does
nothing, at which time Python stops responding. Vartiations on this will cause
the dos box to appear with the message "Bad command or file name".
Looks like there is a space missing -
os.system("C:\Python22\playb.exe %s"%filename) ^
Diez
There is no space missing. That is the name of the file on my comp.
Fredrik Lundh" <fr*****@pythonware.com> wrote in message
news:ma**************************************@pyth on.org... "Spiffy" wrote:
How can I run this other program from a python script and pass the filename as a parameter?
import os
filename = "myfile" os.system("program %s" % filename)
</F>
Fredrik, the example you provided is virtually the same as the one from
the "Learning Python" book.
that indicates that it's supposed to work, don't you think?
IT COULD HAVE BEEN A MISPRINT, DON'T YOU THINK? When I run it, the dos command line appears with the message 'Bad
command or file name".
that indicates that Windows cannot find the command, don't you think?
Both the .exe and the .mid file are in the python path and the spelling
has been checked.
you mean sys.path?
IF I HAD MEANT sys.path, I WOULD HAVE SAID sys.path, DON'T YOU THINK?
that's the problem, most likely. As mentioned in the documentation, os.system() executes the command just as if you've typed it in a "DOS box". Windows doesn't look at the Python path when you do that, so to make sure Windows finds the command, you have to add it to the Windows path (the PATH environment variable), or provide the full path to os.system().
program = r"x:\full\path\to\program" filename = "..." os.system("%s %s" % (program, filename))
the os.path.abspath() function can be useful in cases like this; it makes
sure that if your program can find a file, another program can also find it:
program = os.path.abspath("x:/somewhere/program") filename = os.path.abspath("somefile") os.system("%s %s" % (program, filename))
(if the filename may contain spaces, you may have to add quotes around the second %s)
TYPING THE FULL PATH GIVES ME THE SAME RESULT: NOTHING. THE ABOVE CODE USING
os.path.abspath CAUSES A DOS BOX TO APPEAR AND DO NOTHING WHILE PYTHON
CRASHES. the relevant manual page contains more information on os.system, and mentions a couple of alternatives (os.startfile, os.spawnlp, etc):
§http://www.python.org/doc/current/lib/os-process.html
Pardon me for being a newbie, but if you don't have an answer, why do
you have to give me attitude? os.system() is still the answer; the problem is in how you used it and
what you expected from it, not in the function itself. You cannot expect
people to read your mind, and then complain when they fail.
I DID NOT ASK ANYONE TO READ MY MIND, NOR DID I COMPLAIN THAT ANYONE COULD
NOT READ MY MIND.
I DO NOT THINK THE PROBLEM IS IN HOW I USED THE FUNCTION NOR WHAT I EXPECTED
FROM IT.
>> > filename = "C:\Python22\Canyon.mid" > os.system("C:\Python22\playb.exe%s"%filename) > ...this causes a dos box to appear which promptly hangs and does nothing, > at which time Python stops responding. Vartiations on this will cause the > dos box to appear with the message "Bad command or file name". >
Looks like there is a space missing -
os.system("C:\Python22\playb.exe %s"%filename) ^
Diez
There is no space missing. That is the name of the file on my comp.
Ok, most probably you'll start to yell at me now, but _there is a space
missing_: filename = "C:\Python22\Canyon.mid" print "C:\Python22\playb.exe%s"%filename
C:\Python22\playb.exeC:\Python22\Canyon.mid
I have no WinBox here - but I bet even windows likes its commandline
arguments somehow separated from each other. Try executing the line above,
and I bet command.com complains about "Bad command or file name".
Diez
"Spiffy" <sp****@worldnet.att.net> wrote in message
news:2f***********************@bgtnsc04-news.ops.worldnet.att.net... "Diez B. Roggisch" <de************@web.de> wrote in message news:br*************@news.t-online.com... Here is the code used to call it from Python: import os filename = "C:\Python22\Canyon.mid" os.system("C:\Python22\playb.exe%s"%filename) ...this causes a dos box to appear which promptly hangs and does nothing, at which time Python stops responding. Vartiations on this will cause the dos box to appear with the message "Bad command or file name".
Looks like there is a space missing -
os.system("C:\Python22\playb.exe %s"%filename) ^
Diez
There is no space missing. That is the name of the file on my comp.
The ^ points right after exe. (use fixed fonts to see). The command you are
executing is:
C:\Python22\playb.exeC:\Python22\Canyon.mid
There needs to be a space between exe and the second C:
Hope it helps.
"Diez B. Roggisch" <de************@web.de> wrote in message
news:br*************@news.t-online.com... > filename = "C:\Python22\Canyon.mid" > os.system("C:\Python22\playb.exe%s"%filename) > ...this causes a dos box to appear which promptly hangs and does nothing, > at which time Python stops responding. Vartiations on this will cause the > dos box to appear with the message "Bad command or file name". >
Looks like there is a space missing -
os.system("C:\Python22\playb.exe %s"%filename) ^
Diez There is no space missing. That is the name of the file on my comp.
Ok, most probably you'll start to yell at me now, but _there is a space missing_:
filename = "C:\Python22\Canyon.mid" print "C:\Python22\playb.exe%s"%filename
C:\Python22\playb.exeC:\Python22\Canyon.mid
I have no WinBox here - but I bet even windows likes its commandline arguments somehow separated from each other. Try executing the line above, and I bet command.com complains about "Bad command or file name".
Diez
....why would i yell at you? you are trying to help and i appreciate that.
Unfortunately, I have tried various spacings both in the filename and the
os.system call and what happens most often is that a dos box appears and
hangs and python stops responding.
"Fedor" <fe***@mailandnews.com> wrote in message
news:3f*********************@reader2.nntp.hccnet.n l... "Spiffy" <sp****@worldnet.att.net> wrote in message news:2f***********************@bgtnsc04-news.ops.worldnet.att.net... "Diez B. Roggisch" <de************@web.de> wrote in message news:br*************@news.t-online.com... > Here is the code used to call it from Python: > import os > filename = "C:\Python22\Canyon.mid" > os.system("C:\Python22\playb.exe%s"%filename) > ...this causes a dos box to appear which promptly hangs and does nothing, > at which time Python stops responding. Vartiations on this will
cause the > dos box to appear with the message "Bad command or file name". >
Looks like there is a space missing -
os.system("C:\Python22\playb.exe %s"%filename) ^
Diez There is no space missing. That is the name of the file on my comp.
The ^ points right after exe. (use fixed fonts to see). The command you
are executing is:
C:\Python22\playb.exeC:\Python22\Canyon.mid
There needs to be a space between exe and the second C:
Hope it helps.
I have tried your suggestion and put a space after the .exe...the result is
the same as before...a dos box appears and does nothing and python crashes
(stops responding).
Spiffy fed this fish to the penguins on Tuesday 09 December 2003 14:06
pm: C:\Python22>playb Canyon.mid
Here is the code used to call it from Python: import os filename = "C:\Python22\Canyon.mid" os.system("C:\Python22\playb.exe%s"%filename)
If that is the true statement you are using then it is NOT the same as
the command line shown above... THERE'S NO SPACE BETWEEN PROGRAM and
ARGUMENT!
You are trying to run a file named:
C:\Python22\playb.exeC:\Python22\Canyon.mid
-- ================================================== ============ < wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < wu******@dm.net | Bestiaria Support Staff < ================================================== ============ < Bestiaria Home Page: http://www.beastie.dm.net/ < Home Page: http://www.dm.net/~wulfraed/ <
Spiffy wrote: that indicates that it's supposed to work, don't you think? IT COULD HAVE BEEN A MISPRINT, DON'T YOU THINK?
sure. if multiple independent sources say the same thing, your
first thought should be that they're all wrong. Both the .exe and the .mid file are in the python path and the spelling been checked.
you mean sys.path?
IF I HAD MEANT sys.path, I WOULD HAVE SAID sys.path, DON'T YOU THINK?
the python path is stored in the sys.path variable. why did you
say python path if you didn't mean it?
I DO NOT THINK THE PROBLEM IS IN HOW I USED THE FUNCTION NOR WHAT I EXPECTED FROM IT.
no, your problems are obviously elsewhere. good luck with your
programming career.
</F>
"Fredrik Lundh" <fr*****@pythonware.com> wrote in message
news:ma************************************@python .org... Spiffy wrote:
that indicates that it's supposed to work, don't you think?
IT COULD HAVE BEEN A MISPRINT, DON'T YOU THINK?
sure. if multiple independent sources say the same thing, your first thought should be that they're all wrong.
> Both the .exe and the .mid file are in the python path and the
spelling > been checked.
you mean sys.path?
IF I HAD MEANT sys.path, I WOULD HAVE SAID sys.path, DON'T YOU THINK?
the python path is stored in the sys.path variable. why did you say python path if you didn't mean it?
I DO NOT THINK THE PROBLEM IS IN HOW I USED THE FUNCTION NOR WHAT I EXPECTED FROM IT.
no, your problems are obviously elsewhere. good luck with your programming career.
</F>
It's interesting to me that, although you provided no help or answers to me,
you are convinced that you did. In fact, it is clear from your first
response that your intention has been to amuse yourself by spouting attitude
at me. Hope you had a good time. Meanwhile, Fredo has provided a nice answer
that WORKS... along with an explanation of why my code didn't work. He was
HELPFUL and didn't seem to have the need to belittle me for not being a
professional Python Master. You remind me of one of these teens on IRC who
have no other pleasure in life but to sit around and boot people out of
their precious little chat rooms. I imagine if this was IRC, you would have
booted me at the first post.
Dennis Lee Bieber fed this fish to the penguins on Wednesday 10
December 2003 00:31 am:
Talking to myself, again...
Spiffy fed this fish to the penguins on Tuesday 09 December 2003 14:06 pm:
os.system("C:\Python22\playb.exe%s"%filename)
What result do you get with just:
os.system("dir")
-- ================================================== ============ < wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < wu******@dm.net | Bestiaria Support Staff < ================================================== ============ < Bestiaria Home Page: http://www.beastie.dm.net/ < Home Page: http://www.dm.net/~wulfraed/ <
"Spiffy" wrote: Meanwhile, Fredo has provided a nice answer that WORKS... along with an explanation of why my code didn't work.
for the benefit of others, maybe you could tell us why
your code didn't work?
</F>
"Spiffy" <sp****@worldnet.att.net> wrote in message
news:IH**********************@bgtnsc05-news.ops.worldnet.att.net... "Dennis Lee Bieber" <wl*****@ix.netcom.com> wrote in message news:ef************@beastie.ix.netcom.com... Spiffy fed this fish to the penguins on Tuesday 09 December 2003 00:38 am:
from the "Learning Python" book. When I run it, the dos command line appears with the message 'Bad command or file name". Both the .exe and the .mid file are in the python path and the spelling has been checked. What I expected to happen was that the os.system call would start the .exe and begin playing the .mid file. This does not happen. This is what I meant when I said I haven't been able to get this to work. So include (don't retype or paraphrase, use cut&paste) the
/exact/ code which is failing, AND the exact command window output...
Among other things, I don't think os.system() uses the /Python/ path -- its the equivalent of opening a new command prompt and typing the command; so it is the OS search path that is used.
Open a command window, and type the exact command you think you are using in os.system()
-- > In the command window the call to the program with the name of the
..mid file to be played works just fine. Here is what it looks like....exactly: C:\Python22>playb Canyon.mid
Here is the code used to call it from Python: import os filename = "C:\Python22\Canyon.mid" os.system("C:\Python22\playb.exe%s"%filename) ...this causes a dos box to appear which promptly hangs and does nothing,
at which time Python stops responding. Vartiations on this will cause the dos box to appear with the message "Bad command or file name".
Try:
import.os
os.system(r"C:\Python22\playb.exe %s"%filename)
or:
import os
os.system("C:\\Python22\\playb.exe %s"%filename)
-Mark ================================================== ============ < > wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < > wu******@dm.net | Bestiaria Support Staff < > ================================================== ============ < > Bestiaria Home Page: http://www.beastie.dm.net/ < > Home Page: http://www.dm.net/~wulfraed/ <
or: import os os.system("C:\\Python22\\playb.exe %s"%filename)
Thank you. Fedor had emailed me yesterday with this solution and a nice
explanation. Thanks to all who tried to help.
In article <6t**********************@bgtnsc05-news.ops.worldnet.att.net>,
Spiffy <sp****@worldnet.att.net> wrote: or: import os os.system("C:\\Python22\\playb.exe %s"%filename)
Thank you. Fedor had emailed me yesterday with this solution and a nice explanation. Thanks to all who tried to help.
Did anyone ever disclose the solution publicly? This
case has me curious; os.system() misunderstandings
often arise, and I'd like to learn more about what can
go wrong.
--
Cameron Laird <cl****@phaseit.net>
Business: http://www.Phaseit.net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rodger Dodger |
last post by:
Hi there.
We have an application that can run on a non-unicode or a unicode sql
server
database.
Currently the application is running in a unicode database, as a
non-unicode database is less...
|
by: John Eskie |
last post by:
Lately I've seen alot of C and C++ code (not my own) which doesn't do any
checking if memory obtained by new or malloc is valid or if they return NULL
pointers.
Why does most people not care about...
|
by: pb648174 |
last post by:
I have a very long transaction that runs on the same database that
other users need to use for existing data. I don't care if they see
data from the transaction before it is done and am only using...
|
by: Steve - DND |
last post by:
We're currently doing some tests to determine the performance of static vs
non-static functions, and we're coming up with some odd(in our opinion)
results. We used a very simple setup. One class...
|
by: Ennio-Sr |
last post by:
Hi all!
Testing a script where I need to make sure that postgresql is running
before passing a <psql dbasename -c "insert into ..." > instruction I
faced this curious behaviour:
This is the...
|
by: LurfysMa |
last post by:
I could use some help with a table design problem.
I have an electronic flashcard program. Actually, several of them.
They each rely on a utility program to keep track of the usage
statistics....
|
by: Tessa |
last post by:
Hi,
We have a .net web application, and are trying to use
PrinterSettings.InstalledPrinters to list the printers installed on the
webserver. (Windows 2003 server R2, IIS 6, .net framework 2.0.)...
|
by: Academic |
last post by:
I have a MDI form, sometimes child forms and sometimes forms that are
neither
If I close the app the child forms closing and closed event happens followed
by the Mdi form receiving the...
|
by: jfigueiras |
last post by:
>I have a problem with the module subprocess!
As many other programs...
I'm not sure what you mean by "non-standard file descriptors". The
other program is free to open, read, write, etc any...
|
by: Sunny |
last post by:
Hi,
Sometime, when your script is too big,
IE Gives you a warning "Stop Running This Script"
A script on this page is causing Internet Explorer to run slowly.
Does anyone knows, How to...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
| |