Re: Generators.

2009-12-07 Thread Taylor
On Dec 7, 1:29 pm, Jorge Cardona wrote: > 2009/12/7 Lie Ryan : > > > > > On 12/7/2009 7:22 AM, Jorge Cardona wrote: > > >> Hi, > > >> I was trying to create a function that receive a generator and return > >> a list but that each elements were computed in a diferent core of my > >> machine. I star

Designing a Pythonic search DSL for SQL and NoSQL databases

2013-07-19 Thread Alec Taylor
subset of PEP249, e.g.: `fetchone` and `fetchmany` Will open-source this once it's of sufficient functionality. What do you think? Advice on better design; or just feedback on what I've mentioned? Thanks, Alec Taylor PS: I am using Bottle. You'll note that some of the syntax I&#

Re: Designing a Pythonic search DSL for SQL and NoSQL databases

2013-07-19 Thread Alec Taylor
tages abstracting their differences creates. On Fri, Jul 19, 2013 at 10:49 PM, Roy Smith wrote: > In article , > Alec Taylor wrote: > >> Dear Python community, >> >> I am analysing designing an abstraction layer over a select few NoSQL >> and SQL databases. >> &g

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 wrote: > On Mon, Jun 25, 2012 at 1:16 AM, Jerry Rocteur > wrote: >> >> Hi, >> >> I pos

Re: OAuth 2.0 implementation

2012-07-05 Thread Alec Taylor
On Fri, Jul 6, 2012 at 12:06 AM, Demian Brecht 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 favourite web-framewo

Re: OAuth 2.0 implementation

2012-07-06 Thread Alec Taylor
have been untested > 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 fo

Re: OAuth 2.0 implementation

2012-07-06 Thread Alec Taylor
est. > > 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

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 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 libraries that are manipulated > to

Re: Intermediate Python user needed help

2012-08-06 Thread Alec Taylor
On Tue, Aug 7, 2012 at 2:05 AM, Ethan Furman 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: >> >> sentence =

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 wrote: > > On Sun, Sep 2, 2012 at 3:04 AM, Arnaud Delobelle wrote: > > Hi all, > > > > I'm looking for a way to run Lua scripts in Python, and

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 wrote: > And just a little more for you from: > > http://wiki.python.org/moin/Applications#A3D_CAD.2FCAM > > Thi

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 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 file to script. > My sc

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 wrote: > On 09/23/12 17:54, Steven D'Aprano wrote: > > On Sun, 23 Sep 2012 10:45:53 -0700, jimb

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 notice

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

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 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 enjoy taking p

Re: pydelicious documentation

2012-10-09 Thread Alec Taylor
lecode.com/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 wrote: > Does somebody know where

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 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 wrote: > This one I didn't know > Thanks you! > Prof. Dr. Andrés Soto > > > ________ > From: Alec Taylor > To: Andres Soto > Cc: "python-list@python.org"

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 wrote: > can we append a li

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 "", line 1, in TypeError: can only concatenate tuple (not "list") to tuple On Sun, Nov 4, 2012 at

Re: Yet another Python textbook

2012-11-22 Thread Alec Taylor
you so much. > > I 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 wrot

MVC web-framework with RESTfully Decoupled Views?

2012-12-07 Thread Alec Taylor
frameworks 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 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 doing >> thi

Re: Compiling native extensions with Visual Studio 2012?

2013-01-12 Thread Alec Taylor
Okay, got all extensions I require to compile successfully with MSVC 2012. Trick was using this fork: https://github.com/wcdolphin/py-bcrypt (See their issue log for traceback) =] On Sat, Jan 12, 2013 at 6:45 PM, Alec Taylor wrote: > There have been various threads for MSVC 2010[1][2],

Re: Compiling native extensions with Visual Studio 2012?

2013-01-12 Thread Alec Taylor
On Sun, Jan 13, 2013 at 1:34 AM, Christian Heimes wrote: > Am 12.01.2013 08:45, schrieb Alec Taylor: >> There have been various threads for MSVC 2010[1][2], but the most >> recent thing I found for MSVC 2012 was [3]… from 6 months ago. >> >> Basically I want to be able

Re: Algorithms in Python

2012-01-25 Thread Alec Taylor
The thing about algorithms is they are applicable to many programming languages (in general). Read http://en.wikipedia.org/wiki/Turing_machine On Wed, Jan 25, 2012 at 9:06 PM, Chetan Harjani wrote: > Is there any book or site on python algorithms which asks more and > teaches less, I don't want

autoconf error on Windows

2012-01-29 Thread Alec Taylor
\\setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps failed with error code 1 Full output: http://pastebin.com/Dp3aw077 How can I get PyCrypto to install? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: autoconf error on Windows

2012-01-29 Thread Alec Taylor
Thanks, but I already have MinGW installed and in PATH. C:\>where g++ C:\libraries\MinGW\bin\g++.exe C:\libraries\perl\c\bin\g++.exe On Sun, Jan 29, 2012 at 8:07 PM, Chris Rebert wrote: > On Sun, Jan 29, 2012 at 12:52 AM, Alec Taylor wrote: >> PyCrypto's install is giving an

Re: autoconf error on Windows

2012-01-29 Thread Alec Taylor
Thanks, adding MSYS's bin to PATH solved that issue. Now I'm getting linker errors on: C:\libraries\MinGW\bin\gcc.exe -mno-cygwin -shared -s build\temp.win-amd64-2.7\Release\src\winrand.o build\temp.win-amd64-2.7\Release\src\winrandom.def -LC:\Python27\libs -LC:\Python27\PCbuild\amd64 -lws2_32 -l

Linker errors when attempting to install PyCrypto

2012-02-03 Thread Alec Taylor
api32 -lpython27 -lmsvcr90 -o "C:\Projects\satchmo_test\Prototype\src\pycrypto\lib\Crypto\Random\OSRNG\winrandom.pyd" Full output: http://pastebin.com/SYBkFt3h How can I resolve installation issues to get PyCrypto install properly on Python 2.7.2 x64? Thanks for all suggestions, Alec

[Perl Golf] Round 1

2012-02-05 Thread Alec Taylor
One sentence can contain one or more strings next to each-other, which can be joined to make another word. e.g.: "to get her" == "together" "an other" == "another" "where about" == "whereabouts" &etc Solve this problem using as few lines of code as possible[1]. Good luck! [1] Don't use extern

PyCrypto builds neither with MSVC nor MinGW

2012-02-05 Thread Alec Taylor
://pastebin.com/yG3cbdZv Log2: http://pastebin.com/qvnshPeh Will there ever be support for newer MSVC versions? - Also, why doesn't even MinGW install PyCrypto for me? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: PyCrypto builds neither with MSVC nor MinGW

2012-02-05 Thread Alec Taylor
A 4 year old compiler? I also have MSVC11 installed. Can the python project add support for that so that we aren't waiting 5 years between compiler support? On Mon, Feb 6, 2012 at 2:23 AM, Christian Heimes wrote: > Am 05.02.2012 15:40, schrieb Alec Taylor: >> PIL, PyCrypto

Visual Studio 2010 Support

2012-02-06 Thread Alec Taylor
://pastebin.com/yG3cbdZv Log2: http://pastebin.com/qvnshPeh Will there ever be support for newer MSVC versions? - Also, why doesn't even MinGW install PyCrypto for me? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: PyCrypto builds neither with MSVC nor MinGW

2012-02-07 Thread Alec Taylor
#x27;s own place in PATH + system variables? I am asking because I don't know where it is looking for the MPIR library. Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: PyCrypto builds neither with MSVC nor MinGW

2012-02-08 Thread Alec Taylor
Thanks, but to get it to work with pip, wouldn't I need to add it to PATH? - Or can I just add those library args to pip? On Wed, Feb 8, 2012 at 9:48 PM, Case Van Horsen wrote: > On Tue, Feb 7, 2012 at 9:37 PM, Alec Taylor wrote: >> Thanks all for your replies. >> >>

Re: round down to nearest number

2012-02-10 Thread Alec Taylor
o.O Very nice On Fri, Feb 10, 2012 at 8:58 PM, Arnaud Delobelle wrote: > On 10 February 2012 06:21, Ian Kelly wrote: >> (3219 + 99) // 100 * 100 >>> 3300 >> (3289 + 99) // 100 * 100 >>> 3300 >> (328678 + 99) // 100 * 100 >>> 328700 >> (328 + 99) // 100 * 100 >>> 400 >>> >>> Thos

Re: generate Windows exe on Linux

2012-02-22 Thread Alec Taylor
http://www.pyinstaller.org/ or http://cx-freeze.sourceforge.net/ You can also run py2exe in WINE On Thu, Feb 23, 2012 at 4:42 AM, Jérôme wrote: > Wed, 22 Feb 2012 18:19:12 +0100 > Waldek M. a écrit: > >> On Wed, 22 Feb 2012 04:12:29 -0800 (PST), Plumo wrote: >> > I have a python script using o

Python math is off by .000000000000045

2012-02-22 Thread Alec Taylor
is this a bug? Thanks for all info, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Spacing and timing for comparing algorithms and data-structures

2012-03-01 Thread Alec Taylor
What would you recommend I use to compare data-structures and algorithms on space and time? (runtime) Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Porting the 2-3 heap data-structure library from C to Python

2012-03-07 Thread Alec Taylor
recommended method. Any best practices for how best to wrap the 2-3 heap data-structure from C to Python? Thanks for all suggestions, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

Re: PyCrypto builds neither with MSVC nor MinGW

2012-03-12 Thread Alec Taylor
vc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "C:\Python27\lib\distutils\msvc9compiler.py", line 299, in query_vcvarsall raise ValueError(str(list(result.keys( ValueError: [u'path'] On Wed, Feb 8, 2012 at 11:31 PM

Re: PyCrypto builds neither with MSVC nor MinGW

2012-03-12 Thread Alec Taylor
FYI: When running "vcvarsall" manually, I get a variety of linker errors, even though I have the SDK and everything else installed: running build_ext building 'Crypto.Random.OSRNG.winrandom' extension C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DND

Re: PyCrypto builds neither with MSVC nor MinGW

2012-03-12 Thread Alec Taylor
on _initwinrandom winrand.obj : error LNK2019: unresolved external symbol __imp__PyType_Type referenced in function _initwinrandom build\lib.win-amd64-2.7\Crypto\Random\OSRNG\winrandom.pyd : fatal error LNK1120: 21 unresolved externals error: command '"C:\Program Files (x86)\Microsoft Visual

Re: PyCrypto builds neither with MSVC nor MinGW

2012-03-12 Thread Alec Taylor
Nope, I have C:\Python27 (and C:\Python27\Scripts) in my PATH. C:\workingdir\pycrypto>where python C:\Python27\python.exe On Tue, Mar 13, 2012 at 4:44 PM, Case Van Horsen wrote: > On Mon, Mar 12, 2012 at 9:57 PM, Alec Taylor wrote: >> Hmm, I just tried that method, but the outp

Re: PyCrypto builds neither with MSVC nor MinGW

2012-03-14 Thread Alec Taylor
Oh wait, just realised it was loading the (x86) tools. Doing a quick search I noticed that I didn't have the x64 components installed, so loading up the MSVC08 setup again and installing it, then: copying vcvarsamd64.bat to vcvarsall.bat and adding its directory (C:\Program Files (x86)\Microsoft Vi

Re: Python is readable

2012-03-15 Thread Alec Taylor
On Fri, Mar 16, 2012 at 1:06 AM, Mark Lawrence wrote: > Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. > with open("filename", "w") as f >  File "", line 1 > >    with open("filename

Re: Python is readable

2012-03-15 Thread Alec Taylor
On Fri, Mar 16, 2012 at 1:16 AM, Kiuhnm wrote: > On 3/15/2012 13:21, Chris Angelico wrote: >> >> On Thu, Mar 15, 2012 at 10:59 PM, Kiuhnm >>  wrote: >>> >>> On 3/15/2012 12:47, Chris Angelico wrote: It's a little odd, perhaps, if seen in a vacuum. But everything counts from zero -

Templated rich-text egg

2012-03-23 Thread Alec Taylor
me to do the aforementioned. Thanks for all recommendations, Alec Taylor -- http://mail.python.org/mailman/listinfo/python-list

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

How would I go about building an API converter?

2012-05-02 Thread Alec Taylor
of problem Slumber <http://slumber.in/> with TastyPie<http://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
r all 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 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 wil

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 can

Re: which book?

2012-05-08 Thread Alec Taylor
plot issues? On Wed, May 9, 2012 at 4:16 AM, 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 -- http://mail.python.org/mailman/listinfo/python-l

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 authenticationwith API-keylicensing to access data of specific users - A

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" 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 error: "No such

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 Line

Python web-framework+db with the widest scalability?

2012-05-14 Thread Alec Taylor
g. Django, 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
n, forced redirects 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 snip

python View Controller for decoupled website architectures?

2012-06-03 Thread Alec Taylor
an you show me some 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 wrote: > 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 wrote: > Hello! > > I wish to properly cite Python in an academic paper I am writing. > > Is there a preferred document etc to c

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 wrote: > Mark Livingstone writes: > > > I

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 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 choice...I like Visua

Re: What Programing Language are the Largest Website Written In?

2011-08-12 Thread Alec Taylor
C++ (Wt xor CppCMS) WOOT! On Sat, Aug 13, 2011 at 1:58 AM, Tim Bradshaw wrote: > On 2011-08-02 15:41:06 +0100, ccc31807 said: > >> >> Most of these are tech companies. Tech companies are very important, >> but so are other kinds of companies. What do manufacturing companies >> use, like Ford and

Re: List spam

2011-08-18 Thread Alec Taylor
5963 unread emails. Thanks python-list + other mailing-lists! My recommendation to you is to setup a different account for your mailing-lists. Alternatively setup some mail rules. On Fri, Aug 19, 2011 at 3:46 AM, Chris Angelico wrote: > On Thu, Aug 18, 2011 at 3:37 PM, Ghodmode wrote: >> Make

Re: Word Perfect integration

2011-08-18 Thread Alec Taylor
wow, people still use WordPerfect? On Fri, Aug 19, 2011 at 2:51 AM, John Gordon wrote: > In Ethan Furman > writes: > >> I have WordPerfect v13 which we are currently using for letter merges. >> I would like to automate this with Python instead of learning the WP >> Macro language. > > I suspec

Re: Word Perfect integration

2011-08-19 Thread Alec Taylor
:P Personally, I use LaTeX, which fits all my requirements. On Fri, Aug 19, 2011 at 5:24 AM, Ethan Furman wrote: > Alec Taylor wrote: >> >> wow, people still use WordPerfect? > > Them's fightin' words right there!  :) > > Yes, we still use Word Perfect, and

Re: Stop quoting spam [was Re: Hot Girls ...]

2011-08-20 Thread Alec Taylor
On Sat, Aug 20, 2011 at 9:24 AM, Albert W. Hopkins wrote: > > > On Friday, August 19 at 17:12 (-0400), Matty Sarro said: > >> >> If you're that offended then spend the cycles fixing the damn list so >> it >> stops having so much spam. You realize spam comes in almost >> constantly, >> right? Enoug

Re: Python Windows Extensions for Mac

2011-08-21 Thread Alec Taylor
Perhaps you'd be better off with something like RunDeck (Free, Open-Source, Cross-Platform, CopyLeft) for this kind of problem. On Sun, Aug 21, 2011 at 5:30 PM, Chris Angelico wrote: > On Sun, Aug 21, 2011 at 6:38 AM, Johnny Venter wrote: >> Yes, I want to make my queries from a remote non-Windo

Re: Python IDE/Eclipse

2011-08-28 Thread Alec Taylor
Editra On Sun, Aug 28, 2011 at 5:56 PM, flebber wrote: > On Aug 27, 6:34 pm, UncleLaz wrote: >> On Aug 26, 5:18 pm, Dave Boland wrote: >> >> >> >> >> >> >> >> >> >> > I'm looking for a good IDE -- easy to setup, easy to use -- for Python. >> >   Any suggestions? >> >> > I use Eclipse for other

Re: Looking for open-source Python projects to help out with

2011-09-07 Thread Alec Taylor
Hi Tyler, I'm currently working on building a new kind of social-network for Users-Groups, Game-Clans & Student-Groups. Building it using DJango with Pinax. Detailed Feature-Set (planned): • Event management • Conference management (including ticketing with payment-gateway integration) • Video+A

Re: Looking for open-source Python projects to help out with

2011-09-07 Thread Alec Taylor
09:51 PM Alec Taylor wrote: >> Hi Tyler, >> >> I'm currently working on building a new kind of social-network for >> Users-Groups, Game-Clans & Student-Groups. >> >> Building it using DJango with Pinax. >> >> Detailed Feature-Set (planned): >

Re: Looking for open-source Python projects to help out with

2011-09-07 Thread Alec Taylor
Accessibility? Hmm, you could look at http://groups.google.com/group/django-users/browse_thread/thread/44a4dbf8771e0f4f (https://groups.google.com/forum/#!topic/django-users/RKTb-HceD08) On Thu, Sep 8, 2011 at 1:12 AM, Eric Snow wrote: > On Tue, Sep 6, 2011 at 8:19 PM, Littlefield, Tyler > wro

Python IDE/text-editor

2011-04-15 Thread Alec Taylor
end? Thanks 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
something I do often). Please continue your recommendations. Thanks, Alec Taylor On Sat, Apr 16, 2011 at 3:29 PM, John Bokma wrote: > Ben Finney writes: > >> Alec Taylor writes: >> >>> I'm looking for an IDE which offers syntax-highlighting, >>> code-comp

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 wrote: > On Apr 16, 1:43 am,

Re: Python IDE/text-editor

2011-04-17 Thread Alec Taylor
user-friendly. None I've found to have a big learning curve (more about 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 wrote: > On 4/16/2011 3:03 AM, Ale

Re: Python IDE/text-editor

2011-04-18 Thread Alec Taylor
However, currently have 3 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 wrote: > On Su

Re: Python IDE/text-editor

2011-04-18 Thread Alec Taylor
n IDEs 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
DEs 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
specially 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/ http://ocw.mit.edu/courses/electrical-engi

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 Uÿhttp://itunes.apple.com/us/itunes-u/introduction-to-computer-science/id341597455,http://stuff.mit.edu/i

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 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-26 Thread Alec Taylor
o run code, 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 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 languages too) > Some f

Re: Deditor

2011-04-27 Thread Alec Taylor
preter, and that there's code-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/python-list

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 > wrote: >> In article , >> Alec Taylor   wrote: >>>Geany I've tried in the past, it's really buggy on my home computer

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 fo

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 wrote: > On 28 apr, 07:46, jmfauth wrote: >> On 27 avr, 19:22, Alec Taylor wrote: >> >> &g

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 (.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 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: > > http://effbot.org/zone/call-by-object.htm > http://effbo

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 wrote: >   foolDE :)!!! > > 2011/4/29 Alec Taylor >> >> Your probably right. >> >> I suppose I'll just wait till I fini

Re: Deditor

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

  1   2   3   >