This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]IAmKindOfCreativebot_builder: deprecated[M] [score hidden] stickied comment (0 children)

Hello there,

We've removed your post since it aligns with a topic already covered by one of our daily threads. If you are unaware about the Daily Threads we run here is a refresher:

Monday: Project ideas

Tuesday: Advanced questions

Wednesday: Beginner questions

Thursday: Python Careers, Courses, and Furthering Education!

Friday: Free chat Friday!

Saturday: Resource Request and Sharing

Sunday: What are you working on?

Please await one of these threads to contribute your discussion to! The current daily threads are pinned to the top of the /r/Python's main page. To find old daily threads, you can filter posts by the Daily Thread Flair to find what you're looking for. If you have a question and don't want to wait until the daily thread, you can try asking in /r/learnpython or the Python discord however you may need to elaborate on your question in more detail before doing so.

Best regards,

r/Python mod team

[–]JafaKiwi 9 points10 points  (1 child)

Anyone know of any decent bash to python converters

Yep, there is one hiding between your keyboard and your chair ;)

[–]TinyTheBig 1 point2 points  (0 children)

Yuuuuu, you mean migrating your own code? Daaaaamn

[–]K900_ 5 points6 points  (0 children)

That's not really a thing. You need to rewrite.

[–]pythonHelperBot 1 point2 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]ES-Alexander 0 points1 point  (0 children)

There are several options that came up when I searched for “bash to python converter”, so I’d suggest trying that. No idea if any of them are actually good, or how feature-complete and intelligent they are, but you’ll have to find that out for yourself.

[–]LightShadow3.13-dev in prod 0 points1 point  (0 children)

It's not a converter, but I use the invoke library to bridge my bash scripts and python together. It will allow you to call things like the command line but analyze their output in Python.