473,324 Members | 2,313 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,324 software developers and data experts.

I have a chance to do somting diffrent way not Python ?!

Hi!
On my work we have a lot off diffrent server to make software for
diffrent os
from Windows, OS/X to Linux Solaris

Everyting is scripted with shell, but Windows has batchfiles witch is
very
limited, compared to cshell etc.

So my boss has told me that it okej if i want to make somting better
och smooter,
for the windows machine.

First i looked a Ruby but didn't like it to interacting with the os,
nothinh wrong
but my eyes moved to Python becurse syntax is clean and every server
(not windows) has Python as base installed, and in the future i could
then move
the script to run on all servers.

So basicly i like advice about interac with os, compiler etc.
Nice webblinks to read more
and do/don't things.

best regards
Anders

Apr 28 '07 #1
3 1170
Hi anders,

try looking here first:

http://docs.python.org/lib/module-os.html
Also:

http://sourceforge.net/projects/pywin32/
On Apr 28, 10:27 am, anders <anders.u.pers...@gmail.comwrote:
Hi!
On my work we have a lot off diffrent server to make software for
diffrent os
from Windows, OS/X to Linux Solaris

Everyting is scripted with shell, but Windows has batchfiles witch is
very
limited, compared to cshell etc.

So my boss has told me that it okej if i want to make somting better
och smooter,
for the windows machine.

First i looked a Ruby but didn't like it to interacting with the os,
nothinh wrong
but my eyes moved to Python becurse syntax is clean and every server
(not windows) has Python as base installed, and in the future i could
then move
the script to run on all servers.

So basicly i like advice about interac with os, compiler etc.
Nice webblinks to read more
and do/don't things.

best regards
Anders

Apr 29 '07 #2
anders wrote:
So basicly i like advice about interac with os, compiler etc.
Nice webblinks to read more
and do/don't things.
Hello Anders,

OS Support for Windows in Python is excellent. I suggest you download
the latest version, and don't forget to download Mark Hammond's win32
library as well. Although it is mainly about COM support and you
probably don't need it, it is always good to have.

After that, work your way through the tutorial. It should give you
enough information to create the scripts that you need. I used the
Manning book to learn Python, but I hear a lot of good stories over here
from 'Python for dummies' as well.

The modules (included in the installation package) that you will need in
your scripts are probably os, sys, and maybe some of the date modules.

I can't think of any "don'ts" - except maybe for the warning that you
should not try to write java or c++ code in Python. So, if there is
anything that seems to me missing, consider a different approach in your
code (a good example is the switch statement...)

Best regards,
Bart
Apr 29 '07 #3
anders <an**************@gmail.comwrote:
>
On my work we have a lot off diffrent server to make software for
diffrent os from Windows, OS/X to Linux Solaris

Everyting is scripted with shell, but Windows has batchfiles witch is
very limited, compared to cshell etc.
There are several very good Unix-derived shells available for Windows.
UnxUtils includes a bash and a zsh.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Apr 30 '07 #4

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

Similar topics

0
by: Christian Tismer | last post by:
Dear Python community, since I didn't get *any* reply to this request, either the request was bad or there is really nobody using f_tstate in a way that makes it urgent to keep. I will wait a...
10
by: jaire | last post by:
In my application I have two threads. Each of them creates a new propertygrid. In the property grid I have a property with a color editor. Whenever i am clicking on the combo box to change the...
3
by: karunakar | last post by:
Hi All Here iam getting this Error "Specified cast is not valid." My Project has Onc solution diffrent class libarary In that solution DALfactory solution iam getting this error I was calling...
11
by: Brian Henry | last post by:
Hi everyone, What I am doing in my application is I have a base app, then a bunch of plug-in dll files. Well this gets confuseing to diferentiate between the real plug-ins and the actual link...
3
by: Rudemusik | last post by:
Hello all! Working in vb.net, with VS 2003. I have 2 projects in a solution. Pretty much a client server setup. Project A controls when a message box open up on Project B. Click a button on A,...
1
by: lawardy | last post by:
Hi, I'm quite new with Reporting server 2005. I'm wondering if there is a way to write a select query that will get the data from 2 diffrent tables located in 2 diffrent database box. for...
0
by: jesper_lofgren | last post by:
Hi, I have a custom build provider that gets data from a webservice. I have the XMLFeedUrl as a config parameter on the provider, my question is... If i need to get xmlfeeds from two...
6
by: GTAPy | last post by:
Hello Python Dev. i am new to python ...i would like to know more about how to access attribute values within different classes, different modules ....Assum we have the following Module 1 ...
1
by: krikaran adel | last post by:
Hi, First of all I found your tips very usfull, of course these tips becuas of all years working in access. really greet site. my Quation: is this away to change fonts in reports so the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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: 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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.