Re: Test Bank for Governing Texas, 3rd Edition by Champagne Harpham

2017-09-15 Thread andrey . estrada2
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

Just added AnyChart JS Charts integration templates for easier dataviz with Python (+ Flask/Django) and MySQL

2016-12-29 Thread andrey . khachaturov
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,

Re: Wheezy.web - is it been developed?

2014-02-19 Thread Marcio Andrey Oliveira
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

Re: Wheezy.web - is it been developed?

2014-02-19 Thread Marcio Andrey Oliveira
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

Wheezy.web - is it been developed?

2014-02-18 Thread Marcio Andrey Oliveira
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

Repetition of work in Jython

2010-03-25 Thread Andrey Fedorov
nents" between them and CPython, no? - Andrey -- http://mail.python.org/mailman/listinfo/python-list

Re: Down casting Python objects

2010-03-10 Thread Andrey Fedorov
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

Down casting Python objects

2010-03-09 Thread Andrey Fedorov
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

Re: Don't work __getattr__ with __add__

2010-03-04 Thread Andrey Simurzin
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

Re: Chaining 501 generators breaks everything?

2010-02-19 Thread Andrey Fedorov
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 &

Chaining 501 generators breaks everything?

2010-02-19 Thread Andrey Fedorov
(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

Bypassing properties on an object (also with __slots__?)

2010-02-18 Thread Andrey Fedorov
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

Re: Constraints on __sub__, __eq__, etc.

2010-02-18 Thread Andrey Fedorov
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

Constraints on __sub__, __eq__, etc.

2010-02-18 Thread Andrey Fedorov
in a PEP, or assumed to follow from the mathematical meanings? - Andrey -- http://mail.python.org/mailman/listinfo/python-list

Re: Checking if a function invocation will throw a TypeError?

2009-10-29 Thread Andrey Fedorov
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

Checking if a function invocation will throw a TypeError?

2009-10-29 Thread Andrey Fedorov
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

How different are a generator's send and next methods

2009-09-30 Thread Andrey Fedorov
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

Re: Function to apply superset of arguments to a function

2009-09-09 Thread Andrey Fedorov
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: > >

Function to apply superset of arguments to a function

2009-09-09 Thread Andrey Fedorov
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

Re: XMLRPC - persistent object state on server

2009-04-10 Thread Demidov Andrey
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

XMLRPC - persistent object state on server

2009-04-10 Thread Demidov Andrey
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

Re: Where to host a (Python) project?

2009-01-31 Thread Andrey Demidov
I use Google Code. -- http://mail.python.org/mailman/listinfo/python-list

Re: Ping monitor - monitor ip in the background?

2008-11-02 Thread Andrey Balaguta
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

Re: Ping monitor - monitor ip in the background?

2008-11-02 Thread Andrey Balaguta
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

Mysql class works like php

2007-10-04 Thread Andrey
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

Re: Who can develop the following Python script into working application ?

2007-09-22 Thread Andrey Khavryuchenko
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

2 daemons write to a single file /w python file IO

2007-09-11 Thread Andrey
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

simpleJSON pack binary data

2007-07-21 Thread Andrey
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

Re: UTF-8 Support of Curses in Python 2.5

2007-07-21 Thread Andrey
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

Re: Python Web Frameworks

2007-01-17 Thread Andrey Khavryuchenko
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

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Andrey Khavryuchenko
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

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Andrey Khavryuchenko
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

[ANN] Py2Py 0.0.1 - python code reformatter, initial dev release

2007-01-15 Thread Andrey Khavryuchenko
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

Re: Strange email.Parser error?

2005-08-18 Thread Andrey Smirnov
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

Strange email.Parser error?

2005-08-18 Thread Andrey Smirnov
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

Re: protecting the python code.

2005-01-17 Thread Andrey Tatarinov
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

Re: Statement local namespaces summary (was Re: python3: 'where' keyword)

2005-01-16 Thread Andrey Tatarinov
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

Re: Statement local namespaces summary (was Re: python3: 'where' keyword)

2005-01-13 Thread Andrey Tatarinov
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

Re: else condition in list comprehension

2005-01-13 Thread Andrey Tatarinov
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

Re: embedded scripts debugging

2005-01-11 Thread Andrey Tatarinov
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

Re: Statement local namespaces summary (was Re: python3: 'where' keyword)

2005-01-11 Thread Andrey Tatarinov
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

Re: Statement local namespaces summary (was Re: python3: 'where' keyword)

2005-01-11 Thread Andrey Tatarinov
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

Re: exceptions and items in a list

2005-01-10 Thread Andrey Tatarinov
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,

Re: Statement local namespaces summary (was Re: python3: 'where' keyword)

2005-01-10 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-10 Thread Andrey Tatarinov
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

Re: Python3: on removing map, reduce, filter

2005-01-09 Thread Andrey Tatarinov
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

Re: Python3: on removing map, reduce, filter

2005-01-09 Thread Andrey Tatarinov
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

Python3: on removing map, reduce, filter

2005-01-09 Thread Andrey Tatarinov
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

Re: Pygame and pyopengl with py2exe ?

2005-01-09 Thread Andrey Tatarinov
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/

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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_

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: accessing the result of 'if'

2005-01-09 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-08 Thread Andrey Tatarinov
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

Re: python3: 'where' keyword

2005-01-08 Thread Andrey Tatarinov
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

python3: 'where' keyword

2005-01-07 Thread Andrey Tatarinov
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): >>>

embedded scripts debugging

2005-01-07 Thread Andrey Tatarinov
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

Re: Problem with os.listdir and delay with unreachable network drives on Windows

2004-12-23 Thread Andrey Ivanov
. 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

Re: win32 process name

2004-12-22 Thread Andrey Ivanov
else: mutex_handle = win32event.CreateMutex(None, False, "Test") try: while 1: pass except: pass -- Andrey -- http://mail.python.org/mailman/listinfo/python-list

Re: dot products

2004-12-19 Thread Andrey Tatarinov
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

Re: uptime for Win XP?

2004-12-14 Thread Andrey Ivanov
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

Re: uptime for Win XP?

2004-12-13 Thread Andrey Ivanov
[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

Re: uptime for Win XP?

2004-12-12 Thread Andrey Ivanov
>> 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