Python Forum
tool/program/script to translate bash to python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tool/program/script to translate bash to python
#1
does anyone know of a tool/program/script to translate bash to python? i have large (1751 lines) bash script that i would like to translate to python.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
http://www.swag.uwaterloo.ca/bash2py/
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
bummer! the video doesn't work. there is audio and i here some with accent i don't recognize talking about bash2py, but i see nothing.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#4
video works fine for me. Did you read the text below the video:
Quote:If you cannot see this video you may be using a browser that does not recognise the MOV video format. If using alternative browsers does not resolve this problem, please download bash2py_demo.mov explicitly and view this video on your own machine using an appropriate viewer.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
Firefox does recognize that it's a video. there are things around the big black area just like a video normally has. there is a volume adjustment slide. when i mouse over it it, it changes to vertical. i can adjust it and it really does change the audio. there was also a full-screen button which i did try, hoping it would get things working, but all i got was a larger black area. the file was obviously transfered as i did get audio. so something was different about the video parts of this video file. i'll try downloading the file and running mplayer.

mplayer plays it OK but is reporting it as being h.264
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python have a ide tool similar Vb6 IDE? sal21 1 835 Jan-30-2021, 12:23 PM
Last Post: Larz60+
  New AI tool to visualize Python code - testers needed FabianEggers 0 937 Feb-02-2020, 09:44 PM
Last Post: FabianEggers
  Python as an analysis tool nsadams87xx 2 1,325 Nov-27-2019, 02:06 AM
Last Post: nsadams87xx
  Can a python program execute an action on another software program? lex 4 2,489 Jan-26-2018, 03:10 PM
Last Post: buran
  which would be easier to translate to Python? Skaperen 2 1,795 Oct-28-2017, 05:06 AM
Last Post: Skaperen
  how hard to translate this to python? Skaperen 4 2,514 Oct-18-2017, 07:37 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020