Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Start
09-05-2009, 07:42 AM
Post: #1
Python Start
Okay, just thought of something,
Well, add it to start up. Can always change what it starts.

Code:
#!/usr/bin/python

import os

os.system('start http://google.com')
os.system('start outlook.exe')
os.system('start notepad.exe')

Find all posts by this user
Quote this message in a reply
09-05-2009, 06:48 PM
Post: #2
RE: Python Start
This can be really useful, and it is almost the same as in C++ :
Code:
# include <iostream>
# include <cstdio>

using namespace std;

int main()
{
  system("start http://google.com");
  system("start outlook.exe");
  system("start notepad.exe");
}

"I dont know with what weapons World War 3 will be fought with, but i know World War 4 will be fought with stones and sticks" - Albert Einstein
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2010, 02:31 AM
Post: #3
RE: Python Start
very simple and useful .-)
Find all posts by this user
Quote this message in a reply
01-23-2010, 09:08 AM
Post: #4
RE: Python Start
Yeah nice code.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: