Python for a beginner Shell scripting learner? [closed] - python

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm learning Linux administration and after that i'm going to learn programming on Linux using Python.
While i'm reading in a Linux Administration book, i came into Shell scripting chapter. I saw Bash language and i got dizzy. Let's say it's not one of the good-looking languages in my humble opinion.
And i said to myself. I'm gonna learn Python at the end.. Why not just use in instead of Bash ?
Now, is there anything wrong for a total beginner in shell scripting to use Python and not learn Bash at all ?

Python is not a shell scripting language, because there are basically no Python shells in production use. You can do everything in Python that you can do in bash, but it won't be as natural if you're fundamentally trying to write "shell scripts" in the classic sense--scripts that just invoke a series of other programs like mv and gzip and ssh and so on.

Related

Which is the fastest embedded noSQL database for Python? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need a noSQL solution that is fast, small, embedded (because I don't have root privilege) and supports Python. For now I just have two names: DyBASE, CodernityDB. Please help me find others and choose the best one. Thank you!!!
ZODB - It is not "small", I guess - but it is fast, it is native to Python - and it can certainly be installed without root privileges using buildout or even only virtualenv -
Here is a blog post showing how ZODB compares against sqlite - (and sqlite, in its turn, for single threaded code, performes quite well against larger SQL database systems - just look for benchmarks):
http://pyinsci.blogspot.com.br/2007/09/zodb-vs-relational-database-simple.html
Here is a link to the tutorial -
for being able to install it as in the tutorial, without adm privileges on the system,
first create a virtualenv and activate it:
http://www.zodb.org/en/latest/documentation/tutorial.html
Here is the link for ZODB and install instructions:
https://pypi.python.org/pypi/ZODB3/3.8.2

Open source cross platform IDE for python3 with debugger and code completion [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are good cross platform python3 IDEs with debugger and code completion? I found some, but none of them had the 4 features at once: support for python3 syntax, code completion, integrated debugger and being free. The only one that has them is python plugin for eclipse, but unfortunatelly eclipse is so slow on my pc (you know: knock knock "who's there?" 3 secs of silence "java"), so I want something different. But I just cant find anything that is free and works on linux easily. Hope you can help me.
Eric5 is a full featured Python and Ruby editor and IDE, written in python. It is based on the cross platform Qt gui toolkit, integrating the highly flexible Scintilla editor control. It is designed to be usable as everdays' quick and dirty editor as well as being usable as a professional project management tool integrating many advanced features Python offers the professional coder. eric4 includes a plugin system, which allows easy extension of the IDE functionality with plugins downloadable from the net.
A couple of others...
Komodo Edit
PyScripter
Try Cloud9 IDE. If you have a browser, you can use it.

Ninja-IDE for Django or Python [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm looking for a good IDE to programming with Python, I found this http://ninja-ide.org/.
Did anyone try Ninja-IDE to programming Python or Django Apps, any suggestions about its use?
I personally use Netbeans for Python development mostly because I also use it for PHP and Java development. It works quite well for Python.
I prefer Aptana Studio 3, try it here!

SOAP Client for Python 3 [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Although this question is very popular here in StackOverflow, after spending some time here and in the Google, I still haven't find a concrete answer on what is the most appropriate way to do SOAP consuming in Python 3.
I took a look at Does a Python 3 SOAP client module exist?, and I hope it is outdated and today some solution to this may have appeared.
I was thinking about some ideas:
Use 2to3 script to port some existing libraries to Python 3 (SOAPy, suds, etc).
Load an external module, by mixing technologies (Py3k + Jython, Py3k + Python 2.6, etc.)
Write in hardcode Python classes that corresponds to definitions of WSDL files (which implies in tight-coupling/high maintenance).
Write the software in Python 3.0, call the "python2.6-only" module functions through the execnet package. Which requires the Python 2.6 to be installed on the machine and the software written in Python3.0 to be a frozen binary.
Any ideas?
Thanks in advance
I would probably start by trying your suggested 2to3 port. For many things, it works pretty well. It would still be a day or two worth of work to convert something like suds, I imagine.

Python 3 Online Interpreter / Shell [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there an online interpreter like http://codepad.org/ or http://www.trypython.org/ which uses Python 3?
Answer
Since the question is closed, I give another answer here.
Wandbox offers online REPLs for many languages, including Python 2.x and 3.x, C++ and Java.
Ideone supports Python 2.6 and Python 3
I recently came across Python 3 interpreter at CompileOnline.

Categories

Resources