On 29 July 2013 19:36, Lele Gaifax wrote:
> This thread did not mention alternative and existing modules with
> (almost) the same goal, two come to mind:
>
> * https://pypi.python.org/pypi/sh
> * https://pypi.python.org/pypi/sarge
Actually, I noted both those and plumbum.
--
http://mail.python
On 07/29/2013 02:36 PM, Lele Gaifax wrote:
This thread did not mention alternative and existing modules with
(almost) the same goal, two come to mind:
* https://pypi.python.org/pypi/sh
* https://pypi.python.org/pypi/sarge
bye, lele.
Thanks everyone for the feedback. Clearly, I should stop my p
This thread did not mention alternative and existing modules with
(almost) the same goal, two come to mind:
* https://pypi.python.org/pypi/sh
* https://pypi.python.org/pypi/sarge
bye, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad
On 07/29/2013 06:58 AM, Schneider wrote:
Hi,
lets uses the ls example:
the way you do it now implies, that you search your PATH variable
until it finds a
program called 'ls'. So if we are able to change the PATH variable,
and put out own
'ls' somewhere in the (new) paths, calling you ls() wil
Hi,
lets uses the ls example:
the way you do it now implies, that you search your PATH variable until
it finds a
program called 'ls'. So if we are able to change the PATH variable, and
put out own
'ls' somewhere in the (new) paths, calling you ls() will execute
whatever we want our
own ls' t
>
>
>I made a Python3 module that allows users to use certain Linux shell
> commands from Python3 more easily than using os.system(),
> subprocess.Popen(), or subprocess.getoutput(). This module (once placed
> with the other modules) can be used like this
>
>
Looks similar to https://pypi.pytho
On 07/27/2013 11:14 AM, Jason Swails wrote:
You've gotten plenty of good advice from people discussing the coding
and coding style itself, I'll provide some feedback from the vantage
point of a perspective user.
On Thu, Jul 25, 2013 at 9:24 AM, Devyn Collier Johnson
mailto:devyncjohn...@gma
On 07/27/2013 12:32 PM, Alister wrote:
On Sat, 27 Jul 2013 08:56:10 -0400, Devyn Collier Johnson wrote:
Good point about the Made by/Copyright suggestion. Although, I have not
copyrighted the file, can I still say "Copyrighted by ...".--
There is no special process to Copyright anything.
the
On Sat, 27 Jul 2013 08:56:10 -0400, Devyn Collier Johnson wrote:
>
> Good point about the Made by/Copyright suggestion. Although, I have not
> copyrighted the file, can I still say "Copyrighted by ...".--
There is no special process to Copyright anything.
the simple act of writing it automatical
On Sat, Jul 27, 2013 at 3:53 PM, Devyn Collier Johnson
wrote:
> Would a Python3 game module be more useful? I plan to make a function that
> rolls a die and prints the output (You got a 5) and other similar random
> games.
Taking someone else's module and learning to use it has a cost. Plus
there
You've gotten plenty of good advice from people discussing the coding and
coding style itself, I'll provide some feedback from the vantage point of a
perspective user.
On Thu, Jul 25, 2013 at 9:24 AM, Devyn Collier Johnson <
devyncjohn...@gmail.com> wrote:
> Aloha Python Users!
>
>I made a P
On 07/27/2013 10:33 AM, Dave Angel wrote:
On 07/27/2013 08:56 AM, Devyn Collier Johnson wrote:
Somehow during this thread, you have changed your purpose for this
library. It used to be a library that Python programmers could import
and use. And now, it's a shell replacement? The u
On 07/27/2013 08:56 AM, Devyn Collier Johnson wrote:
Somehow during this thread, you have changed your purpose for this
library. It used to be a library that Python programmers could import
and use. And now, it's a shell replacement? The user runs the Python
interpreter, and types
On Sat, Jul 27, 2013 at 2:19 PM, Devyn Collier Johnson
wrote:
> About the aliases, I have tried setting pwd() as an alias for "os.getcwd()",
> but I cannot type "pwd()" and get the desired output. Instead, I must type
> "pwd". I tested this in Guake running Python3.3.
>
os.getcwd()
> '/home/c
On 07/27/2013 09:35 AM, Dave Angel wrote:
On 07/27/2013 09:19 AM, Devyn Collier Johnson wrote:
About the aliases, I have tried setting pwd() as an alias for
"os.getcwd()", but I cannot type "pwd()" and get the desired output.
Instead, I must type "pwd". I tested this in Guake running
On Sat, Jul 27, 2013 at 3:19 PM, Devyn Collier Johnson
wrote:
> About the aliases, I have tried setting pwd() as an alias for "os.getcwd()",
> but I cannot type "pwd()" and get the desired output. Instead, I must type
> "pwd". I tested this in Guake running Python3.3.
>
os.getcwd()
> '/home/c
On 07/27/2013 09:19 AM, Devyn Collier Johnson wrote:
About the aliases, I have tried setting pwd() as an alias for
"os.getcwd()", but I cannot type "pwd()" and get the desired output.
Instead, I must type "pwd". I tested this in Guake running Python3.3.
>>> os.getcwd()
'/home/collier'
On 07/26/2013 10:48 PM, Steven D'Aprano wrote:
As requested, some constructive criticism of your module.
On Thu, 25 Jul 2013 09:24:30 -0400, Devyn Collier Johnson wrote:
#!/usr/bin/python3
#Made by Devyn Collier Johnson, NCLA, Linux+, LPIC-1, DCTS
What's NCLA, Linux+, LPIC-1, DCTS? Do these
On 07/26/2013 10:48 PM, Steven D'Aprano wrote:
As requested, some constructive criticism of your module.
On Thu, 25 Jul 2013 09:24:30 -0400, Devyn Collier Johnson wrote:
#!/usr/bin/python3
#Made by Devyn Collier Johnson, NCLA, Linux+, LPIC-1, DCTS
What's NCLA, Linux+, LPIC-1, DCTS? Do these
As requested, some constructive criticism of your module.
On Thu, 25 Jul 2013 09:24:30 -0400, Devyn Collier Johnson wrote:
> #!/usr/bin/python3
> #Made by Devyn Collier Johnson, NCLA, Linux+, LPIC-1, DCTS
What's NCLA, Linux+, LPIC-1, DCTS? Do these mean anything? Are we
supposed to know what th
On 26 July 2013 16:08, Alister wrote:
> >
> > The main point of this is for shell users that are using Python and do
> > not know some of the Python commands. This module would make Python more
> > like a Linux shell. For instance, a shell user would type boash.uname()
> > because they may not kn
>
> The main point of this is for shell users that are using Python and do
> not know some of the Python commands. This module would make Python more
> like a Linux shell. For instance, a shell user would type boash.uname()
> because they may not know they can type "import platform;
> platform.una
On 07/25/2013 10:09 AM, Alain Ketterlin wrote:
Devyn Collier Johnson writes:
I made a Python3 module that allows users to use certain Linux
shell commands from Python3 more easily than using os.system(),
subprocess.Popen(), or subprocess.getoutput(). This module (once
placed with the othe
On 07/25/2013 09:58 AM, Schneider wrote:
Hi,
nice idea.
mybe - for security reasons - you should ensure, that the right tool
is called and not some tool put the path with the same name.
bg,
Johannes
On Thu 25 Jul 2013 03:24:30 PM CEST, Devyn Collier Johnson wrote:
Aloha Python Users!
Hi,
nice idea.
mybe - for security reasons - you should ensure, that the right tool is
called and not some tool put the path with the same name.
bg,
Johannes
On Thu 25 Jul 2013 03:24:30 PM CEST, Devyn Collier Johnson wrote:
Aloha Python Users!
I made a Python3 module that allows users
Devyn Collier Johnson writes:
>I made a Python3 module that allows users to use certain Linux
> shell commands from Python3 more easily than using os.system(),
> subprocess.Popen(), or subprocess.getoutput(). This module (once
> placed with the other modules) can be used like this
Good, but
On 25 July 2013 14:24, Devyn Collier Johnson wrote:
> Aloha Python Users!
>
>I made a Python3 module that allows users to use certain Linux shell
> commands from Python3 more easily than using os.system(),
> subprocess.Popen(), or subprocess.getoutput(). This module (once placed
> with the oth
Aloha Python Users!
I made a Python3 module that allows users to use certain Linux shell
commands from Python3 more easily than using os.system(),
subprocess.Popen(), or subprocess.getoutput(). This module (once placed
with the other modules) can be used like this
import boash; boash.ls()
28 matches
Mail list logo