how to do draw pattern with python?

2012-09-21 Thread echo . hping
may i know how to shift the bits using only looping and branching?? xx .x..x. ..xx.. ..xx.. .x..x. xx xx ..x..x ...xx. ...xx. ..x..x xx .xx... x..x.. xx xx x..x.. .xx... etc.. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web development with Python 3.1

2009-10-26 Thread Echo
bottle (http://bottle.paws.de/) can run on python 3.1 after running the 2to3 tool on it. It is a very lightweight framework. CherryPy 3.2 also runs on python 3.x I don't know if there are any others. On Sun, Oct 25, 2009 at 7:52 PM, Alan Harris-Reid a...@baselinedata.co.uk wrote: I am very

How is the start of my server monitoring code?

2009-05-04 Thread Echo
I just started a project to monitor servers(load, memory, processes, etc) via ssh(using paramiko). And I was hoping to get some input on the design of my project, how pythonic it is, etc. It is quite basic right now. But it is currently able to get load and memory stats from any number of servers.

Re: The Python standard library and PEP8

2009-04-20 Thread Echo
On Mon, Apr 20, 2009 at 9:31 AM, George Sakkis george.sak...@gmail.comwrote: On Apr 19, 6:01 pm, Martin P. Hellwig Besides, calling Python Object-Orientated is a bit of an insult :-). I would say that Python is Ego-Orientated, it allows me to do what I want. +1 QOTW So true. +1 QOTW

Re: Python Goes Mercurial

2009-04-02 Thread Echo
2009/4/2 Jeremiah Dodds jeremiah.do...@gmail.com The one thing that makes me want to use git more than any other dvcs is that you don't have to create a new directory for branches. This may be possible in other dvcs's , but git is the only one I've seen advertise the capability. --

Re: Having trouble with relative imports

2007-04-10 Thread Echo
On 4/9/07, Echo [EMAIL PROTECTED] wrote: Here is my setup: rpg -objects --__init__.py --gameobject.py --material.py -__init__.py -run_tests.py -stats.py the contents of run_test.py is: import objects as o the contents of objects/__init__.py is: from material import * in objects

Having trouble with relative imports

2007-04-09 Thread Echo
from ..stats import stats When I try to run run_tests.py, I get this traceback: (1:30:59 PM) OshEcho: [EMAIL PROTECTED] ~/projects/rpg $ python run_tests.py Traceback (most recent call last): File run_tests.py, line 4, in module import objects as o File /home/echo/projects/rpg/objects

Re: Python and CMS

2006-10-23 Thread Echo
. Lewis -Echo -- http://mail.python.org/mailman/listinfo/python-list

Python and CMS

2006-10-22 Thread Echo
: but when I was an atheist I had moods in which Christianity looked terribly probable. -C. S. Lewis -Echo -- http://mail.python.org/mailman/listinfo/python-list

Re: Python component model

2006-10-09 Thread Echo
is supported at the moment. And I think that Tkinter works somewhat.) -- Now that I am a Christian I do not have moods in which the whole thing looks very improbable: but when I was an atheist I had moods in which Christianity looked terribly probable. -C. S. Lewis -Echo -- http://mail.python.org

beginer question of list comprehensions

2006-03-23 Thread Echo
, globals(), locals(), m).BizObjects() for m in table_files)] table_files is a list with two module names __import__(m, globals(), locals(), m).BizObjects() is a list of objects gotten from the module. -- -Echo -- http://mail.python.org/mailman/listinfo/python-list

Re: editor for Python on Linux

2006-02-20 Thread Echo
things changed, added and/or fixed in a day. Although, you will want the svn version for the most resent changes. -- -Echo -- http://mail.python.org/mailman/listinfo/python-list

Help with creating a dict from list and range

2005-10-14 Thread Echo
)) That however does not work. the value for all the dict is 40. Not 1, 2, 3, ... that I was hoping for. Am I even close at creating the dict that I want? Is there a better way to go about it?-- -Echo -- http://mail.python.org/mailman/listinfo/python-list

Hidden string formatting bug

2005-10-13 Thread Echo
, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] -- -Echo -- http://mail.python.org/mailman/listinfo/python-list

Detailed traceback

2005-09-12 Thread Echo
. -- -Echo -- http://mail.python.org/mailman/listinfo/python-list

Getting files in a subdirectory in a zip

2005-07-11 Thread Echo
better ways. -- -Echo -- http://mail.python.org/mailman/listinfo/python-list

Importing and source structure troubles

2005-06-03 Thread Echo
is the best way to structure the program I am working on? I have 3 groups of source files. One has the files that start the program and some tools. Another group has all the main files. And the last group is just some misc stuff. How would the best way to accomplish this be? -- -Echo -- http