How to Write to csv file to create bulk address book

2008-12-07 Thread k.i.n.g.
Hi , I am new to scripting, I am working on script which would create 'n' number address book entries into a csv file which would be used to import into a address book. I need suggestions for the same The fileds for csv file are as follows Title,First Name,Middle Name,Last

Creating a file with $SIZE

2008-03-12 Thread k.i.n.g.
Hi All, I would like create files of different size, taking size as user input. I need to check the data transfer rates from one network to another . In order to do this I will have to create files of diff size and work out. I am new to Python Thanks in advance. KK --

Re: Creating a file with $SIZE

2008-03-12 Thread k.i.n.g.
I think I am not clear with my question, I am sorry. Here goes the exact requirement. We use dd command in Linux to create a file with of required size. In similar way, on windows I would like to use python to take the size of the file( 50MB, 1GB ) as input from user and create a uncompressed

Re: Creating a file with $SIZE

2008-03-12 Thread k.i.n.g.
On Mar 13, 8:07 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Mar 12, 7:37 am, k.i.n.g. [EMAIL PROTECTED] wrote: We use dd command in Linux to create a file with of required size. If you just want to get your work done, you might consider the cygwin dd command. Learning to write python

file backup in windows

2006-11-22 Thread k.i.n.g.
Hi ALL, I am a newbee programmer and started of with python recently. I am trying write a script which backups outlook (.pst ) files everytime I shutdown my system. I have writtern following code after some findings on net. My .pst file path is as follows c:\documents and settings\060577\Local

Re: file backup in windows

2006-11-22 Thread k.i.n.g.
Thank You all for reply's so far code import os, sys from win32com.shell import shell, shellcon local_app_data = shell.SHGetSpecialFolderPath (0, shellcon.CSIDL_LOCAL_APPDATA) outlook_path = os.path.join (local_app_data, Microsoft, Outlook) print outlook_path /code) The above code

Re: file backup in windows

2006-11-22 Thread k.i.n.g.
Hi , I am sorry I am providing the code i used as it is. Being newbee to programming I have tinkerd with various options i found on the net. start of the code

Re: file backup in windows

2006-11-22 Thread k.i.n.g.
Hi, The following code has worked for me, I will continue from here to make this further userfriendly. More I would like to know how can i distribute my python code as self installer package. In the process of learning programming I would like take OutlookBackup.py as my first project and learn

generating random passwords ... for a csv file with user details

2006-05-28 Thread k.i.n.g.
Hi, I have a csv file which in taken as the input file for adding users in my linux mail server with the format userid,fullname,passwword,dateofbith Now I have to write a script to generate random password in the password field for each user. A simple algorithm is sufficient for passwords I

Re: generating random passwords ... for a csv file with user details

2006-05-28 Thread k.i.n.g.
Hi ALL, I am sorry for not mentioning that I am new to python and scripting. How can I add the above script to handle csv file. I want the script to generate passwords in the passwords column/row in a csv file. userid,realname,dateofB,passwd The script should read the userid and genrate the