473,320 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

help-I am new to python, I have some query could sombody help me out.

I am very new to python , I have small query could some one help me.
every time I get a new load i need to do few things like creating some
dir, changing some file contents and moving some files , i would like
to know if i can write a python script to do all these operation .

Nov 7 '05 #1
2 1342
"sumi" <su*****@yahoo.com> writes:
I am very new to python , I have small query could some one help me.
every time I get a new load i need to do few things like creating some
dir, changing some file contents and moving some files , i would like
to know if i can write a python script to do all these operation .


You can... Creating directories, processing file contents and moving files is
not hard with Python (if the "processing" part is simple, then it all becomes
easy). :-)

Take a look at the tutorial and the documentation on the website.

--
Jorge Godoy <go***@ieee.org>
Nov 7 '05 #2
sumi wrote:
I am very new to python , I have small query could some one help me.
every time I get a new load i need to do few things like creating some
dir, changing some file contents and moving some files , i would like
to know if i can write a python script to do all these operation .


Sure, that's something Python shines at. If you are very new, you
will probably want to look at some general tutorial first.

The specific functions you need are in some standard modules though,
and when you start to feel comfortable with how Python works in
general, read these:

http://docs.python.org/lib/builtin.html
http://docs.python.org/lib/module-os.path.html
http://docs.python.org/lib/module-os.html (file stuff)
http://docs.python.org/lib/module-shutil.html
Nov 7 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
0
by: Tim21 | last post by:
OK, im miserable :)) so.. help'd b highly appreciated. Situation: Win XP aplication server RUNTIME (stored fmx files along with the ..hlp files) Fmx's generated and compiled on development...
2
by: Sudheer Kareem | last post by:
Dear All Please tell me how to assosiate help files with my Vb.net Project. Regards Sudheer
0
by: Denise L. Moss-Fritch | last post by:
Has anyone developed context sensitive help for a C# application? According to our programming staff, the development side is not able to provide links without adding hard coded links (topic names)...
0
by: Prasanth U | last post by:
Hi All, We are facing a problem while integrating a HTML help file (chm version 1.x) to our windows .net application (C#). The help topic for the controls in the application are shown using the...
0
by: Larry Fix | last post by:
I recently added help to a C# application using the Help.ShowHelp method. My compiled help file gets display so that's good. What's not so good is that the help window always starts out with a...
3
by: Tom marsh | last post by:
I'm finishing an application and want to supply help files. However MS Access's help files, ironically don't contain much help on HELP. What is the best approach? I could easily just provide...
1
by: Denise L. Moss-Fritch | last post by:
Has anyone developed context sensitive help for a C# application? According to our programming staff, the development side is not able to provide links without adding hard coded links (topic names)...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.