Re: Deditor

2011-05-02 Thread Alec Taylor
Yes On Mon, May 2, 2011 at 2:12 AM, Kruptein wrote: > On 1 mei, 17:50, Alec Taylor wrote: >> Traceback (most recent call last): >>  File "O:\deditor\deditor\deditor.py", line 7, in > e> >>    import wx, os, datetime, sys, ConfigParser, wx.aui, wx.lib.scrolle

Re: Embedding Python's library as zip file

2011-05-05 Thread Alec Taylor
ZIP is the wrong format. Use UPX with LZMA On Thu, May 5, 2011 at 8:55 PM, Wojtek Mamrak wrote: > Thanks for the reply! > >> Can you import from zip files when running the Python.exe interpreter? > When I zip the folder "Lib" into Python27.zip and later rename it and > try to run the python.exe,

Re: Python IDE/text-editor

2011-05-06 Thread Alec Taylor
No thanks, it's shareware, doesn't included embedded python interpreter out-of-the-box, and isn't portable. On Fri, May 6, 2011 at 2:39 PM, JussiJ wrote: > On Apr 16, 1:20 pm, Alec Taylor wrote: > >> I'm looking for an IDE which offers syntax-highlighting, >&g

symlinks with python3 http.server.CGIHTTPRequestHandler

2022-01-10 Thread Nat Taylor
Is it possible to get http.server.CGIHTTPRequestHandler to run a symlink-ed script? In the example below, GET /cgi-bin/test.py results in a 404 because it is a symlink. % mkdir -p test/cgi-bin % cd test % vi test.py % chmod +x test.py % ln -s test.py cgi-bin % cp test.py cgi-bin/test2.py % chmod

Force virtualenv pip to be used

2016-11-06 Thread Alec Taylor
Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong? $ virtualenv a && . "$_"/bin/activate && pip --version New python executable in /tmp/a/bin/python Installing setuptools, pip, wheel...done. pip 9.

Re: Force virtualenv pip to be used

2016-11-06 Thread Alec Taylor
On Sunday, November 6, 2016 at 10:20:53 PM UTC+11, Peter Otten wrote: > Chris Angelico wrote: > > > On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor > > wrote: > >> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv > >> 15.0.3 (`sudo -H pip i

Re: Force virtualenv pip to be used

2016-11-07 Thread Alec Taylor
On Monday, November 7, 2016 at 1:07:12 AM UTC+11, Chris Angelico wrote: > On Sun, Nov 6, 2016 at 10:19 PM, Peter Otten <__pete...@web.de> wrote: > > Chris Angelico wrote: > > > >> On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor > >> wrote: > >>> Ru

logger.info / logger.error with logger.addHandler - how to split streams?

2016-12-26 Thread Alec Taylor
So I'm putting .info in one StringIO and .error in another StringIO. How do I stop them from both being put into both? Code: http://ideone.com/Nj6Asz -- https://mail.python.org/mailman/listinfo/python-list

Re: logger.info / logger.error with logger.addHandler - how to split streams?

2016-12-28 Thread Alec Taylor
Thanks On Tue, Dec 27, 2016 at 2:57 AM, gst wrote: > Le lundi 26 décembre 2016 10:34:48 UTC-5, Alec Taylor a écrit : > > So I'm putting .info in one StringIO and .error in another StringIO. > > > > How do I stop them from both being put into both? > > > > C

Using Python with a website

2018-07-04 Thread Adrian Taylor
line prompt. Can anyone help? Regards, Adrian Taylor InfoHub - ICT - Helpdesk A : 5 Faith Avenue, Plainland , QLD 4341 T : 07 5466 9900 E : atay...@faithlc.qld.edu.au<mailto:atay...@faithlc.qld.edu.au> W : www.faithlc.qld.edu.au<http://www.faithlc.qld.edu.au/> [cid:image005.png@

Re: Python and Excel

2005-01-19 Thread Charlie Taylor
If it helps, I started a similar project a few years ago on SourceForge when I was just learning python called python2xlw. I haven't supported it for quite a while, however, I still use it a lot in my own work. I needed to create Excel files with scatter charts in them for a web interface so

Is this a good use for lambda

2004-12-17 Thread Charlie Taylor
I find that I use lambda functions mainly for callbacks to things like integration or root finding routines as follows. flow = integrate(lambda x: 2.0*pi * d(x)* v(x) * sin(a(x)),xBeg, xEnd) root = findRoot(xBeg, xEnd, lambda x: y2+ lp*(x-x2) -wallFunc( x )[0], tolerance=1.0E-15) I hav

Highest performance [benchmarked] "HTTP microframework"?

2013-11-12 Thread Alec Taylor
s? Thanks for all suggestions, Alec Taylor -- https://mail.python.org/mailman/listinfo/python-list

Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-13 Thread Alec Taylor
ks for all suggestions! =) Alec Taylor -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-16 Thread Alec Taylor
Also my team is a Python dev team; so why not choose an open platform written in Python from which we can easily contribute to? On Sun, Nov 17, 2013 at 4:24 AM, Thomas Mlynarczyk wrote: > Jason Friedman schrieb: >> >> >> Can you recommend an open source project (or two) written in Python; >>

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-17 Thread Alec Taylor
Thanks, I have actually been leaning towards Apache Bloodhound (which is built on Trac) On Sun, Nov 17, 2013 at 12:28 PM, Miki Tebeka wrote: >> Can you recommend an open source project (or two) written in Python; >> which covers multi project + sub project issue tracking linked across >> github r

How can I get the variable to subtract the input please?

2013-11-18 Thread Ed Taylor
This will be very simple to most of you I guess but it's killing me! print ("Please type in your age") age = input () leave = 16 print ("You have" + leave - age + "years left at school") I want to have an input where the users age is inserted and then subtracted from the variable age which is s

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-20 Thread Alec Taylor
I actually did end up finding one; but now need bitbucket integration also. Anyway, here is the link: https://github.com/rauhryan/huboard On Mon, Nov 18, 2013 at 5:47 AM, Kevin Walzer wrote: > On 11/13/13, 7:46 AM, Alec Taylor wrote: >> >> Started to build this on my own; then wa

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-22 Thread Alec Taylor
Miki: I would much prefer a Python implementation. On Thu, Nov 21, 2013 at 4:07 AM, Miki Tebeka wrote: > On Wednesday, November 20, 2013 6:36:56 AM UTC-8, Alec Taylor wrote: >> Anyway, here is the link: https://github.com/rauhryan/huboard > I thought you wanted a Python ba

Suggest an open-source log analyser?

2014-01-01 Thread Alec Taylor
r drilling down into my logs? Thanks for your suggestions, Alec Taylor -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggest an open-source log analyser?

2014-01-03 Thread Alec Taylor
, 2014 at 1:13 AM, William Ray Wing wrote: > On Jan 2, 2014, at 12:40 AM, Alec Taylor wrote: > >> I use the Python logger class; with the example syntax of: >>Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') >> >> Can of course eas

Highest performance HTTP REST microframework?

2014-01-03 Thread Alec Taylor
What is the highest performance REST microframework? Happy if it's mostly written in C or C++; as long as it provides a simple routes interface in Python. Currently using bottle and utilising its application, @route and app.merge(app2) extra features. -- https://mail.python.org/mailman/listinfo/

Re: Suggest an open-source log analyser?

2014-01-04 Thread Alec Taylor
Because I'm thinking that something with a much less expressive query interface would serve me better in the long run... e.g.: Redis or maybe Hadoop On Sat, Jan 4, 2014 at 5:35 PM, Walter Hurry wrote: > On Thu, 02 Jan 2014 16:40:19 +1100, Alec Taylor wrote: > >> I use the Py

Using multiple ORMs? - And SQLalchemy vs Pony vs Peewee vs stdnet vs …

2014-01-04 Thread Alec Taylor
something other than the 4 mentioned in the subject which I should look into? Thanks for all suggestions, Alec Taylor -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggest an open-source log analyser?

2014-01-08 Thread Alec Taylor
So yeah, if you know of a good one; please share. Thanks On Sun, Jan 5, 2014 at 2:50 PM, Alec Taylor wrote: > Because I'm thinking that something with a much less expressive query > interface would serve me better in the long run... e.g.: Redis or > maybe Hadoop > > On Sat,

Generating documentation for Python and JavaScript/AngularJS to the one doc server?

2014-01-19 Thread Alec Taylor
The advantages of this approach include: - Consistent docstring syntax everywhere - Centralsied documentation server; find all your docs in one place Search and jump-to-source from any documented function or class; in either language Are there any modules integrating with Sphinx or simila

Install Error

2016-02-04 Thread Barrie Taylor
ram to fix this problem.' Needless to say, I have tried uninstalling and reinstalling ad repairing the program a number of times to no avail. Any help with this issue would be greatly appreciated. Kind Regards, Barrie Taylor -- https://mail.pyt

Python REST API Wrapper framework?

2014-12-12 Thread Alec Taylor
It's not overly difficult to build a wrapper of someones RESTfull HTTP API using something like: urllib2 or requests. However, there is still a decent amount of generic boilerplate required. Are there any decent frameworks around which reduce the amount of boilerplate required to consume 3rd-part

Re: Help with map python 2

2015-01-04 Thread Alec Taylor
map(lambda i: -i if i&1==1 else i, xrange(2, 10)) On Sun, Jan 4, 2015 at 10:34 PM, flebber wrote: > In repsonse to this question: Write a program that prints the first 100 > members of the sequence 2, -3, 4, -5, 6, -7, 8. > > This is my solution it works but ugly. > > series = range(2,100) > # a

Re: Help with map python 2

2015-01-04 Thread Alec Taylor
^To print the first 8. To print the first 100: map(lambda i: -i if i&1==1 else i, xrange(2, 102)) On Sun, Jan 4, 2015 at 10:47 PM, Alec Taylor wrote: > map(lambda i: -i if i&1==1 else i, xrange(2, 10)) > > On Sun, Jan 4, 2015 at 10:34 PM, flebber wrote: >> In repsonse to

building c extensions with setuptools that are not tied to python installed on build machine

2015-02-11 Thread Matthew Taylor
7;re doing something egregiously wrong. [1] https://github.com/numenta/nupic [2] https://travis-ci.org/numenta/nupic [3] https://github.com/numenta/nupic/issues/1813 [4] https://github.com/numenta/nupic/blob/master/setup.py Thanks thanks in advance, - Matt Taylor OS Community Flag-Bear

JDBC support in a CPython ORM? - Maybe via the JayDeBeApi package?

2015-02-11 Thread Alec Taylor
Attempting to connect to Hadoop-based SQL layers, which are [practically] all written in JVM languages. Sure, I can use something like JayDeBeApi, but I would prefer proper object mapping. How would I go about interfacing with e.g.: SQL Alchemy or peewee-orm? Thanks for all suggestions -- htt

Re: building c extensions with setuptools that are not tied to python installed on build machine

2015-02-12 Thread Matthew Taylor
Ned, thank you for your insight on this problem. I will take your advice and do some more digging. You've been very helpful. Regards, - Matt Taylor OS Community Flag-Bearer Numenta On Wed, Feb 11, 2015 at 4:23 PM, Ned Deily wrote: > In article > , > Matthew Taylor

Looking for an open-source: Task, feature and issue tracker

2014-02-20 Thread Alec Taylor
Python which cover this list; then do you know of ones written in any language with this support? Finally if there are no open-source projects fully covering this feature-set; can you recommend a proprietary offering? Thanks for all suggestions, Alec Taylor -- https://mail.python.org/mailman/listinfo/python-list

Output JSON-schema from bottle application?

2014-02-27 Thread Alec Taylor
How do I do this? Thanks for all suggestions, Alec Taylor -- https://mail.python.org/mailman/listinfo/python-list

Re: Kivy contest 2014

2014-03-19 Thread Alexander Taylor
The theme will be announced when the contest officially starts, the 15th April. On Wednesday, 19 March 2014 09:27:14 UTC, audiowerk wrote: > > Hi! > > Is there already a date when the theme will be announced? > > Am Sonntag, 16. März 2014 18:42:16 UTC+1 schrieb qua-non: >> >> Hi folks, >> >> Kivy

Open-source vs. closed-source for centralised social-networks?

2013-08-13 Thread Alec Taylor
Fear open-sourcing fledgling social-networks; as centralisation is easily losable. Open-sourcing social-networks when large, seems to work (e.g.: Reddit). Without centralisation it becomes difficult to establish community. An example of a "decentralised" open-source social-network is: Disapora.

Is pip being automatically installed for Python 3.4.0?

2014-07-02 Thread Conrad Taylor
Hi, shouldn't pip be automatically installed for Python 3.4.0 release? I have read through the release and the PEP 453. Thus, can someone confirm whether or not this is the case? BTW, I have installed Python 3.4.0 using MacPorts. -- Think different and code well, -Conrad -- https://mail.p

Re: Is pip being automatically installed for Python 3.4.0?

2014-07-02 Thread Conrad Taylor
On Wednesday, July 2, 2014 6:29:53 PM UTC-7, Frank Liou wrote: > it's truth > > > > pip will be automatically install Python3.4.0 > > > > if you want to use another version > > > > you should use wget This doesn't appear to be the case when installing via MacPorts. -- https://mail.pyth

Re: Is pip being automatically installed for Python 3.4.0?

2014-07-04 Thread Conrad Taylor
On Wednesday, July 2, 2014 9:59:46 PM UTC-7, Ned Deily wrote: > In article , > > Conrad Taylor wrote: > > > Hi, shouldn't pip be automatically installed for Python 3.4.0 release? I > > > have read through the release and the PEP 453. Thus, can someone confir

Re: To automate email login through browser

2014-08-29 Thread Beau Taylor
Have you tried Selenium Python? http://selenium-python.readthedocs.org/ Beau On Fri, Aug 29, 2014 at 4:11 PM, subin alex wrote: > Hi Guys, > > I am very new to python and am trying to learn python. > I want to automate my email login through browser,in a way that when my > computer boots up,it

Re: Python and Outlook-style rules

2011-09-09 Thread Alec Taylor
Something like this? http://stackoverflow.com/questions/387606/using-user-input-to-find-information-in-a-mysql-database On Sat, Sep 10, 2011 at 12:29 AM, Brian wrote: > I'm about to create a system which will need to allow hundreds of > users to create and maintain their own rules in a similar f

Re: How to structure packages

2011-09-09 Thread Alec Taylor
Kayode: Are the number of pages in that tutorial planned? :P > On Sat, Sep 10, 2011 at 1:57 AM, Kayode Odeyemi wrote: >> You might want to have a look at this: >> http://www.ccs.neu.edu/home/matthias/htdc.html >> >> On Fri, Sep 9, 2011 at 2:37 AM, Chris Angelico wrote: >>> >>> On Fri, Sep 9, 20

How do I automate the removal of all non-ascii characters from my code?

2011-09-12 Thread Alec Taylor
e Writer and add some End Notes. How do I automate the removal of all non-ascii characters from my code? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I automate the removal of all non-ascii characters from my code?

2011-09-12 Thread Alec Taylor
alue):    soup = BeautifulSoup(value)    for tag in soup.findAll(True):        if tag.name not in VALID_TAGS:            tag.hidden = True    return soup.renderContents() html2creole(u(sanitize_html('''Abstract     [more stuff here] """)) On Mon, Sep 12, 2011 at 6:17 PM, Gary

Re: How do I automate the removal of all non-ascii characters from my code?

2011-09-13 Thread Alec Taylor
Hmm, nothing mentioned so far works for me... Here's a very small test case: >>> python -u "Convert to Creole.py" File "Convert to Creole.py", line 1 SyntaxError: Non-ASCII character '\xe2' in file Convert to Creole.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263

Replace pip installed package with latest git version?

2011-09-14 Thread Alec Taylor
Good evening, I've installed a version of python-creole from pip. How do I upgrade it to the latest git version? (Windows 7 x64 SP1) Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Replace pip installed package with latest git version?

2011-09-14 Thread Alec Taylor
--editable=git+https://github.com/jedie/python-creole.git is not the right forma t; it must have #egg=Package On Wed, Sep 14, 2011 at 10:54 PM, One Murithi wrote: > pip install -e > On Wed, Sep 14, 2011 at 11:44 AM, Alec Taylor > wrote: >> >> Good evening, >> >

Re: Replace pip installed package with latest git version?

2011-09-14 Thread Alec Taylor
Thanks, uninstalling first worked. :D On Thu, Sep 15, 2011 at 3:06 AM, Micky Hulse wrote: > On Wed, Sep 14, 2011 at 9:58 AM, Micky Hulse > wrote: >> Not sure if you got an answer yet, but this is how I would do it: >> sudo pip install --upgrade >> git+git://github.com/jedie/python-creole.git#e

Re: Python bug in Windows 8--report now, or later?

2011-09-17 Thread Alec Taylor
On Sun, Sep 18, 2011 at 2:40 PM, Westley Martínez wrote: > On Sun, Sep 18, 2011 at 04:15:57AM +, Grant Edwards wrote: >> On 2011-09-17, Chris Angelico wrote: >> >> > I would consider reporting it as a bug in Windows 8, not a bug in >> > >> >> Good luck with that plan.  ;) >> >> [I don't kno

Re: Python bug in Windows 8--report now, or later?

2011-09-20 Thread Alec Taylor
I can confirm that os.mkdir('C:\\h') and os.path.exists('C:\\h') work on Windows 8 Dev x64. On Tue, Sep 20, 2011 at 6:40 AM, Andrew Berg wrote: > On 2011.09.19 09:00 AM, Brian Curtin wrote: >> You said "the application does not create an app folder in the user's >> 'application data' directory" -

Re: Python 2.5 zlib trouble

2011-09-23 Thread Alec Taylor
No idea, as I said before, if you ask for it they might put in the alpha. On Sat, Sep 24, 2011 at 8:30 AM, Jesse Ramirez wrote: > > Thanks Alec, might you know when the 2.7 support might come? -- http://mail.python.org/mailman/listinfo/python-list

Re: error when use portable python 2.7.2

2011-09-27 Thread Alec Taylor
You're looking for this: http://www.portablepython.com/wiki/PortablePython2.7.2.1 On Tue, Sep 27, 2011 at 8:48 PM, yixuan wrote: > Hello, > I copy python 2.7.2 folder from other machine to my new installed > Windows XP. > If I run python.exe it would say side by side error, it is caused by > crt

Re: Python 2.5 zlib trouble

2011-09-28 Thread Alec Taylor
Fix: http://lipyrary.blogspot.com/2011/05/how-to-compile-python-on-ubuntu-1104.html On Tue, Sep 27, 2011 at 5:04 AM, Benjamin Kaplan wrote: > On Mon, Sep 26, 2011 at 2:16 PM, Jesramz > wrote: >> >> I appreciate all the help, but I am still a little confused. Sorry, >> I'm a lay person. >> >> S

Re: Suggested coding style

2011-09-30 Thread Alec Taylor
Maybe one Apache's Buzz? On 10/1/11, Prasad, Ramit wrote: >>> Please do. Bonus points if it handles threading in a Gmail-like style. >>> >> >>May I suggest Gmail? It handles threading in a very Gmail-like style. > > Curses, foiled by my lack of specificity! I meant desktop client. > Although...if

Re: Suggested coding style

2011-09-30 Thread Alec Taylor
http://incubator.apache.org/wave/ On 10/1/11, Neil Cerutti wrote: > On 2011-09-30, Paul Rudin wrote: >> "Prasad, Ramit" writes: >> May I suggest a[n] email client that can group mailing list threads? >>> >>> Please do. Bonus points if it handles threading in a Gmail-like style. >> >> The an

Re: Suggested coding style

2011-09-30 Thread Alec Taylor
Meh, so run your own web-server. If wave isn't right, search on sourceforge for a while. On 10/1/11, Prasad, Ramit wrote: >>> The answer to any news/mail client with feature X type question is >>> normally "gnus" - although I don't know what "Gmail-like style" is. >>Yeah > > Gah, I got distracte

Re: Is it possible to create C-style "main" function in Python? (for teaching purposes)

2011-10-03 Thread Alec Taylor
Make something with http://metapython.org/ ? On Tue, Oct 4, 2011 at 3:21 AM, Aivar Annamaa wrote: > Hi! > > I'm looking for a trick or hidden feature to make Python 3 automatically > call a "main" function but without programmers writing `if __name__ == > "__main__": ...` > > I found rejected PE

Re: recommend a graphics library for plotting by the pixel?

2011-10-04 Thread Alec Taylor
Sounds like a job for Processing... On Tue, Oct 4, 2011 at 8:56 PM, Adam Funk wrote: > I'd like to create a window with a "pause" button and a large plotting > area, in which I'd like to draw a polygon, detect the pixel > coördinates of a mouse click, and then start setting the colors of > pixels

Re: recommend a graphics library for plotting by the pixel?

2011-10-05 Thread Alec Taylor
Hehe, sure, why not? :P On Wed, Oct 5, 2011 at 2:24 PM, alex23 wrote: > On Oct 5, 12:53 am, Alec Taylor wrote: >> Sounds like a job for Processing... > > Don't you mean PyProcessing? :) > > http://code.google.com/p/pyprocessing/ > -- > http://mail.python.

Re: Usefulness of the "not in" operator

2011-10-10 Thread Alec Taylor
On Sun, Oct 9, 2011 at 3:08 AM, Steven D'Aprano wrote: > Roy Smith wrote: > >> If you want to take it one step further, all the boolean operators can >> be derived from nand (the dualists would insist on using nor). > > Let's define the boolean values and operators using just two functions: > > de

Re: Usefulness of the "not in" operator

2011-10-10 Thread Alec Taylor
Unfortunately I don't know lambda [or for that matter, regular] calculus... On Tue, Oct 11, 2011 at 12:01 AM, Alain Ketterlin wrote: > Alec Taylor writes: > >> On Sun, Oct 9, 2011 at 3:08 AM, Steven D'Aprano >> wrote: > >>> def true(x, y): >>>  

Re: Implementing Python-OAuth2

2011-10-11 Thread Alec Taylor
Maybe use CAS instead of OAuth? https://wiki.jasig.org/display/CASC/Pycas On Tue, Oct 11, 2011 at 7:16 PM, Kayode Odeyemi wrote: > On Thu, Oct 6, 2011 at 5:15 PM, Jeff Gaynor > wrote: >> >> On 10/06/2011 08:34 AM, Kayode Odeyemi wrote: >>> >>> Hello friends, >>> >>> I'm working on a pretty larg

Python library for generating SQL queries [selects, alters, inserts and commits]

2011-10-11 Thread Alec Taylor
ation) I'm running Oracle 10g and Oracle 11gR2. Do you know of a Python library which can facilitate this? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Usefulness of the "not in" operator

2011-10-11 Thread Alec Taylor
As you see, this way of writing constants gives you much more poetic freedom than in other programming languages. On Tue, Oct 11, 2011 at 7:46 PM, Chris Angelico wrote: > On Tue, Oct 11, 2011 at 7:28 PM, Nobody wrote: >> It's useful insofar as it allows you to define "numbers" given nothing >> o

Re: Python library for generating SQL queries [selects, alters, inserts and commits]

2011-10-11 Thread Alec Taylor
They look good, but I'm looking for something which can "compile" down to normal SQL code. So that I can just plug that .sql file into any environment [i.e. non-python env] On Wed, Oct 12, 2011 at 2:12 AM, Tim Chase wrote: > On 10/11/11 07:08, Alec Taylor wrote: >> >

Re: Python library for generating SQL queries [selects, alters, inserts and commits]

2011-10-11 Thread Alec Taylor
Great, I'll learn how to use it over the next few days :] On Wed, Oct 12, 2011 at 2:13 PM, alex23 wrote: > On Oct 12, 1:14 am, Alec Taylor wrote: >> They look good, but I'm looking for something which can "compile" down >> to normal SQL code. > > Then y

Re: Python library for generating SQL queries [selects, alters, inserts and commits]

2011-10-12 Thread Alec Taylor
On Wed, Oct 12, 2011 at 2:05 PM, Alec Taylor wrote: >> >> Great, I'll learn how to use it over the next few days >> >> :] >> >> On Wed, Oct 12, 2011 at 2:13 PM, alex23 wrote: >> > On Oct 12, 1:14 am, Alec Taylor wrote: >> >&

Re: Site to open blocked sites, and prohibited and encoded

2011-10-15 Thread Alec Taylor
Large list: http://proxy.org/ On Sat, Oct 15, 2011 at 7:44 PM, porxy wrote: > Site to open blocked sites, and prohibited and encoded > > http://myway.x90x.net/ > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list

Re: Python based silent installer, how to?

2011-10-19 Thread Alec Taylor
Just download the msi (script is available to regenerate yourself) and run it with the silent swtich, something like: msiexec /x nameofmsi.msi On 10/20/11, Muhammad Bashir Al-Noimi wrote: > Hi All, > > > I'm using many python based packages (ex. bzr-2.4.1-1.win32-py2.6.exe) > inside my installer

Python as a replacement to PL/SQL

2011-10-24 Thread Alec Taylor
Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Python as a replacement to PL/SQL

2011-10-24 Thread Alec Taylor
Hmm... What else is there besides PL/Python (for any DB) in the context of writing stored procedures in function? Thanks for all suggestions, Alec Taylor On Tue, Oct 25, 2011 at 1:45 AM, Alain Ketterlin wrote: > Alec Taylor writes: > >> Is there a set of libraries for python

Convert DDL to ORM

2011-10-24 Thread Alec Taylor
hanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Need Windows user / developer to help with Pynguin

2011-10-30 Thread Alec Taylor
Maybe push something onto pip or easy_install? On Fri, Oct 28, 2011 at 6:38 AM, Lee Harr wrote: > > I develop the free python-based turtle graphics application pynguin. > > http://pynguin.googlecode.com/ > > > Lately I have been getting a lot of positive comments from people > who use the program

Database access benchmarks for use in web-frameworks - How does Python compare?

2011-11-03 Thread Alec Taylor
dible). Are there recent accessible statistics available, comparing these metrics across the most popular web-frameworks? (i.e. Symfony, DJango, Rails, ASP.NET &etc) Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Monitoring/inventory client-server app

2011-11-17 Thread Alec Taylor
Maybe take a look outside python: - Puppet On Fri, Nov 18, 2011 at 3:49 PM, snorble wrote: > On Nov 17, 4:31 pm, Irmen de Jong wrote: >> On 17-11-2011 5:17, snorble wrote: >> >> >> >> >> >> >> >> >> >> > I'm writing a tool for monitoring the workstations and servers in our >> > office. I plan t

Re: Python 2.7.2 on Win7 and IDLE (Try it)

2011-11-19 Thread Alec Taylor
Works fine for me from msi install on Windows 8 x64 Dev Preview On Sat, Nov 19, 2011 at 5:06 AM, W. eWatson wrote: > Undoubtedly some of you have seen my post Both Python 2.5.2 and 2.7.2 flop > the same way under Win 7. > > One thing I think no one has offered is whether their installation of 2.7

Re: ProgressBar - Python and Powershell

2011-11-20 Thread Alec Taylor
Why are you writing an installer in Python and Powershell? Just write an installer in WiX, NSIS or Inno like the rest of the sane world. Alternatively take a look at MakeMSI or the script python uses to generate there .MSI. Anything else is WAY too non-standard to consider. On Mon, Nov 21, 2011

Re: ProgressBar - Python and Powershell

2011-11-20 Thread Alec Taylor
available.! > Can you please suggest an alternative to Powershell in VM environment. ? > > The current look of the installer is completely command line based. > > > -Original Message- > From: Alec Taylor [mailto:alec.tayl...@gmail.com] > Sent: Sunday, November 20,

Re: (don't bash me too hard) Python interpreter in JavaScript

2011-11-21 Thread Alec Taylor
Just compile your python to C :] On Mon, Nov 21, 2011 at 6:41 PM, OKB (not okblacke) wrote: > Carl Banks wrote: > >> Some people have already made an LLVM-to-Javascript compiler, and >> have managed to build Python 2.7 with it. >> >> The LLVM-to-Javascript project is called emscripten. >> >> htt

Re: ProgressBar - Python and Powershell

2011-11-21 Thread Alec Taylor
> processes one is updating and other is reading ..? Will this work in > practical and what can be the complications ? > > > > -Original Message- > From: Alec Taylor [mailto:alec.tayl...@gmail.com] > Sent: Monday, November 21, 2011 5:23 PM > To: Badjatya, Nik

JSON passing protocol

2011-11-21 Thread Alec Taylor
Good morning, I'm planning on assembling my django templates onto mobile apps using a JSON passing protocol, probably tunnels through HTTP. What's available? Thanks for all information, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: What replaces log4py under Python 3.2?

2011-11-23 Thread Alec Taylor
zing! On Thu, Nov 24, 2011 at 1:18 AM, Peter Otten <__pete...@web.de> wrote: > Rob Richardson wrote: > >> Our customers are used to the rotating log file capability of the log4py >> package.  I did not see anything in that link that talks about rotating >> log files (changing file name when the da

Re: How to change the file creation timestamp?

2011-11-25 Thread Alec Taylor
import os import time from stat import * #returns a list of all the files on the current directory files = os.listdir('.') for f in files: #my folder has some jpegs and raw images if f.lower().endswith('jpg') or f.lower().endswith('crw'): st = os.stat(f) atime = st[ST_ATIME] #access t

Re: Using the Python Interpreter as a Reference

2011-11-26 Thread Alec Taylor
Consider implementing OOP, reflection and implement in HLA or C =] On Mon, Nov 21, 2011 at 11:46 AM, Travis Parks wrote: > Hello: > > I am currently working on designing a new programming language. It is > a compiled language, but I still want to use Python as a reference. > Python has a lot of

Converting MS Access DB to Postgres or MySQL for ORM support with SQLalchemy

2011-11-29 Thread Alec Taylor
t was been dropped after 0.4). But I would also like to move there schema &etc to ORM, for easy editing with SQLalchemy (or similar). What approach would you recommend? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: How convert a list string to a real list

2011-11-29 Thread Alec Taylor
import json s = json.dumps([1, 2, 3, 4]) # '[1, 2, 3, 4]' l = json.loads(s) # [1, 2, 3, 4] 2011/11/30 郭军权 : > Good after > I have a string liststr = '["","","ccc"]' ,and I need convert > it to a list like list = ["","","ccc"],what can id do? > Thanks. > > > -- > 郭军权 > 清华大学网络中

Re: How convert a list string to a real list

2011-11-29 Thread Alec Taylor
Arnaud: Already showed that solution On Wed, Nov 30, 2011 at 6:09 PM, Arnaud Delobelle wrote: > > On Nov 30, 2011 6:21 AM, "郭军权" wrote: >> >> Good after >>     I have a string  liststr = '["","","ccc"]' ,and I need convert >> it to a list like list = ["","","ccc"],what can id do?

Defining a new base-type in Python based off Hexavigesimal

2011-11-30 Thread Alec Taylor
for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Defining a new base-type in Python based off Hexavigesimal

2011-11-30 Thread Alec Taylor
On Thu, Dec 1, 2011 at 3:18 AM, Ian Kelly wrote: > On Wed, Nov 30, 2011 at 8:19 AM, Alec Taylor wrote: >> Good evening, >> >> I have defined a new numbering structure for certain mathematical advantages. >> >> How do I implement this in Python, or would I be bet

Re: Defining a new base-type in Python based off Hexavigesimal

2011-11-30 Thread Alec Taylor
Excellent, I'll see if I can implement that. I was thinking more base data-type, but that seems impossible in python. 17 iterations (rarghh!) But yeah, I'll try that, thanks. On Thu, Dec 1, 2011 at 5:38 AM, Ian Kelly wrote: > On Wed, Nov 30, 2011 at 9:26 AM, Alec Taylor wrote: &

Re: How convert a list string to a real list

2011-11-30 Thread Alec Taylor
Dammit, been awake too long researching on the Internet, but I finally reached the Last Page On Thu, Dec 1, 2011 at 3:25 PM, Ben Finney wrote: > Steven D'Aprano writes: > >> On Wed, 30 Nov 2011 17:12:10 -0500, Terry Reedy wrote: >> >> > I think it would be better if safe_eval were available as a

Re: Need some IPC pointers

2011-11-30 Thread Alec Taylor
Sure, I'll give you some pointers: 0x3A28213A 0x6339392C 0x7363682E -- http://mail.python.org/mailman/listinfo/python-list

Re: Need some IPC pointers

2011-11-30 Thread Alec Taylor
:P On Thu, Dec 1, 2011 at 4:02 PM, Roy Smith wrote: > In article , >  Alec Taylor wrote: > >> Sure, I'll give you some pointers: >> >> 0x3A28213A >> 0x6339392C >> 0x7363682E > > What, no 0xDEADBEEF ??? > -- > http://mail.python.org/mailman

Re: Multiprocessing: killing children when parent dies

2011-12-02 Thread Alec Taylor
I've been in philosophical discussions all day. This topic title makes me cringe :P -- http://mail.python.org/mailman/listinfo/python-list

Can't install pycrypto

2011-12-05 Thread Alec Taylor
Good afternoon, Unfortunately my pycrpto install fails (tried with pip, easy_install and pip -e git+) Error: http://pastebin.com/wjjfTZvd How do I get this working? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Insert trusted timestamp to PDF

2011-12-07 Thread Alec Taylor
Just digitally sign the document using python-gnupg /problem-solved! On Thu, Dec 8, 2011 at 4:09 PM, Hegedüs, wrote: > Hello Irmen, > > On Wed, Dec 07, 2011 at 08:59:11PM +0100, Irmen de Jong wrote: >> On 07-12-11 20:41, Hegedüs, Ervin wrote: >> >Hello Everyone, >> > >> >I'm looking for a tool,

Re: Insert trusted timestamp to PDF

2011-12-07 Thread Alec Taylor
Or the python implementation of that RFC: http://pypi.python.org/pypi/rfc3161/0.1.3 On Thu, Dec 8, 2011 at 6:39 PM, wrote: > Hi, take a look at this online tool: http://easytimestamping.com > > It is able to apply RFC3161 compliant trusted timestamps, issued by > accredited Certification Author

Re: Contacts/Addressbook application - any good Python ones out there?

2011-12-09 Thread Alec Taylor
Wammu? On Sat, Dec 10, 2011 at 1:41 AM, wrote: > I'm after an application for managing Contacts (i.e. an Address Book) > and as I suspect I will want to 'tune' it a bit Python would be my > preferred language. > > So far I have found :- > >    pycocuma - reasonable but rather old and a bit clunk

Re: ERP with Supply chain management (incl. POS) and Customer relationship management — What's available?

2011-12-15 Thread Alec Taylor
On Thu, Dec 15, 2011 at 5:54 AM, Anurag Chourasia wrote: > Hi Alec, > > I am building a POS/CRM (Loyalty Management) system as well. > > So far, the best I could find to use as a base is this one > > https://github.com/rosarior/django-inventory > > In any case, I felt that even starting from scrat

<    1   2   3   >