Re: IP address to binary conversion

2020-05-09 Thread al . alexiev
Hi Alan, Yes, agreed that any '!I' or '!L' combination will work on different type of platforms in a consistent manner, when applied in both directions. I was referring to Alex Martelli's output, where the conversion back to IP seems to be reversed, even with '!L', which means that he's already

Re: IP address to binary conversion

2020-05-08 Thread al . alexiev
Just for the records and to have a fully working bidirectional solution: >>> ip '10.44.32.0' >>> struct.unpack('L', socket.inet_aton(ip))[0] 2108426 >>> socket.inet_ntoa(struct.pack('>> Good luck ;-) -- https://mail.python.org/mailman/listinfo/python-list

Re: No registration confirmation at https://bugs.python.org/

2016-10-17 Thread Al Schapira
No spam or junk on either email client or server. On Sun, 2016-10-16 at 11:20 +1100, Steve D'Aprano wrote: > On Sun, 16 Oct 2016 07:09 am, Al Schapira wrote: > > > > > I have tried to register at   https://bugs.python.org/  over a > > period > > of m

No registration confirmation at https://bugs.python.org/

2016-10-15 Thread Al Schapira
I have tried to register at   https://bugs.python.org/  over a period of many months, and I never receive the confirmation email to complete the process.  Who can help with this?  Thanks.   --Al -- https://mail.python.org/mailman/listinfo/python-list

Logging to a file from a C-extension

2015-08-18 Thread Al Pfalzgraf
If a logging file is opened at the level of a Python application, how would the log file name be communicated to a C-extension so that logging from the extension would be sent to the same log file? -- https://mail.python.org/mailman/listinfo/python-li

Re: pgs4a fails to build

2014-09-21 Thread aws Al-Aisafa
Yes I've followed and installed everything -- https://mail.python.org/mailman/listinfo/python-list

pgs4a fails to build

2014-09-21 Thread aws Al-Aisafa
Hi everyone. So I have this problem with building with pgs4a. when I try to build I always end with this error: /home/aws/Desktop/pgs4a-0.9.6/android-sdk/tools/ant/build.xml:483: SDK does not have any Build Tools installed. could you please help me? Thank you in advance. -- https://mail.python.

Re: Python reading and writing

2014-06-27 Thread aws Al-Aisafa
Thanks man. -- https://mail.python.org/mailman/listinfo/python-list

Python reading and writing

2014-06-27 Thread aws Al-Aisafa
Why doesn't this code work? http://pastebin.com/A3Sf9WPu -- https://mail.python.org/mailman/listinfo/python-list

Is there a way to creat a func that returns a cursor that can be used?

2012-11-12 Thread Khalid Al-Ghamdi
Is there a way to create a func that returns a cursor that can be used to execute sql statements? I tried this (after importing sqlite3), but it gave me the error below: >>> def connect(): conn = sqlite3.connect(':memory:')#use sch3.db or sch4.db etc. cur = conn.cursor() cur.e

Re: multiprocessing and Array problems

2012-04-12 Thread Al Niessner
to be able to pass b as an argument. The reason is that I create some of these in a loop and they are not in a global space nor are they know prior to creating the pool. On Thu, 2012-04-12 at 11:15 -0700, Al Niessner wrote: > I am not subscribed to these lists but I do check them occasionall

multiprocessing and Array problems

2012-04-12 Thread Al Niessner
;, line 225, in _handle_tasks put(task) PicklingError: Can't pickle : attribute lookup multiprocessing.sharedctypes.c_double_Array_9 failed Anyone want to take a stab as to why this error message is being generated? Again I have tried python 2.6.7, 2.7.2+, and 3.2.2. Thanks for any and all help in advance. -- Al

Jobs for developers

2012-01-25 Thread Rima Al-Sheikh
Hi There, We are looking to hire talented developers to join different teams.. The candidate should be willing to move to Dubai, United Arab Emirates. The developer must have: 1. Experience in OOP. 2. Strong algorithm thinking. 3. average SQL database design skills. 4. Experience dealing w

Re: Python based silent installer, how to?

2011-10-20 Thread Muhammad Bashir Al-Noimi
e to put .egg file? -- Best Regards Muhammad Bashir Al-Noimi My Blog: http://mbnoimi.net <>-- http://mail.python.org/mailman/listinfo/python-list

Re: Python based silent installer, how to?

2011-10-20 Thread Muhammad Bashir Al-Noimi
|-- _annotator_py.py . . SCRIPTS | |-- bzr |-- bzr-win32-bdist-postinstall.py -- Best Regards Muhammad Bashir Al-Noimi My Blog: http://mbnoimi.net <>-- http://mail.python.org/mailman/listinfo/python-list

Re: Python based silent installer, how to?

2011-10-20 Thread Muhammad Bashir Al-Noimi
s there any way for install them silently? Or is there any way for convert them to another format (ex. msi) in that way I can install them silently. -- Best Regards Muhammad Bashir Al-Noimi My Blog: http://mbnoimi.net <>-- http://mail.python.org/mailman/listinfo/python-list

Python based silent installer, how to?

2011-10-19 Thread Muhammad Bashir Al-Noimi
based installers has /S argument but I didn't find any reference for python based installers -- Best Regards Muhammad Bashir Al-Noimi My Blog: http://mbnoimi.net <>-- http://mail.python.org/mailman/listinfo/python-list

Re:[SOLVED] encoding issue (cp720)

2010-05-12 Thread M. Bashir Al-Noimi
Hi Lie, On 12/05/2010 12:14 م, Lie Ryan wrote: On 05/12/10 18:43, M. Bashir Al-Noimi wrote: Hi All, I'm still a newbie in Python (I started learn it yesterday) and I faced a huge problem cuz python always crashes because of encoding issue! Fatal Python error: Py_Initialize:

encoding issue (cp720)

2010-05-12 Thread M. Bashir Al-Noimi
I'm using: Windows XP SP3 32Bit, Python 3.1.2 * I tried to copy cp720.py <http://svn.python.org/view/python/trunk/Lib/encodings/cp720.py> to Python31\Lib\encodings but it didn't fix the issue and gives me an error message (see attachment plz) -- Best Regar

Re: Strangeness: Cannot write to a file from a process created by Windows Task Scheduler ...

2009-10-26 Thread Al Fansome
Do you "import time"? Sandy Walsh wrote: Hi there, Seeing some really weird behavior and perhaps someone has seen something similar: I have a python script that launches as a Windows Scheduled Task. The program simply opens a disk file and writes some text to it: --- f = open("waiting.txt

Re: How to schedule system calls with Python

2009-10-21 Thread Al Fansome
Jorgen Grahn wrote: On Fri, 2009-10-16, Jeremy wrote: On Oct 15, 6:32 pm, MRAB wrote: TerryP wrote: On Oct 15, 7:42 pm, Jeremy wrote: I need to write a Python script that will call some command line programs (using os.system). I will have many such calls, but I want to control when the c

Re: Extracting patterns after matching a regex

2009-09-09 Thread Al Fansome
Mart. wrote: On Sep 8, 4:33 pm, MRAB wrote: Mart. wrote: On Sep 8, 3:53 pm, MRAB wrote: Mart. wrote: On Sep 8, 3:14 pm, "Andreas Tawn" wrote: Hi, I need to extract a string after a matching a regular expression. For example I have the string... s = "FTPHOST: e4ftl01u.ecs.nasa.gov" and onc

Re: ruby -> python translator exists?

2008-12-26 Thread Al Snow
ntage of the coolio speed of Psyco. > > I have never heard of such translator, so far. > > > Also question. Does psyco work with Python 3.0? > > It doesn't work with Python3 and you may need lot of time to see it > come out... if you will ever see it. > > Bye, > be

Re: matrix algebra

2008-09-22 Thread Al Kabaila
Leslie. Michael Palmer wrote: > On Sep 22, 4:02 am, Al Kabaila <[EMAIL PROTECTED]> wrote: >> This is a very active newsgroup that incudes such giants as Frederik >> Lundh > > He looks rather small to me in this picture: > http://www.python.org/~guido/confpix/flundh-2.jpg

matrix algebra

2008-09-22 Thread Al Kabaila
repository nor does it have the current programs. OldAl. -- Al Kabaila (Dr) http://akabaila.pcug.org.au/StructuralAnalysis -- http://mail.python.org/mailman/listinfo/python-list

Re: Code example that will make a Skype connection?

2008-09-13 Thread Al Dykes
In article <[EMAIL PROTECTED]>, Marco Bizzarri <[EMAIL PROTECTED]> wrote: >On Sat, Sep 13, 2008 at 4:09 PM, Al Dykes <[EMAIL PROTECTED]> wrote: >> >> Can some post a Python code fragment that will to make a PC with Skpye >> installed to make a Skype call,

Re: Code example that will make a Skype connection?

2008-09-13 Thread Al Dykes
I guess, if I write a Python app that runs in a browser, I've solved my problem. I'm about to learn Python, so I haven't given any thought to how to do that. Thanks for the response. What would be picked for a portable Firebox-based app? -- Al Dykes News is somethin

Code example that will make a Skype connection?

2008-09-13 Thread Al Dykes
Can some post a Python code fragment that will to make a PC with Skpye installed to make a Skype call, given a valid phone # string. I'm not asking for code that handles the audio once the connection is made. -- Al Dykes News is something someone wants to suppress, everything el

Re: GUI programming with python

2008-09-12 Thread Al Dykes
d and pretty >cross-platform. OK, what are my choices for an IDE/GUI development tool that runs on XP? Thanks -- Al Dykes News is something someone wants to suppress, everything else is advertising. - Lord Northcliffe, publisher of the Daily Mail -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycron for windows - please help

2007-03-26 Thread Al
> Mapped drives are per-user. Usually, services run under the LOCAL_SYSTEM > account, not using the currently logged user (because they may start even > before any user is logged). If you want the service to have access to your > mapped drives, use the service control panel to make it run under an

Re: Pycron for windows - please help

2007-03-25 Thread Al
the Pycron service of course. I changed it to read copy \\servername\shares\foldername\*.* and now everything works correctly. Al -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycron for windows - please help

2007-03-20 Thread Al
heh... didn't think about that... thanks. -- http://mail.python.org/mailman/listinfo/python-list

Pycron for windows - please help

2007-03-19 Thread Al
re is no information on this in the readme.txt, at the pycron website, or here in groups. Does anyone know how to troubleshhot this? Thanks in advance. Al -- http://mail.python.org/mailman/listinfo/python-list

Re: Secret Technology of THERMATE and 911 Crime

2007-01-30 Thread Uncle Al
ww.mazepath.com/uncleal/sunshine.jpg Idiot. You don't know dick about incendiaries. -- Uncle Al http://www.mazepath.com/uncleal/ (Toxic URL! Unsafe for children and most mammals) http://www.mazepath.com/uncleal/lajos.htm#a2 -- http://mail.python.org/mailman/listinfo/python-list

Re: Megawidget Syntax (Tix)

2006-08-03 Thread Al in Dallas
Al in Dallas wrote: > I'm new to Python*. I am having trouble with the Tix NoteBook > megawidget. When I use a simpler megawidget, such as a ButtonBox, I can > add buttons by invoking > > .add ('button3', text='Retry') > > Unfortunately, with the N

Re: Working with Widget after Instance loses the reference

2006-08-01 Thread Al in Dallas
John McMonagle wrote: > On Mon, 2006-07-31 at 11:15 -0700, Al in Dallas wrote: [example of "losing" a widget] > Consider the following code run in the python shell: > > >>> from Tkinter import * > >>> r = Tk() > >>> b1 = Button(r, text=&

Working with Widget after Instance loses the reference

2006-07-31 Thread Al in Dallas
I made the mistake of creating an instance of a widget and assigning it to a name I'd already used. Now, if I use root.children or root.slaves(), I can see the "lost" widget, but can I do anything else with the string of numbers that shows up when I use root.children? I'd like to destory the widget

Megawidget Syntax (Tix)

2006-07-31 Thread Al in Dallas
I'm new to Python*. I am having trouble with the Tix NoteBook megawidget. When I use a simpler megawidget, such as a ButtonBox, I can add buttons by invoking .add ('button3', text='Retry') Unfortunately, with the Notebook, I need access to a subwidget, and all my attempts have led to error messag

Re: Exchanging data with a C program using shared memory (sysV IPC)

2006-06-29 Thread Al
"slacker" <[EMAIL PROTECTED]> writes: Hello slacker, > Al wrote: > >> I want my python application to communicate with an legacy C program which >> read/write data in a shared memory (Unix Sys V IPC). > > Have you looked at the dl module? Types and portab

Exchanging data with a C program using shared memory (sysV IPC)

2006-06-27 Thread Al
vance. --- Al -- http://mail.python.org/mailman/listinfo/python-list

Re: The Nature of the Unix Philosophy

2006-06-08 Thread Al Balmer
On 7 Jun 2006 18:35:52 -0700, "Xah Lee" <[EMAIL PROTECTED]> wrote: >The Nature of the “Unix Philosophy” Good grief. Him again. -- Al Balmer Sun City, AZ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Love :)

2006-03-12 Thread al pacino
Paddy wrote: > Spread the love - tell your Java freinds :-) well said paddy ! :-)) -- http://mail.python.org/mailman/listinfo/python-list

Re: GDI in python>?

2006-02-18 Thread al pacino
Thanks claudio, that should work out fine. -- http://mail.python.org/mailman/listinfo/python-list

GDI in python>?

2006-02-17 Thread al pacino
hi, is it possible to address the 'screen pixels' using python , like analogous to older dos( functions that graphics.h provides') or win api calls for gdi. what i want is to display clusters (in differetn colours) on screen using python. thanks. -- http://mail.python.org/mailman/listinfo/pyt

Re: Xah's Edu Corner: accountability & lying thru the teeth

2006-02-15 Thread Al Balmer
han your complaints about the complainers. I have no idea why anyone would defend such inane, worthless, obscenity-laced articles. -- Al Balmer Sun City, AZ -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: accountability & lying thru the teeth

2006-02-14 Thread Al Balmer
sonal >attacks from a Usenet chorus of self-appointed finger-shakers creating >more pollution than he ever did. > >If only some of the people castigating Xah for daring to use Usenet >would post as rarely as he, and show as much restraint. > Restraint? Now I know you haven't read it. -- Al Balmer Sun City, AZ -- http://mail.python.org/mailman/listinfo/python-list

Re: Tk.quit() now working!

2006-01-30 Thread al pacino
>how do you run your Tkinter program ? like? i was testing it in windows (interactive interpreter) -- http://mail.python.org/mailman/listinfo/python-list

Tk.quit() now working!

2006-01-29 Thread al pacino
i have a weired problem with button widget in Tkinter the callback function(Tk.quit()) for button widget is not working! when i 'press' the button the GUI hangs. code for displaying a 'button objec': ### import Tkinter top=Tkinter.Tk() button=Tkinter.Button(top,text='press me',comm

Re: Python vs C for a mail server

2006-01-28 Thread al pacino
jim you are probably right. i have had exp. with this. i had to create a server(multipurpose such as file sharing, games (pretty simple tho like tic tac toe..) we were in 6th sem with learning OS and comp. n/w for the first time. it seems like these jack ass jerks (proffs/instuctors) like to bull

Re: Python vs C for a mail server

2006-01-28 Thread al pacino
>but i am not able to choose the language.Should i go for C(socket API) Ravi is right (>using sockets is more or less the same from any language.) ..try JSP(java server pages), some guys in nit warangal implemented a mail server (foa LAN though)for their minor project. my contention is that usi

Re: sockets programming with python on mobile phones

2006-01-26 Thread al pacino
Thanks ! well..acutally this is siddharth dave i am a BIG al pacino fan ..(and before joning this grp i had just watched 'scent of a woman") hence this pun on myself!! neways thanks for replying ps: dear edwards watch 'scent of a woman' and u will forget 'doniie bros

sockets programming with python on mobile phones

2006-01-26 Thread al pacino
Hi everyone, Is it possible to write applications using sockets for network programming on MOBILE Phones( using Python on mobile phones such as nokia 66* series ) actually i want my mobile to 'TALK' to my pc 'WIRELESSLY' so i can send data between the two I think it works over the GPRS stack. P

Controlling Excel with win32com

2005-11-16 Thread Al Christians
other mechanism to keep things synchronized. What works best? TIA Al -- http://mail.python.org/mailman/listinfo/python-list

socket.error: (32, 'Broken pipe'): need help

2005-10-27 Thread Junhua Deng (AL/EAB)
Hi, I have a simple server-client application with threading. It works fine when both server and client on the same machine, but I get the following error message if the server is on another machine: ... ... self.socket.send(outgoingMsg) socket.error: (32, 'Broken pipe') I do not know where

Re: What about letting x.( ... ? ... ) be equivalent to ( ... x ... )

2005-10-09 Thread al
it. Hello, I never said there is a problem, since you can do whithout it. I just said that in some cases, it's better and cleaner to do it in another way, and also that this solution is a complement : it does not replace or break nothing. Regards, Al -- http://mail.python.org/mailman/listinfo/python-list

Re: What about letting x.( ... ? ... ) be equivalent to ( ... x ... )

2005-10-09 Thread al
rily to you, I'm very impressed by the compacity and elegance of the solution. I think it would be nice if implemented in different langages (because it breaks nothing), and firstly Python. Best regards, Al PS : sorry for my approximative english, but my natural langage is french. -- http://mail.p

Re: Code to read Cobol data files

2005-09-21 Thread Al Christians
and the way that the files are put together. But Python can handle it if you can figure out the rules. Al -- http://mail.python.org/mailman/listinfo/python-list

Re: PyChecker lives, version 0.8.15 released

2005-09-03 Thread Al Christians
ou run it on a substantial program. Like a few kilobytes per line of code, maybe. It's slow, too, but that's ok for the usefulness of it, but trying to let it run and do something else with someone else's code bloat (like MS Word or something) in another window leads to something indistinguishable from system meltdown. Any reason for hope of future improvements in this regard? Al -- http://mail.python.org/mailman/listinfo/python-list

Re: IronPython 0.9 Released

2005-08-07 Thread Al Christians
PITB to me that it says XP and not Win2000. Al -- http://mail.python.org/mailman/listinfo/python-list

suspected cPickle memory leak

2005-05-12 Thread Al Franz
ickle is no longer used from PyPar and now the code runs fine. -- Al Franz Computer Scientist Lawrence Livermore National Laboratory -- http://mail.python.org/mailman/listinfo/python-list

Re: ntvdm problem on win2k

2005-04-09 Thread Al Christians
python. It had something like python2.4.1.exe visible, but that symbolic link was not. No big deal. Al -- http://mail.python.org/mailman/listinfo/python-list

Re: ntvdm problem on win2k

2005-04-09 Thread Al Christians
does cygwin include a hidden file that hides python on the path? Al Christians wrote: I started having some problems running python programs (python 2.3) from the Win2k command line. I would get crashes with an NTVDM error. Even just executing python would cause it. I upgraded to python 2.3.5, an

ntvdm problem on win2k

2005-04-09 Thread Al Christians
is a possible problem with the programs? TIA Al -- http://mail.python.org/mailman/listinfo/python-list

Changing the Keyboard output

2005-03-20 Thread Abdul Hafiz al-Muslim
Hi, I am new to Python and still learning. I am looking for a way to change the keyboard output within Tkinter - for example, say I press "p" and I want to come out as "t". Could anyone point me in the right direction? AHaM -- http://mail.python.org/mailman/listinfo/python-list

Re: Working with Huge Text Files

2005-03-18 Thread Al Christians
uages could read or write them. For linux, you've gotta figure out the posix sort. If you do, please splain it to me. Al -- http://mail.python.org/mailman/listinfo/python-list

Re: Working with Huge Text Files

2005-03-18 Thread Al Christians
a binary search of a file over a gigabyte will fail if you calculate the next place to look as (a+b)/2, because a+b can be more than 2GB and overflow. You gotta do (a + (b-a)/2) Al -- http://mail.python.org/mailman/listinfo/python-list

Article on Hi-Fi Myths

2005-02-20 Thread Al Christians
. The conclusion is: "you just need to know what techniques to use to create a 'friendly', 'relaxing', energy pattern." Al -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Al Dykes
In article <[EMAIL PROTECTED]>, Dave Brueck <[EMAIL PROTECTED]> wrote: >Paul Rubin wrote: >> How would you go about building such a site? Is LAMP really the right >> approach? > >Two major problems I've noticed, don't know if they are universal, but they >sure >hurt the performance: > >1) Some

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Al Dykes
In article <[EMAIL PROTECTED]>, Tim Daneliuk <[EMAIL PROTECTED]> wrote: >Paul Rubin wrote: > >> Tim Daneliuk <[EMAIL PROTECTED]> writes: >> >>>I worked for an Airline computer reservation system (CRS) for almost a >>>decade. There is nothing about today's laptops that remotely comes close >>>to t

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Al Dykes
In article <[EMAIL PROTECTED]>, Tim Daneliuk <[EMAIL PROTECTED]> wrote: >Paul Rubin wrote: > > > >> I've only worked on one serious site of this type and it was "SAJO" >> (Solaris Apache Java Oracle) rather than LAMP, but the concepts are >> the same. I just feel like something bogus has to be go

Re: Best GUI for small-scale accounting app?

2004-12-23 Thread Al Christians
of a desktop app and features of a browser-based app, it's kind of pretty like a platypus. Platypus, penguin, or python, there's many a way to lay an egg. Al -- http://mail.python.org/mailman/listinfo/python-list