On Sunday, July 9, 2017 at 5:58:45 AM UTC-6, Test Banks wrote:
> Greetings,
>
> You can get Test Bank for " Governing Texas, 3rd Edition by Anthony
> Champagne, Edward J. Harpham, Jason P. Casellas " at very reasonable price.
> Our team is available 24/7 and 365 days / year to respond your requ
Hi all,
We at AnyChart JS Charts http://www.anychart.com have just released a series of
20+ integration templates to help web developers add interactive charts, maps,
stock and financial graphs, Gantt charts, and dashboards to web apps much
easier, no matter what your stack is.
In particular,
ive development cycle.
>
> Having lots of humans give support is much better when you have
> problems. You are more likely to get a quick response from a big
> group of humans than from one developer.
>
> On Wed, Feb 19, 2014 at 12:31 PM, Marcio Andrey Oliveira
> wrote:
> &g
development cycle.
>
> If you have any questions I will be happy to answer in this mailing list
> or personally.
>
> Thanks.
>
> Andriy Kornatskyy
>
> On Feb 19, 2014, at 1:48 AM, Marcio Andrey Oliveira
> wrote:
>
> > Hi.
> >
> > I stumbled upon
Hi.
I stumbled upon Wheezy.web and I got interested into learn more about it.
After googling I didn't find that many information about it: only docs and
samples from its web site.
I didn't find a mailing list nor user groups and no tutorials from its
users.
Is Wheezy.web been actively developed
nents" between them
and CPython, no?
- Andrey
--
http://mail.python.org/mailman/listinfo/python-list
vide appropriate accessor
properties for the rest of the code to use.
An option clearly in line with Python's docs might be for `x' to be an
attribute of an ARequest instance, but that would complicate the code of
ARequest. What I'm looking for is a way of adding mix-in's a
So I have `x', a instance of class `Foo'. I also have class `Bar', a class
extending `Foo' with a couple of methods. I'd like to "down cast" x as
efficiently as possible. Is it OK to just set `x.__class__ = Bar' and expect
things to work OK in all major versions of CPython?
--
http://mail.python.o
On 4 мар, 11:38, Chris Rebert wrote:
> On Thu, Mar 4, 2010 at 12:25 AM, Андрей Симурзин wrote:
> > It is object of the class A, in conteiner's class tmpA. Not all method
> > from A are in the tmpA. So for exapmle:
> > A + B -- yes , tmpA + B no. I try to call method from A for tmpA. I
> > can to
Ack, just ran it from shell, realized my editor was just choking on a
"maximum recursion depth exceeded" RuntimeError. Didn't realize generators
used the call stack...
- Andrey
On Fri, Feb 19, 2010 at 2:47 PM, Andrey Fedorov wrote:
> I implemented a Sieve of
&
(s/498/499/ on
line 23) doesn't seem to finish.
Does anyone know the reason for this, or can anyone point me where to look
for a good explanation?
Cheers,
Andrey
--
http://mail.python.org/mailman/listinfo/python-list
achieving this functionality?
Question 1: Is it safe to rely on __dict__ to bypass properties this way?
Question 2: I'd like to use __slots__, but I can't seem to find a way to
stop the property method from recursing. Is there one?
Cheers,
Andrey
--
http://mail.python.org/mailman/listinfo/python-list
g in PEP-8, but it's still considered "good
practice". I'm running across examples like you gave (__sub__ having a
side-effect on the left-hand operand) in some code, and am trying to find
concrete justification for avoiding it.
- Andrey
On Thu, Feb 18, 2010 at 11:28 AM, Stephen
in a PEP, or assumed to follow from the
mathematical meanings?
- Andrey
--
http://mail.python.org/mailman/listinfo/python-list
Will do, thanks. Doing it to make a @curry decorator, which only executes a
function once enough arguments have been passed in.
- Andrey
On Thu, Oct 29, 2009 at 6:53 PM, Chris Rebert wrote:
> On Thu, Oct 29, 2009 at 11:43 AM, Andrey Fedorov
> wrote:
> > Is there a standard functi
Is there a standard function that will check whether certain *args, and
**kwargs satisfy a argspec of a function (s.t. it does not throw a
TypeError). Say:
def foo(a,b=1):
pass
check(foo, 1,2) # True
check(foo, 1) # True
check(foo) # False
check(foo, 1, a=2) # False
Cheers,
Andrey
--
http
As far as I can tell, a generator's .next() is equivalent to .send(None). Is
this true?
If so, aren't they unified in a method with a single argument which defaults
to None?
- Andrey
--
http://mail.python.org/mailman/listinfo/python-list
equest.POST else
> None
> ...
>
This is especially useful both when adding/removing POST variables, and when
there end up being a lot of them.
Cheers,
Andrey
On Wed, Sep 9, 2009 at 1:40 PM, David Stanek wrote:
> On Wed, Sep 9, 2009 at 12:45 PM, Andrey Fedorov
> wrote:
> >
h either
do something similar or would make this code cleaner?
Cheers,
Andrey
1. http://gist.github.com/183375
--
http://mail.python.org/mailman/listinfo/python-list
Thank you.
Of course, it is my stupid mistake.
Change:
> def say(self):
> return a
>
> to:
> def say(self):
> return self.a
>
> Cheers,
> Brian
>
--
http://mail.python.org/mailman/listinfo/python-list
Hi, all
I need a XMLRPC server, which works with database and returns data to
the clients.
But I can not find any possibility to keep the object state on server
between the clients calls.
Here is my code:
1. Server:
from SimpleXMLRPCServer import SimpleXMLRPCServer
from Simple
I use Google Code.
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 2, 12:47 pm, "ScottZ" <[EMAIL PROTECTED]> wrote:
> Andrey - Thank you very much for the example.
> Is something missing after the def start(self): or should def run(): not
> be there?
No, Scott, this is one of the neatest features of Python -- "run" is a
se:
print 'Host is dead.'
p.register_callback(printout)
p.start()
while True:
print "Ding..."
time.sleep(1)
====
Note that printout will be called ONLY if host state has changed, not
on EVERY ping.
--
Best Regards, Andrey Balaguta
--
http://mail.python.org/mailman/listinfo/python-list
done this, so i dont have to re-invent the
wheel, but i have no luck in google, so wondering if anyone might know such
thing exists...
thanks
Andrey
--
http://mail.python.org/mailman/listinfo/python-list
ttp://www.guru.com/ There you can get devlopers for
DBR> money. So what again is your problem?
Actually, I am a python (and django) developer, looking for a contract,
owning Nokia 770 and contacted original poster with no response.
--
Andrey V Khavryuchenko http://a.khavr.com/
Chytach
HI
i have a newbie question about the file() function.
I have 2 daemons running on my linux box.
1 will record the IDs to a file - logs.txt
other 1 will open this file, read the IDs, and then "Clean up the
file" -logs.txt
Since these 2 daemons will run every 2-5mins, I think this will crash, is
Hi
I donno if this is the right place to ask for this question, anyway
Is it possible to pack binary data into simplejson?
d={}
d['date'] = xx
d['name'] = xx
d['size'] = x
d['imageBinaryDataJpeg'] = jpegBinaryDataFromcStringIOStringIO
simplejson.dumps(d)
when i do this, it rai
Yes, it does solve the problem.
Compile python with ncursesw library.
Btw Ubuntu 7 has it "out of the box".
> Hi All,
>
> Recently I ran into a problem with UTF-8 surrport when using curses
> library in python 2.5 in Fedora 7. I found out that the program using
> curses cannot print out unicode
Shortash,
"S" == Shortash wrote:
S> I want to build a Python web app but im not sure which one to go for. I
S> prefer something like asp.Net , which would allow me to fully seperate
S> the presentation layer from the logic. Please advise?
Django? http://www.djangoprojec
to be remote-controlled by python, selenium must be run
DBR> on the server-site itself, due to JS security model restrictions.
Sorry, missed 'spider' word in the original post.
--
Andrey V Khavryuchenko
Software Development Company http://www.kds.com.ua/
--
http://mail.python.org/mailman/listinfo/python-list
u might check Selenium (http://www.openqa.org/selenium/) and its
python module.
--
Andrey V Khavryuchenko
Software Development Company http://www.kds.com.ua/
--
http://mail.python.org/mailman/listinfo/python-list
original code.
The code is developed in a test-first manner and has 100% test coverage.
Feedback, criticism and bug reports are welcome.
Links:
[1] http://trac.kds.com.ua/project/pybeast/
[2] http://www.kds.com.ua/wp/2007/01/16/py2py-001-initial-development-snapshot/
--
Andrey V Khavryuchenko
tions implicitely get their object as first argument, this
> is why you get this error. So you have 2 possibilities : either read()
> doesn't take an argument anymore, or read() is not a member of fp.
>
> Anthony B.
>
> On 8/18/05, Andrey Smirnov <[EMAIL PROTECTED]> wrot
I am getting the following traceback after upgrading my app to Python
2.4.1. It's telling me that there is an error in Parser.py. It tells
me that 'fp.read(8192)' is given 2 arguments, but it is clearly not
true. Does anybody know what's going on here?
Traceback (most recent call last):
File
nell wrote:
First the "10x in advance" means thanks in advance.
The main importance of protecting my code is to save headache of
customers that want to be smart and change it and then complain on bugs
also you can try to use py2exe
--
http://mail.python.org/mailman/listinfo/python-list
Nick Coghlan wrote:
# Anonymous functions
use res:
def f(x):
d = {}
exec x in d
return d
in:
res = [f(i) for i in executable]
as for me, I found construction "use :" unobvious and confusing.
Also there is great possibility to forget some of variables names.
I think that syntax
wher
Nick Coghlan wrote:
Nick Coghlan wrote:
Semantics
-
The code::
with:
translates to::
def unique_name():
unique_name()
I've come to the conclusion that these semantics aren't what I would
expect from the construct. Exactly what I would expect can't really be
expressed in cur
Steve Holden wrote:
Nick Coghlan wrote:
Luis M. Gonzalez wrote:
Hi there,
I'd like to know if there is a way to add and else condition into a
list comprehension. I'm sure that I read somewhere an easy way to do
it, but I forgot it and now I can't find it...
for example:
z=[i+2 for i in range(10) if
Miki Tebeka wrote:
So the question is: Is there suitable library for simple python gui
debugger, or may be there are some other techniques for debugging
embedded scripts?
What I usually do is add
from pdb import set_trace
in the embedded module somewhere and then add a call to set_trace
(brea
So of the four keywords suggested so far ('where', 'with', 'in',
'using'), I'd currently vote for 'using' with 'where' a fairly close
second. My vote goes to 'using' because it has a fairly clear meaning
('execute the statement using this extra information'), and doesn't have
the conflicting ex
Nick Coghlan wrote:
Semantics
-
The code::
with:
translates to::
def unique_name():
unique_name()
Bleh. Not only was my proposed grammar change wrong, my suggested
semantics are wrong, too.
Raise your hand if you can see the problem with applying the above
semantics to the
rbt wrote:
If I have a Python list that I'm iterating over and one of the objects
in the list raises an exception and I have code like this:
try:
do something to object in list
except Exception:
pass
Does the code just skip the bad object and continue with the other
objects in the list,
Nick Coghlan wrote:
Abstract
The proposal is to add the capacity for statement local namespaces to
Python. This allows a statement to be placed at the current scope, while
the statement's 'setup code' is indented after the statement::
with:
I think using 'with' keyword can c
Nick Coghlan wrote:
And about examples for usage "where" keyword
reading http://manatee.mojam.com/~skip/python/fastpython.html I
understand that almost every example should use that keyword =)
I suspect polluting the outer namespace would still be faster, since
Python wouldn't have to create the
Steve Holden wrote:
Andrey Tatarinov wrote:
Hi.
How does GvR suggestions on removing map(), reduce(), filter()
correlate with the following that he wrote himself (afaik):
http://www.python.org/doc/essays/list2str.html
>
And note that the summary in the conclusiogn BEGINS with "Rule num
Paul Rubin wrote:
How does GvR suggestions on removing map(), reduce(), filter()
correlate with the following that he wrote himself (afaik):
http://www.python.org/doc/essays/list2str.html
I think that article was written before list comprehensions were added
to Python.
anyway list comprehensions ar
Hi.
How does GvR suggestions on removing map(), reduce(), filter() correlate
with the following that he wrote himself (afaik):
http://www.python.org/doc/essays/list2str.html
?
--
http://mail.python.org/mailman/listinfo/python-list
Nyx42 wrote:
Second program (pygame + pyopenGL):
Py2exe can't import OpenGL.GL and OpenGL.GLU :(
about that, may be names of imports are generated in runtime, so you can
try to specify them directly
options = {"py2exe": {"packages": ["OpenGL.GL","OpenGL.GLU"]}},
--
http://mail.python.org/mailman/
And about examples for usage "where" keyword
reading http://manatee.mojam.com/~skip/python/fastpython.html I
understand that almost every example should use that keyword =)
--
http://mail.python.org/mailman/listinfo/python-list
Alex Martelli wrote:
Indeed, the fact that many MANY more people are familiar with SQL than
with Haskell may be the strongest practical objection to this choice of
syntax sugar; the WHERE clause in an SQL SELECT has such wildly
different semantics from Haskell's "where" that it might engender huge
Paul Rubin wrote:
What would be the advantage of that over this?
. x = sqrt(a) + sqrt(b) where:
. a = 2.0
. b = 3.0
The idea of "where" is to allow re-using variable names instead of
having to keep track of which ones are in use. I just tried to give a
very simple example of how you might
Nick Coghlan wrote:
sorry, I used "expression" carelessly.
I mean that
>>> print words[3], words[5]
is a single expression
(and that would be in Python 3, when print would be subtituted with
write()/writeln()).
'statement' is the appropriate word in Python's grammar.
thanks )
And I don't think we
Nick Coghlan wrote:
Current:
assignment_stmt ::= (target_list "=")+ expression_list
augmented_assignment_stmt ::=target augop expression_list
New:
assignment_stmt ::= (target_list "=")+ expression_list [where_clause]
augmented_assignment_stmt ::=target augop expression_list
[where_
Paul Rubin wrote:
You mean I can't say
# compute sqrt(2) + sqrt(3)
x = (sqrt(a) where:
a = 2.) \
+ sqrt (a) where:
a = 3.
No, I'd prefer to not embed 'where' into expression.
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
>>> print words[3], words[5] where:
>>> words = input.split()
- defining variables in "where" block would restrict their visibility
to one expression
Then your example above doesn't work... print takes a
sequence of expressions, not a tuple as you seem to think.
sorry, I
Carl Banks wrote:
As a compromise, howabout:
. if m > 20 where m=something():
. do_something_with(m)
That's good, but first idea was about 'where' block that contains any
expressions, that we need, for example function definition. the syntax
you proposed has same problems as 'lambda'.
The ma
Nick Coghlan wrote:
It also allows the necessary but uninteresting setup for an expression
to be moved "out of the way", bringing the expression that does the
real work to prominence.
Killer app for this keyword:
class C(object):
x = property(get, set) where:
def get(self):
return "Si
Bengt Richter wrote:
It also allows the necessary but uninteresting setup for an expression
to be moved "out of the way", bringing the expression that does the real
work to prominence.
Killer app for this keyword:
class C(object):
x = property(get, set) where:
def get(self):
return "Sill
Hi.
It would be great to be able to reverse usage/definition parts in
haskell-way with "where" keyword. Since Python 3 would miss lambda, that
would be extremly useful for creating readable sources.
Usage could be something like:
>>> res = [ f(i) for i in objects ] where:
>>> def f(x):
>>>
Hi all.
I have custom resource editor and wish python to be scripting language
in it. But I don't want to lose ability of debugging which I currently
have implementing all logic in C++.
So the question is: Is there suitable library for simple python gui
debugger, or may be there are some other
. First
function might raise an exception on disconnected devices, which you
will need to handle. You might also need win32file.GetDriveType() to
distinguish between remote and local drives.
--
Andrey
--
http://mail.python.org/mailman/listinfo/python-list
else:
mutex_handle = win32event.CreateMutex(None, False, "Test")
try:
while 1:
pass
except:
pass
--
Andrey
--
http://mail.python.org/mailman/listinfo/python-list
Rahul wrote:
I want to compute dot product of two vectors stored as lists a and b.a
and b are of the same length.
one simple way is
sum(a[i]*b[i] for i in range(len(a)))
btw, imho the most "Pythonic" would be:
sum(i*j for (i,j) in zip(a,b))
--
http://mail.python.org/mailman/listinfo/python-list
ction.
>
> But in particular, a general rule (as has already been posted) is that
> any out parameters are aggregated along with the overall result code
> into a result tuple.
>
> -- David
Thanks for reply! MSDN did contain the answer, but I didn't noticed
it.
--
Andrey
--
http://mail.python.org/mailman/listinfo/python-list
[Peter Hanson]
> The real solution, in spite of the dozen alternatives we've
> now produced, seems to be to use the win32pdh library
> to access the "System"-> "System Up Time" value. It
> claims to return an 8-byte value, which likely doesn't
> wrap quite so soon. (And yes, remarkably, with the
>> I believe that "uptime" works from the console, but don't have a machine
>> to check it with...
> Doesn't work for me, but if you have win32all installed, you can get it
> from Python:
> >>> import win32api
> >>> print "Uptime:", win32api.GetTickCount(), "Milliseconds"
> Uptime: 148699875 Milli
67 matches
Mail list logo