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.

Highest performance [benchmarked] HTTP microframework?

2013-11-12 Thread Alec Taylor
of a neat ORM in C++ with a large variety of backends (like SQLalchemy has); I would be leveraging boost::Python or similar. So maybe I should give Python another chance? - What's the highest performance Python HTTP microframework capable of routing with decorators? Thanks for all suggestions, Alec

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

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

Re: running Lua in Python

2012-09-02 Thread Alec Taylor
Or you can use a module made for this task: http://labix.org/lunatic-python http://pypi.python.org/pypi/lupa On Sun, Sep 2, 2012 at 7:24 PM, Ian Kelly ian.g.ke...@gmail.com wrote: On Sun, Sep 2, 2012 at 3:04 AM, Arnaud Delobelle arno...@gmail.com wrote: Hi all, I'm looking for a way to

Re: python CAD libraries?

2012-09-11 Thread Alec Taylor
Blender is definitely the most popular open-source CAD software; it has even forked its own version of Python to make things run neatly :P On Tue, Sep 11, 2012 at 5:33 PM, Dwight Hutto dwightdhu...@gmail.com wrote: And just a little more for you from:

Re: submit jobs on multi-core

2012-09-11 Thread Alec Taylor
http://celeryproject.org/ Don't eat it all at once On Tue, Sep 11, 2012 at 2:16 PM, Dhananjay dhananjay.c.jo...@gmail.com wrote: Dear all, I have a python script in which I have a list of files to input one by one and for each file I get a number as an output. I used for loop to submit the

Re: For Counter Variable

2012-09-23 Thread Alec Taylor
You can always use a counter if you don't like our fancy for-each loops; foolist = [1,24,24,234,23,423,4] for i in xrange(len(foolist)): print foolist[i] On Mon, Sep 24, 2012 at 9:29 AM, Tim Chase python.l...@tim.thechases.comwrote: On 09/23/12 17:54, Steven D'Aprano wrote: On Sun, 23

Re: Fastest web framework

2012-09-24 Thread Alec Taylor
Can you throw in web2py? Thanks On Sun, Sep 23, 2012 at 7:19 PM, Andriy Kornatskyy andriy.kornats...@live.com wrote: I have run recently a benchmark of a trivial 'hello world' application for various python web frameworks (bottle, django, flask, pyramid, web.py, wheezy.web) hosted in

Re: Fastest web framework

2012-09-26 Thread Alec Taylor
Thanks Andriy for benchmarking web2py. With this public benchmark the entire web2py community will be hard at work to bring our numbers up higher :) On Tue, Sep 25, 2012 at 9:01 PM, Andriy Kornatskyy andriy.kornats...@live.com wrote: Alec While performing benchmark for web2py I noticed a

REST code-golf: How concisely can you expose and consume services?

2012-09-27 Thread Alec Taylor
web2py (7 lines): https://gist.github.com/3798093 Includes creation of models, validator, controllers and urls. Rules: - Must have [at least] the same functionality as my 7-line example - Imports are allowed and not taken into line count, on the condition that everything remains generic. I.e.:

Re: REST code-golf: How concisely can you expose and consume services?

2012-09-28 Thread Alec Taylor
On Sat, Sep 29, 2012 at 12:17 AM, Demian Brecht demianbre...@gmail.com wrote: (A little OT so my apologies up front) On 12-09-28 12:39 AM, Chris Angelico wrote: I love the idea, even though I shan't be entering. Code golf is awesome fun! Code golf is indeed awesome fun and I usually

Re: pydelicious documentation

2012-10-09 Thread Alec Taylor
/svn/trunk/doc/htmlref/dlcs.html https://pydelicious.googlecode.com/svn/trunk/doc/htmlref/pydelicious.html Just save the files locally then open them in your browser. All the best, Alec Taylor On Tue, Oct 9, 2012 at 10:06 PM, Andres Soto soto_and...@yahoo.com wrote: Does somebody know where I can

Re: pydelicious documentation

2012-10-09 Thread Alec Taylor
Actually it seems this project has been official abandoned. Unofficially use this, was updated only a month ago: https://github.com/mgan59/python-pinboard On Tue, Oct 9, 2012 at 10:47 PM, Alec Taylor alec.tayl...@gmail.com wrote: Hi Professor Soto, Not sure what's going on with their servers

Re: pydelicious documentation

2012-10-10 Thread Alec Taylor
No worries, happy to help :) On Tue, Oct 9, 2012 at 11:44 PM, Andres Soto soto_and...@yahoo.com wrote: This one I didn't know Thanks you! Prof. Dr. Andrés Soto From: Alec Taylor alec.tayl...@gmail.com To: Andres Soto soto_and...@yahoo.com Cc: python-list

Re: can we append a list with another list in Python ?

2012-10-23 Thread Alec Taylor
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. [1,2,3,4,5] + [99,88,77,66,0] [1, 2, 3, 4, 5, 99, 88, 77, 66, 0] On Tue, Oct 23, 2012 at 6:36 PM, inshu chauhan insidesh...@gmail.com wrote: can we

Re: surprising += for lists

2012-11-04 Thread Alec Taylor
Quick aside, you can insert tuples without much effort: `points += ((3,5),)` And also that I can't do the reverse, i.e.: foo = tuple() foo += [5,6] Traceback (most recent call last): File stdin, line 1, in module TypeError: can only concatenate tuple (not list) to tuple On Sun, Nov 4, 2012

Re: Yet another Python textbook

2012-11-22 Thread Alec Taylor
edited the textbook based on responses that I received. Based on several inquiries we also decided to add Python 3.2 to NCLab. New release is coming in one or two weeks. Cheers, Pavel On Wed, Nov 21, 2012 at 4:34 PM, Alec Taylor alec.tayl...@gmail.com wrote: Dear Prof. Solin, Can you put

MVC web-framework with RESTfully Decoupled Views?

2012-12-07 Thread Alec Taylor
which has added functionality for generating decoupled views? Thanks for all suggestions, Alec Taylor BTW: Full disclosure, also posted this on stackoverflow: http://stackoverflow.com/q/13761200 -- http://mail.python.org/mailman/listinfo/python-list

Re: Command Line Progress Bar

2012-12-26 Thread Alec Taylor
On Thu, Dec 27, 2012 at 3:05 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote: On 26-12-2012 7:17, Kevin Anthony wrote: Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of

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 tho...@mlynarczyk-webdesign.de wrote: Jason Friedman schrieb: Can you recommend an open source project (or

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 miki.teb...@gmail.com wrote: Can you recommend an open source project (or two) written in Python; which covers multi project + sub project issue tracking linked

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 k...@codebykevin.com wrote: On 11/13/13, 7:46 AM, Alec Taylor wrote: Started to build this on my own

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 miki.teb...@gmail.com 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 bases

Suggest an open-source log analyser?

2014-01-01 Thread Alec Taylor
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 w...@mac.com wrote: On Jan 2, 2014, at 12:40 AM, Alec Taylor alec.tayl...@gmail.com wrote: I use the Python logger class; with the example syntax of: Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') Can of course easily use e.g.: a JSON

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. --

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 walterhu...@lavabit.com wrote: On Thu, 02 Jan 2014 16:40:19 +1100, Alec Taylor wrote: I use

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

2014-01-04 Thread Alec Taylor
; and is there 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 alec.tayl...@gmail.com 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, Jan

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

Re: Is Programing Art or Science?

2012-04-03 Thread Alec Taylor
Programming is neither Art nor Science It's practically maths [pun intended] -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 274

2012-04-07 Thread Alec Taylor
I have it in 2.7.3 On Sun, Apr 8, 2012 at 2:35 AM, Terry Reedy tjre...@udel.edu wrote: On 4/7/2012 7:20 AM, Rodrick Brown wrote: This proposal was suggested in 2001 and is only now being implemented. Why the extended delay? It was implemented in revised form 3 years ago in 3.0. -- Terry

How would I go about building an API converter?

2012-05-02 Thread Alec Taylor
Slumber http://slumber.in/ with TastyPiehttp://tastypieapi.org/would be best for? Or are there a different libraries you'd recommend? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Python SOAP library

2012-05-02 Thread Alec Taylor
information, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Python SOAP library

2012-05-02 Thread Alec Taylor
Client and server (unfortunately) I need to support serialisation between formats On Thu, May 3, 2012 at 7:24 AM, John Nagle na...@animats.com wrote: On 5/2/2012 8:35 AM, Alec Taylor wrote: What's the best SOAP library for Python? I am creating an API converter which will be serialising

Re: sorting 1172026 entries

2012-05-06 Thread Alec Taylor
Also, is there a reason you are sorting the data-set after insert rather than using a self-sorting data-structure? A well chosen self-sorting data-structure is always more efficient when full data flow is controlled. I.e.: first insert can be modified to use the self-sorting data-structure I

Re: which book?

2012-05-08 Thread Alec Taylor
plot issues? On Wed, May 9, 2012 at 4:16 AM, d.po...@gmail.com wrote: folks hi, I am going to learn python for some plot issues. which book or sources, do you recommend please? Cheers, Dave -- http://mail.python.org/mailman/listinfo/python-list --

Python web-framework with the widest scalability?

2012-05-12 Thread Alec Taylor
I am building a project requiring high performance and scalability, entailing: - Role-based authenticationhttp://en.wikipedia.org/wiki/Role-based_access_controlwith API-keyhttp://en.wikipedia.org/wiki/Application_programming_interface_keylicensing to access data of specific users - API

Re: Opening a csv file in python on a mac

2012-05-12 Thread Alec Taylor
Import csv Lookup usage in the python docs On 13/05/2012 9:22 AM, Brian Heese bhe...@optonline.net wrote: I created a csv file called python test file.csv. It is stored on my Desktop directory. When I try to open it using the command open ('Desktop python test file.csv') I get the following

Re: Good data structure for finding date intervals including a given date

2012-05-13 Thread Alec Taylor
There is an ordered dict type since Python 3.1[1] and Python 2.7.3[2]. If you are looking for the best possible self-sorting structure for searching, then perhaps you are looking for what's outlined in the 2002 article by Han Thorup: Integer Sorting in O(n sqrt(log log n)) Expected Time and

Python web-framework+db with the widest scalability?

2012-05-14 Thread Alec Taylor
, Web2Py or Flask—would you recommend? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Automatically caching computationally intensive variable values?

2012-05-26 Thread Alec Taylor
I am working with a few corpora included in nltk-data with NTLK (http://nltk.org/) to figure out certain algorithms. So my code would generally be something of the style: import re, nltk, random from nltk.corpus import reuters def find_test_and_train_data():

Templating library which generates HTML+JS for interfacing RESTfully?

2012-05-31 Thread Alec Taylor
and more fine grained RBAC. Is there a templating language which can easily interface via REST (XML xor JSON), XMLRPC xor JSONRPC? Thanks for all information and suggestions, Alec Taylor [1] | The example JavaScript widgets: - DISQUS gives the following snippet: `script type=text

python View Controller for decoupled website architectures?

2012-06-03 Thread Alec Taylor
boilerplate for session control, routing and RBAC templates? Thanks, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL for the Python 3.2.3

2012-06-15 Thread Alec Taylor
On Fri, Jun 15, 2012 at 10:18 PM, Gonzalo de Soto gdes...@adinet.com.uywrote: Dear Python Org, It wanted to know if already PIL's version is available for Python 3.2.3. ** ** Thanks. Gonzalo ** ** *

Re: Academic citation of Python

2012-06-15 Thread Alec Taylor
Maybe quote the Programming Python book, since Guido wrote the forward? http://www.python.org/doc/essays/foreword2/ On Sat, Jun 16, 2012 at 1:24 PM, Mark Livingstone livingstonem...@gmail.com wrote: Hello! I wish to properly cite Python in an academic paper I am writing. Is there a

Re: Academic citation of Python

2012-06-15 Thread Alec Taylor
I think it's more like when you see articles with a passage like: The C programming language[1] or the C++ programming language[2] are both examples of... Are both easy to find the proper reference for. On Sat, Jun 16, 2012 at 2:13 PM, Ben Finney ben+pyt...@benfinney.id.auwrote: Mark

Re: which one do you prefer? python with C# or java?

2012-06-15 Thread Alec Taylor
On Sun, Jun 10, 2012 at 8:44 AM, Yesterday Paid howmuchisto...@gmail.com wrote: I'm planning to learn one more language with my python. Someone recommended to do Lisp or Clojure, but I don't think it's a good idea(do you?) So, I consider C# with ironpython or Java with Jython. It's a hard

Re: Python and Facebook

2012-06-24 Thread Alec Taylor
This is the most active one, forked from the official facebook one (when they used to maintain it themselves): https://github.com/pythonforfacebook/facebook-sdk On Mon, Jun 25, 2012 at 1:35 AM, Chris Angelico ros...@gmail.com wrote: On Mon, Jun 25, 2012 at 1:16 AM, Jerry Rocteur

Re: OAuth 2.0 implementation

2012-07-05 Thread Alec Taylor
On Fri, Jul 6, 2012 at 12:06 AM, Demian Brecht demianbre...@gmail.com wrote: FWIW, this package has undergone a major overhaul (474 LOC down to much happier 66) and is available at https://github.com/demianbrecht/sanction. Also available from PyPI. Thanks for this, I've now shared it on my

Re: OAuth 2.0 implementation

2012-07-06 Thread Alec Taylor
thus far. Looking good. Keep adding more to the list! I'd especially be interesting in seeing the 3-phase Twitter and LinkedIn auths added to the list. Also I'll be extending it a little more at some point to make it friendlier :P Thanks for merging my last pull-request, Alec Taylor -- http

Re: OAuth 2.0 implementation

2012-07-06 Thread Alec Taylor
for the request. Unfortunately AFAIK (according to the OAuth provider list on Wikipedia), both Twitter and LinkedIn still use OAuth 1.0a, so until they hop on the OAuth 2.0 bandwagon, they won't be added. -Original Message- From: Alec Taylor [mailto:alec.tayl...@gmail.com] Sent

Re: PyPy, is it a 1:1 replacement for CPython?

2012-07-20 Thread Alec Taylor
ask on PyPy's list But yes, it is designed as a 1:1 replacement of CPython On Sat, Jul 21, 2012 at 1:35 PM, Simon Cropper simoncrop...@fossworkflowguides.com wrote: Hi, Can you use PyPy as a direct replacement for the normal python or is it a specialized compiler that can only work with

Re: Intermediate Python user needed help

2012-08-06 Thread Alec Taylor
On Tue, Aug 7, 2012 at 2:05 AM, Ethan Furman et...@stoneleaf.us wrote: John Mordecai Dildy wrote: I am currently using python 2.6 and am not going to install the newer versions of python and i am looking for people that are still using ver 2.6 in python to help with with the code line:

Python IDE/text-editor

2011-04-15 Thread Alec Taylor
in advance for any suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE/text-editor

2011-04-15 Thread Alec Taylor
is something I do often). Please continue your recommendations. Thanks, Alec Taylor On Sat, Apr 16, 2011 at 3:29 PM, John Bokma j...@castleamber.com wrote: Ben Finney ben+pyt...@benfinney.id.au writes: Alec Taylor alec.tayl...@gmail.com writes: I'm looking for an IDE which offers syntax

Re: Python IDE/text-editor

2011-04-16 Thread Alec Taylor
IDLE loses syntax highlighting annoyingly often, and interpreter isn't embedded. Boa Constructor gave errors on installation (keys). Komodo might be good, however isn't free nor can't be run from USB :( On Sat, Apr 16, 2011 at 4:31 PM, CM cmpyt...@gmail.com wrote: On Apr 16, 1:43 am, Alec

Re: Python IDE/text-editor

2011-04-17 Thread Alec Taylor
finding the right preference to change in settings than anything else!) Kate I haven't tried yet... it's currently downloading. On Sun, Apr 17, 2011 at 3:05 AM, Terry Reedy tjre...@udel.edu wrote: On 4/16/2011 3:03 AM, Alec Taylor wrote: IDLE loses syntax highlighting annoyingly often Could

Re: Python IDE/text-editor

2011-04-18 Thread Alec Taylor
assignments to start and finish so would like a simple Notepad2 with python interpreter attached (and keyboard shortcut to run script) type program. Please continue recommending Thanks, Alec Taylor On Mon, Apr 18, 2011 at 6:13 AM, Westley Martínez aniko...@gmail.com wrote: On Sun, 2011-04-17

Re: Python IDE/text-editor

2011-04-18 Thread Alec Taylor
and/or fixes for the above Cons. Thanks, Alec Taylor FYI: I can't test Kate, as all the mirrors I've tried have no files on them. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE/text-editor

2011-04-18 Thread Alec Taylor
and/or fixes for the above Cons. Thanks, Alec Taylor FYI: I can't test Kate, as all the mirrors I've tried have no files on them. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE/text-editor

2011-04-18 Thread Alec Taylor
for a beginner like myself... so I'll continue looking at the competition. Please continue with your recommendations. Thanks, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Teaching Python

2011-04-19 Thread Alec Taylor
Author Series Lectures Slides/Documentation Assignments Difficulty MIT A Gentle Introduction to Programming Using Python on iTunes U http://itunes.apple.com/us/itunes-u/introduction-to-computer-science/id341597455 http://stuff.mit.edu/iap/python/

Re: Teaching Python

2011-04-19 Thread Alec Taylor
Here are a few tutorials which may be helpful for notes etc: Author,Series,Lectures,Slides/Documentation,Assignments,Difficulty MIT,A Gentle Introduction to Programming Using Python,on iTunes

Re: Terrible FPU performance

2011-04-26 Thread Alec Taylor
What's an FPU? On Tue, Apr 26, 2011 at 11:40 PM, Mihai Badoiu mbad...@gmail.com wrote: Hi, I have terrible performance for multiplication when one number gets very close to zero.  I'm using cython by writing the following code:     cdef int i     cdef double x = 1.0     for 0 = i 1000:

Re: Python IDE/text-editor

2011-04-27 Thread Alec Taylor
, embedded interpreter, syntax-highlighting and code-completion. Thanks for all the suggestions, glad I found the right one! Cheers, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: Deditor

2011-04-27 Thread Alec Taylor
Thanks, any plans for a Windows version? On Thu, Apr 28, 2011 at 1:53 AM, Kruptein darragh@gmail.com wrote: Hey, I released a new version (0.2.5) of my pythonic text-editor called Deditor. It is a text-editor aimed to fasten your python development. (it perfectly handels other

Re: Deditor

2011-04-27 Thread Alec Taylor
-completion? Well actually I have a working version of deditor for windows! it is 0.2.4 though I will do my best to release a windows version asap :) -- http://mail.python.org/mailman/listinfo/python-list Thanks for the speedy reply, Alec Taylor -- http://mail.python.org/mailman/listinfo

Re: Python IDE/text-editor

2011-04-28 Thread Alec Taylor
Your probably right. I suppose I'll just wait till I finish my fooIDE project On Fri, Apr 29, 2011 at 2:21 AM, Albert van der Horst alb...@spenarnc.xs4all.nl wrote: In article mailman.511.1303137613.9059.python-l...@python.org, Alec Taylor  alec.tayl...@gmail.com wrote: Geany I've tried

Re: IDLE lost from Windows menu !

2011-04-28 Thread Alec Taylor
Search for the following key in regedit: HKEY_CLASSES_ROOT\*\shell Right click on “shell”, choose create new key. Name it “Edit with IDLE Create a new key below that one and call it “command.” Now double click on the (Default) value that you will find in the right hand pane, and type in the

Re: Deditor

2011-04-29 Thread Alec Taylor
I'll create an installer or two (an NSIS or InnoSetup .exe and an MSI) if you like, once you've released the windows version. On Fri, Apr 29, 2011 at 6:16 AM, Kruptein darragh@gmail.com wrote: On 28 apr, 07:46, jmfauth wxjmfa...@gmail.com wrote: On 27 avr, 19:22, Alec Taylor alec.tayl

Re: Deditor

2011-05-01 Thread Alec Taylor
Maybe I'm missing something, but I downloaded the zip file and ran each .py and .pyc file in turn, but none brought up the nice deditor GUI I've seen screenshots of... On the other subject, did you have a preference to what installer I should code for it? - InnoSetup (exe), NSIS (exe) or MSI

Re: What other languages use the same data model as Python?

2011-05-01 Thread Alec Taylor
I think ruby does On Sun, May 1, 2011 at 6:45 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Python uses a data model of name binding and call by object (also known as call by sharing). I trust I don't need to define my terms, but just in case:

Re: Python IDE/text-editor

2011-05-01 Thread Alec Taylor
!!! =] http://code.google.com/p/fooide Contact me if you'd like to join the project :D On Mon, May 2, 2011 at 1:39 AM, Yico Gaga trevita2...@gmail.com wrote:   foolDE :)!!! 2011/4/29 Alec Taylor alec.tayl...@gmail.com Your probably right. I suppose I'll just wait till I finish my fooIDE

Re: Deditor

2011-05-01 Thread Alec Taylor
:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py, line 4, i n module import _core_ ImportError: DLL load failed: %1 is not a valid Win32 application. On Mon, May 2, 2011 at 12:33 AM, Kruptein darragh@gmail.com wrote: On 1 mei, 10:59, Alec Taylor alec.tayl...@gmail.com wrote: Maybe I'm

Re: Deditor

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

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 tacyt1...@gmail.com 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

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 jus...@zeusedit.com wrote: On Apr 16, 1:20 pm, Alec Taylor alec.tayl...@gmail.com wrote: I'm looking for an IDE which offers syntax-highlighting

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

2014-02-20 Thread Alec Taylor
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: 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 snor...@hotmail.com wrote: On Nov 17, 4:31 pm, Irmen de Jong ir...@-nospam-razorvine.net wrote: On 17-11-2011 5:17, snorble wrote: I'm writing a tool for monitoring the workstations and servers in

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 wolftra...@invalid.com 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

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,

Re: ProgressBar - Python and Powershell

2011-11-20 Thread Alec Taylor
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, 2011 7:22 PM To: Badjatya, Nikunj Cc: python-list

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) brennospamb...@nobrenspambarn.net 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

Re: ProgressBar - Python and Powershell

2011-11-21 Thread Alec Taylor
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, Nikunj Subject: Re: ProgressBar - Python and Powershell

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 date

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

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 jehugalea...@gmail.com 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.

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

2011-11-29 Thread Alec Taylor
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 郭军权 guojunq...@gmail.com: 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 arno...@gmail.com wrote: On Nov 30, 2011 6:21 AM, 郭军权 guojunq...@gmail.com wrote: Good after     I have a string  liststr = '[,,ccc]' ,and I need convert it to a list like list = 

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 ian.g.ke...@gmail.com wrote: On Wed, Nov 30, 2011 at 8:19 AM, Alec Taylor alec.tayl...@gmail.com wrote: Good evening, I have defined a new numbering structure for certain mathematical advantages. How do I implement this in Python, or would I

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 ian.g.ke...@gmail.com wrote: On Wed, Nov 30, 2011 at 9:26 AM, Alec Taylor

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 ben+pyt...@benfinney.id.au wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: On Wed, 30 Nov 2011 17:12:10 -0500, Terry Reedy wrote: I

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 r...@panix.com wrote: In article mailman.3188.1322714125.27778.python-l...@python.org,  Alec Taylor alec.tayl...@gmail.com wrote: Sure, I'll give you some pointers: 0x3A28213A 0x6339392C 0x7363682E What, no 0xDEADBEEF ??? -- http

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

  1   2   3   >