Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Application Starter
#1
Hello, let me start by stating that I am a complete beginner in Python, or coding in general, and as so I need your help.
I am trying to create a script that would startup a certain application automatically, every time I turned my PC on, and I don't know how to do it...
Of course I'm not asking you to write the code and give it to me, but if someone could point me in the right direction it would be most appreciated, this is a very important task.

Thank you in advance Heart


my code here
Reply
#2
What OS? Also could you elaborate further why you need script to run the application? Different OS have different tools to start application automatically (incl. at boot) - e.g. Task Scheduler in Windows or Startup folder (also Windows), cron in Linux, don't know macOS, but it should have one too. In any case even with script, you will need to run the script using one of these tools in order it to start the application.
Reply
#3
(May-24-2017, 04:36 AM)buran Wrote: What OS? Also could you elaborate further why you need script to run the application? Different OS have different tools to start application automatically (incl. at boot) - e.g. Task Scheduler in Windows or Startup folder (also Windows), cron in Linux, don't know macOS, but it should have one too. In any case even with script, you will need to run the script using one of these tools in order it to start the application.

Windows 7 or Ubuntu.
Basically I'm trying to set up a mining pc, and since I cant always monitor it, I need automatization.
I want to write the script for training purposes since im trying to learn python.
I read the source code for an application based around calling other scripts, and it was using cmd1. Would that be what I need?
Reply
#4
If you insist on python script, probably you need to look at subprocess module
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I properly implement restarting a multithreaded python application? MrFentazis 1 624 Jul-17-2023, 09:10 PM
Last Post: JamesSmith
  Python running only in application Mawixy 2 1,122 Apr-19-2022, 11:38 AM
Last Post: Mawixy
  How to send data from a python application to an external application aditya_rajiv 1 2,173 Jul-26-2021, 06:00 AM
Last Post: ndc85430
  python application and credentials safety concern aster 4 3,491 Mar-06-2021, 06:51 PM
Last Post: snippsat
  Keep Application running after Python script ends PEGylated_User 0 1,975 Nov-12-2020, 03:27 PM
Last Post: PEGylated_User
  Installing Python Application pplgf 3 2,539 Apr-27-2020, 10:51 PM
Last Post: Larz60+
  loop in pyautogui (python automation GUI application) pyprogrammer 0 4,782 Feb-12-2020, 02:52 PM
Last Post: pyprogrammer
  Python Starter-Looking for help! PythonStarter55561 3 2,254 Feb-04-2020, 10:46 PM
Last Post: Marbelous
  Starter programing using Pyton for Madagascar software. Rosendo 1 2,728 Jun-16-2018, 05:46 AM
Last Post: buran
  Python bash application Ikitissimo 1 41,846 Apr-11-2018, 11:35 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020