[issue18286] Python 3.3 - Slowing down computer

2013-06-22 Thread Jon Irenicus

New submission from Jon Irenicus:

Python's really slowing my computer down.
After running my script, the computer grinds to a halt and it's performance 
drops.
Even after a reboot, the problem still persists.

--
components: Windows
messages: 191661
nosy: jon_irenicus
priority: normal
severity: normal
status: open
title: Python 3.3 - Slowing down computer
type: performance
versions: Python 3.3

___
Python tracker 
<http://bugs.python.org/issue18286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18286] Python 3.3 - Slowing down computer

2013-06-22 Thread Jon Irenicus

Jon Irenicus added the comment:

The problem is when i run my python script, it somehow slows the whole computer 
down.
I checked my cpu usage, ram usage and disk usage, but nothing comes up.
The script isn't big, it's only about 10kb big.

--
status: pending -> open

___
Python tracker 
<http://bugs.python.org/issue18286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18286] Python 3.3 - Slowing down computer

2013-06-22 Thread Jon Irenicus

Jon Irenicus added the comment:

#David Edelsohn
It's not changing anything.


with open('url_list.txt') as f:
content = f.readlines()
content = ''.join(content)
content = list(content)
if content[0] == 'h' and content[1] == 't' and content[2] =='t':
print("Make sure that you remove http:/ !")
time.sleep(1)
sys.exit("")
elif content[0] != 'w' and content[1] != 'w' and content[2] != 'w':
print("Make sure that you have the www. at the start!")
print(content[0],content[1])
time.sleep(1)
sys.exit("")
os.system("CLS")
else:
print("Configuration looks fine!")
time.sleep(1)
with open('url_list.txt') as f:
content_url = f.readlines()
content_join = ''.join(content_url)
print("You will load video url",content_join,".")
time.sleep(1)
os.system("CLS")
print("Processing...")
time.sleep(1)


global x
x = 0
time.sleep(1)
if x > 35:
print("Warning! Your computer could go unstable!")
time.sleep(1)
os.system("CLS")
print("Are you sure you want to select that many? - yes - no")
while "1" == "1":
_answer_ = input("|yes| |no| - ")
if _answer == "yes":
break
elif answer == "no":
sys.exit("Quitting application")
else:
print("Invalid input!")
time.sleep(1)
os.system("CLS")

elif x in range(1,35):
print("Seems fine")
elif x < 0:
print("Warning!")
print("Out of range value!")
os.system("CLS")
time.sleep(5)
sys.exit("")
os.system("CLS")
time.sleep(5)
print("Starting now!")
while x > 0:
x = x - 1
os.system("start "+content_join)

time.sleep(10)
os.system("taskkill /f /im chrome.exe")
os.system("start test.py")
sys.exit("restarting")

--

___
Python tracker 
<http://bugs.python.org/issue18286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com