Re: Synchronise annotations -> docstring

2024-09-15 Thread AJ via Python-list
On 9/4/24 00:21, r...@zedat.fu-berlin.de wrote: Albert-Jan Roskam wrote or quoted: Are there any tools that check whether type annotations and Numpydoc strings are consistent? According to one webpage, the "sphinx-autodoc-typehints" extension lets you roll with Python 3 annotations for docu

[job] multiple openings for CS, CE, EE, IT majors / graduates

2011-08-03 Thread AJ ONeal
ted C (as if it were a programming language) - enjoys regex - has used C and written a queue of some sort - has used wireshark to examine traffic - is familiar with one of node.js, python / twisted, ruby / eventmachine, go, erlang AJ ONeal -- http://mail.python.org/mailman/lis

Presentation: Offline (iPhone) Web Apps - Thurs 7pm in Lindon @ CORDA

2011-03-02 Thread AJ ONeal
/ Android / MIDs Bring a laptop and an Android, iPhone, iPad, whatever, and let's have an awesome meeting tomorrow! 7pm - 9pm CORDA Technologies, Inc. 350 South 400 West, Suite 100 Lindon, UT 84042 AJ ONeal (317) 426-6525 -- http://mail.python.org/mailman/listinfo/python-list

MediaTags - exporting m4a, id3, exiv, etc as JSON

2010-11-25 Thread AJ ONeal
nions of others who would use these tools. http://pledgie.com/campaigns/14039 The m4atags utility is now complete. Here's an example of the usage / output: http://coolaj86.info/articles/example-of-verbose-output-from-mediatags.html AJ ONeal -- http://mail.python.org/mailman/listinfo/python-list

MediaTags - exporting m4a, id3, exiv, etc as JSON (YAML)

2010-11-25 Thread AJ ONeal
nions of others who would use these tools. http://pledgie.com/campaigns/14039 The m4atags utility is now complete. Here's an example of the usage / output: http://coolaj86.info/articles/example-of-verbose-output-from-mediatags.html AJ ONeal -- http://mail.python.org/mailman/listinfo/python-list

Stream Audio to Web Clients

2010-09-16 Thread AJ ONeal
I'm looking for an example (perhaps with red5) for this scenario: 1. I install some server tools on my ubuntu box 2. I place an mp3 and an m4a in a special location 3. I click a play button on a web page and both songs play in random order AJ ONeal -- http://mail.python.org/mailman/lis

Re: make install DESTDIR

2010-08-24 Thread aj
On Aug 23, 10:52 pm, "Martin v. Loewis" wrote: > > Thanks Martin. That seems to work. I will file a bug report. Also, can > > you describe what the problem was? > > If you have / as the prefix, you get two leading slashes, e.g. for > //lib/python2.x. Any other prefix would have given you only a si

Re: make install DESTDIR

2010-08-23 Thread aj
On Aug 23, 2:23 pm, "Martin v. Loewis" wrote: > > Martin- Asking for help :) > > Ok. Please try the patch below. > > If this works, please make a bug report. > > Regards, > Martin > > Index: Lib/distutils/util.py > === > --- Lib/distu

Re: make install DESTDIR

2010-08-23 Thread aj
Thanks for reply Thomas. I am running make install DESTDIR=/home/foo/ bar. Martin- Asking for help :) On Aug 21, 4:43 am, "Martin v. Loewis" wrote: > > The whole point of DESTDIR is that it should be prepended to all > > installed paths, but the binaries should not contain any references to > > i

Re: make install DESTDIR

2010-08-20 Thread aj
On Aug 20, 4:39 pm, Thomas Jollans wrote: > On Saturday 21 August 2010, it occurred to aj to exclaim: > > > I am trying to install python with make install DESTDIR=/home/blah > > >                 --prefix=/ > > ... > > > creating /lib/python2.6 > &g

make install DESTDIR

2010-08-20 Thread aj
I am trying to install python with make install DESTDIR=/home/blah ./python -E ./setup.py install \ --prefix=/ \ --install-scripts=//bin \ --install-platlib=//lib/python2.6/lib-dynload \ --root=//home/blah running install running buil

Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread AJ
when i found his nasty response. So I think i'll just > keep it for me self now. Good luck AJ. ;-) Thank you. Do not let it get to you. There are some people like that. If you have an idea or need help do not be distracted by this. Just post it and hope someone can help you. This is more be

Re: Tkinter Label alignment problem using OS 10.6

2010-07-31 Thread AJ
On Jul 31, 12:55 am, Peter Otten <__pete...@web.de> wrote: > AJ wrote: > > I have written a sample program that ran correctly with earlier than > > Mac OS 10.6. The answer field Label does not align correctly. I > > downloaded the latest Python 2.7 release but still di

Re: Tkinter Label alignment problem using OS 10.6

2010-07-30 Thread AJ
On Jul 30, 5:07 pm, rantingrick wrote: > On Jul 30, 6:52 pm, AJ wrote: > > > Dear users, > > > I have written a sample program that ran correctly with earlier than > > Mac OS 10.6. The answer field Label does not align correctly. I > > downloaded the latest Pyt

Tkinter Label alignment problem using OS 10.6

2010-07-30 Thread AJ
Dear users, I have written a sample program that ran correctly with earlier than Mac OS 10.6. The answer field Label does not align correctly. I downloaded the latest Python 2.7 release but still did not solve the problem. Look for line "L4.place(relx=0.32,rely=0.56, anchor=W)" #!/usr/bin/env py

Django (and Pylons) HTML Form Objects & Arrays

2010-01-13 Thread AJ ONeal
Do Django and Pylons use templates which map forms in the php / ruby manner (generally speaking)? AJ ONeal (317) 426-6525 -- http://mail.python.org/mailman/listinfo/python-list

Re: Accessing python from a network share in windows 7

2010-01-11 Thread aj
On Jan 9, 3:55 am, Anssi Saari wrote: > aj writes: > > I access python from a network share. This works fine on XP but on > > windows 7 it throws the following error: > > > Python 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit > > (Intel)] on > &g

Re: Accessing python from a network share in windows 7

2010-01-07 Thread aj
On Jan 7, 3:51 pm, MRAB wrote: > aj wrote: > > I access python from a network share. This works fine on XP but on > > windows 7 it throws the following error: > > > Python 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit > > (Intel)] on > > win32 &g

Accessing python from a network share in windows 7

2010-01-07 Thread aj
I access python from a network share. This works fine on XP but on windows 7 it throws the following error: Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import random Traceback (most

Acceesing python httplib2 over a network share in windows 7

2009-12-18 Thread aj
I am trying to run python from a network share on windows 7. The network share is T: >t:\python-2.6.1\python Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import httpl

Python SSL Client Authentication

2009-10-02 Thread AJ Mayorga
I have been able to use the ssl module in Python 2.6 to setup a server that requires The client to authenticate via an x509 certificates, but I want to be able to override the client Authentication process or catch the exception so that I can do redirects etc. if the client authentication Fails.

error when compiling source on linux

2009-07-16 Thread aj
when I try to compile Python 2.6 from source code on ubuntu, I get the message /usr/bin/ld: cannot open output file python: Is a directory collect2: ld returned 1 exit status make: *** [python] Error 1 PLEASE HELP! -- http://mail.python.org/mailman/listinfo/python-list

RE: Imports in python are static, any solution?

2009-04-13 Thread AJ Mayorga
m = myMath() X = m.SubAandB() Y = m.AddCandB() Z = m.MultiplyXbyA(32) Keeps your vars in a safer easier to handle, debug, and change kinda way Good luck AJ -Original Message- From: python-list-bounces+aj=xernova@python.org [mailto:python-list-bounces+aj=xernova@python.org] On

Python inside C++

2009-04-13 Thread AJ Mayorga
them do not have python and I cannot install it as part of my application. Any Ideas? AJ -- http://mail.python.org/mailman/listinfo/python-list

Re: decimal to string conv

2009-02-27 Thread Aj
On Feb 27, 10:58 am, Chris Rebert wrote: > On Fri, Feb 27, 2009 at 1:45 AM, Aj wrote: > > Hi all, > > > I am trying to convert a list to string. > > example [80, 89,84,72,79,78,0] is my input. I could make it to just > > [0x50,0x59,0x54,0x48,0x4F,0x4E,0x00].

decimal to string conv

2009-02-27 Thread Aj
s? it will be really helpful to me. dont bang me if its already being asked. I just 'dived' into python yesterday. cheers Aj. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python-list Digest, Vol 64, Issue 697

2009-01-31 Thread AJ Ostergaard
AJ Ostergaard wrote: I'm not suggesting it's not operating as advertised - I'm suggesting the 'advertising' is slightly sguiffy if you catch my drift. I guess it's just me that finds it slightly counter intuitive. Surely intuitively the expression is "and&

Re: Empty string is False right?

2009-01-31 Thread AJ Ostergaard
should always return a boolean? I'll shut up now. ;) AJ On 31 Jan 2009, at 12:27, Vlastimil Brom wrote: 2009/1/31 AJ Ostergaard : Hi Ralf, Thanks for that but why: '' and True '' Surely that should be False?!? Regards, AJ see the docs: http://docs.python.org

Re: Empty string is False right?

2009-01-31 Thread AJ Ostergaard
Hi Ralf, Thanks for that but why: >>> '' and True '' Surely that should be False?!? Regards, AJ On 31 Jan 2009, at 12:12, Ralf Schoenian wrote: AJ Ostergaard wrote: Hello, First post so bear with me if I'm being a numpty ... Is it me or is there someth

Empty string is False right?

2009-01-31 Thread AJ Ostergaard
Hello, First post so bear with me if I'm being a numpty ... Is it me or is there something slightly counter intuitive and thus not so pythonesque about this: >>> s = '' >>> if s: True ... else: False ... False >>> s and eval(s) '' >>