First  |  Prev |  Next  |  Last
Pages: 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
linux console command line history
Hi to all, I 'm writing a linux console app with sockets. It's basically a client app that fires commands in a server. For example: $log user 55 $sessions list $server list etc. What i want is, after entering some commands, to press the up arrow key and see the previous commands that i have executed. Any hints... 21 Jul 2010 04:50
convert time to UTC seconds since epoch
Hi, list How with python standard library to convert string like 'YYYY-MM-DD mm:HH:SS ZONE' to seconds since epoch in UTC? ZONE may be literal time zone or given in explicit way like +0100. ... 21 Jul 2010 13:33
Compile python executable only for package deployment on Linux
Hi, I have created a simple tool(python script) that creates a self sufficient package ready for deployment. Current implementation is based on shell scripting to set environment for the app and finally execute "python". I am planning to convert "" into an executable. The plan is to rip the unn... 20 Jul 2010 14:39
Kick off a delete command from python and not wait
I have a requirement to kick off a shell script from a python script without waiting for it to complete. I am not bothered about any return code from the script. What is the easiest way to do this. I have looked at popen but cannot see how to do it. ... 20 Jul 2010 17:58
Trying to redirect every urel request to script with the visitors page request as url parameter.
Hello guys! This is my first post in this group! I'am trying to create a python script to take a visitors page request as url parameter, and the insert or update the counters database table and the render the template(my tempalets are actually html files) that has int hem special strign identifies format charactes ... 20 Jul 2010 23:25
urllib2 test fails (2.7, linux)
Hi, running Python 2.7 test suite for urllib2 there is a test that doesn't pass. Do you have an idea about where the problem could be and how to solve it? Thanks, best regards. $ # ubuntu 8.04 $ pwd ~/sandbox/2.7/lib/python2.7/test $ python =================================================... 1 Aug 2010 07:15
hasattr + __getattr__: I think this is Python bug
hi all, I have a class (FuncDesigner oofun) that has no attribute "size", but it is overloaded in __getattr__, so if someone invokes "myObject.size", it is generated (as another oofun) and connected to myObject as attribute. So, when I invoke in other code part "hasattr(myObject, 'size')", instead o returning T... 28 Jul 2010 14:03
How is memory managed in python?
On Mon, Jul 19, 2010 at 6:30 PM, Vishal Rana <ranavishal(a)> wrote: Hi, In my web application (Django) I call a function for some request which loads like 500 MB data from the database uses it to do some calculation and stores the output in disk. I just wonder even after this request is served the... 20 Jul 2010 12:26
How to pass the shell in Python
Ranjith Kumar wrote: Hi Folks, Can anyone tell me how to run shell commands using python script. Use the 'subprocess' module. ... 19 Jul 2010 22:22
parmiko problem
I have a problem with connecting to a host without specifying password (but with ssh keys configured correctly. That is [tina src]$ sftp alice Connecting to alice... sftp> works, but the code import paramiko paramiko.util.log_to_file('/tmp/paramiko') t = paramiko.Transport(('alice', 22)) t.connect(usern... 19 Jul 2010 17:57
First  |  Prev |  Next  |  Last
Pages: 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46