gmail.com> writes:
>
> Currently I'm on 149 characters in one line - 128 without
> spaces/newlines. (it'd be three characters shorter if it didn't have
> to end with a "\n")
>
> -T. "unclean... unclean..."
>
are you importing zlib or bz2 ?
--
http://mail.python.org/mailman/listinfo/pyth
I have exp with C/C++ (and a few other langs). I want to use Python to
start doing the ff:
1). Data Munging (text processing)
2). Automating my build process
3). (Possibly) some web data retrieval jobs
Can anyone point me to resurces/possibly scripts that can get me up to
speed (to do these 3 t
I have exp with C/C++ (and a few other langs). I want to use Python to
start doing the ff:
1). Data Munging (text processing) - instead of Perl
2). Automating my build process
3). (Possibly) some web data retrieval jobs
Can anyone point me to resurces/possibly scripts that can get me up to
spee
I am having problems with CMake.
I currently have the ff errors (paths not set - and I am not sure what
to set them to):
TK_INCLUDE_PATH
TK_INTERNAL_PATH
TK_XLIB_PATH (I don't know why this is reqd, since I'm running W2k)
Has anyone done this before or now how to fix these errors ?
--
http://
I am trying something which appears (so far), that many other people
have not yet tried before - since I can't find any useful related
material despite several days of searching various sites/blogs etc.
I want to use VB6 as a front end for building a small GUI console that
accepts python comman
Ryan Ginstrom wrote:
>>On Behalf Of Anonymous
>>This requires several steps, but the one I am having most
>>problem finding info on is the ff:
>>
>>1. using/interacting the Python interpreter from VB6
>
>
> One way to do this might be by creating a
I'm not sure I understane the question but my contribution is :
import sys
names = sys.argv[1:]
line = 'x'
while line:
line = sys.stdin.readline().strip()
if line: names.append (line)
print "names=", names
Called using:
ls | stdtest.py arg1 arg2 arg3
Does this help?
Andy
--
http
Yes, there is an excellent book for absolute beginners call Python
Programming, for the absolute beginner (second edition by Michael
Dawson.
Here are the reasons why it is excellent for a beginner.
It doesn't go beyong basic math as do most other computer books when
giving examples, exercises or
1 Objective to write little programs to help me learn German. See code
after numbered comments. //Thanks in advance for any direction or
suggestions.
tk
2 Want keyboard answer input, for example:
answer_str = raw_input(' Enter answer > ') Herr Üü
[ I keyboard in the following characters
Have you considered including an encoding line at the top of your file, as
described in PEP 0263:
http://www.python.org/dev/peps/pep-0263/
I just ran into a similar error, but it went away when I included
# coding: utf-8
as the first line in my file.
--
http://mail.python.org/mailman/listinfo
On Aug 21, 7:04 pm, Chris Angelico wrote:
> On Wed, Aug 22, 2012 at 11:39 AM, Roy Smith wrote:
> > In article
> > <5203ee16-5a80-4cd9-9434-ee2efb645...@kg10g2000pbc.googlegroups.com>,
> > Anonymous Group wrote:
>
> >> What books do you recomend for
[EMAIL PROTECTED] wrote:
> In comp.lang.perl.misc Kalle Anke <[EMAIL PROTECTED]> wrote:
>
>>On Thu, 29 Sep 2005 19:44:28 +0200, Matt wrote
>>(in article <[EMAIL PROTECTED]>):
>
>
>
>>>OK... your post seems to indicate a belief that everyone else is
>>>somehow incompetent. Sounds a bit like the
is there a tool which, given two version of programs, finds the difference
like set of classes added, deleted and modified?
assuming the python program is written in oops way.
--
http://mail.python.org/mailman/listinfo/python-list
i wrote this code
--
class Person(object):
instancesCount = 0
def __init__(self, title=""):
Person.instancesCount += 1
self.id = "tempst"
def testprint(self):
print "blah blah"
def __getattribute__(self, name):
print "in get attribute"
a = Person()
a
hi,
i need to trap all method calls in a class in order to update a counter
which is increased whenever a method is called and decreased whenever method
returns. in order to that i am trying to write a decorator for all the
methods.
see the code here with error.
---
http://codepad.org/2w7JVvDB
hi,
i wish to change the way the function definition at run time in a running
server. new function code which is to be executed is provided by a client at
different location.
i am getting it by reading a file and sending it using makefile() with
server/client connected using sockets.
how can make
objectA.getdata()=getdatanew()
here?
On Tue, Jun 24, 2008 at 4:15 PM, Cédric Lucantis <[EMAIL PROTECTED]> wrote:
> Le Tuesday 24 June 2008 08:59:40 Piyush Anonymous, vous avez écrit :
> > hi,
> > i wish to change the way the function definition at run time in a running
> > server.
re? should i change the way i am receiving the code?
thanks for help
-piyush
On Wed, Jun 25, 2008 at 12:22 AM, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
>
> Piyush Anonymous wrote:
>
>> any idea or pointer how i could link it to running code in server?
>> for exam
I've been tossing this idea in my mind for some time now:
In Python, declaring a variable using the global statement automatically
makes it available in all subsequent scopes.
But to me, it makes more sense to use the global statement to 'import' a
variable from the global scope into the curr
class MyObject:
def __init__(self, name):
self.name = name
def do_this_default(self):
print "default do_this implementation for %s" % self.name
def custom_do_this(): #method to be added
print "custom do_this implementation for %s" % self.name
def funcToMethod(func,clas,metho
On Dec 1, 2:23 am, Xah Lee <[EMAIL PROTECTED]> wrote:
> On Nov 30, 7:30 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
>
>>some stuff
Are you a bot?
I think you failed the Turing test after the 8th time you posted the
exact same thing...
I'm completely serious.
--
http://mail.python.org/mailman/listinfo
On Nov 30, 10:30 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
> some stuff
You are a bot?
I think you failed the Turing test when you posted the same thing 20
times.
A rational human would realize that not too many people peruse this
newsgroup,
and that most of them have already seen the wall of text
On Dec 1, 8:29 pm, Lew <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > A rational human would realize that not too many people peruse this
> > newsgroup,
> > and that most of them have already seen the wall of text post that you
> > generate every time.
>
> Just out of curiosity, what do
On Apr 25, 2:06 am, Carl Banks wrote:
> In answering the recent question by Mark Tarver, I think I finally hit
> on why Lisp programmers are the way they are (in particular, why they
> are often so hostile to the "There should only be one obvious way to
> do it" Zen).
>
> Say you put this task to
24 matches
Mail list logo