By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,379 Members | 3,035 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,379 IT Pros & Developers. It's quick & easy.

How to convert Batch files to Python files?

P: 1
I would really appreciate it if somebody could give me a link to a video or website that would tell me how to convert Batch files to Python files.
Thanks Al
Jun 16 '15 #1
Share this Question
Share on Google+
1 Reply

P: 278
Batch to Python? That's a bit of a step, but you'd basically be learning a new language. Are you doing a lot of file system changes or what is it that your scripts need to do?

A great start would be to review the manual:

Here would be some examples (I give you these to learn, not to copy/paste):

Here are some more code samples:

Python is pretty simple, but if you were using Batch, you should be looking into PowerShell. Are you sure it's not Bash?
Jun 17 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.