Re: Windows OS , Bizarre File Pointer Fact

2008-06-27 Thread Taygun Kekec
Allright i figured it out . Very stupid but very forgottable fact. I should close the file before deleting it with shell command... -- http://mail.python.org/mailman/listinfo/python-list

Windows OS , Bizarre File Pointer Fact

2008-06-27 Thread Taygun Kekec
Code : #!/usr/bin/python # -*- coding: utf-8 -*- import os if os.name == 'nt': OS_Selection = 0 elif os.name == 'posix': OS_Selection = 1 else : OS_Selection = 1 del_cmd_os = ( "del","rm") filelist = ("ddd.txt","eee.txt","fff.txt") # Creating Files for elem in filelist: open( ele

Re: Using Python to run SSH commands on a remote server

2008-06-25 Thread Taygun Kekec
Alson you can take a look at pexpect module if you want to automate logging in and process commands , in this way you will no longer wait for loginname and password prompt. -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning Python in a group

2008-06-23 Thread Taygun Kekec
hi guys. I would be glad to join your group because i want to learn deeper python but i am frustrated of isolation too. It would provide stimulation and encourage to study and will boost our desire to learn. So count me in! -- http://mail.python.org/mailman/listinfo/python-list