Re: Contact information for Jim Hugunin?

2013-07-27 Thread greymausg
On 2013-07-24, Albert Hopkins wrote: > On Mon, Jul 22, 2013, at 05:33 PM, Larry Hastings wrote: >> >> >> Does anybody have an email address (or anything, really) for Jim >> Hugunin? He left Google in May and appears to have dropped off the face >> of the internet. Please email me privately.

Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Devyn Collier Johnson
Linux systems with the proper software can use the "notify-send" command. Is there a cross-platform Python3 equivalent? Mahalo, Devyn Collier Johnson devyncjohn...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Chris “Kwpolska” Warrick
On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson wrote: > Linux systems with the proper software can use the "notify-send" command. Is > there a cross-platform Python3 equivalent? > > Mahalo, > > Devyn Collier Johnson > devyncjohn...@gmail.com > -- > http://mail.python.org/mailman/listinfo/

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Chris “Kwpolska” Warrick
Whoops! On Sat, Jul 27, 2013 at 1:30 PM, Chris “Kwpolska” Warrick wrote: > You already asked this on Thursday. And the answer is probably “no”. > Creating …a solution for this is not the easiest thing one can do. -- Chris “Kwpolska” Warrick PGP: 5EAAEA16 stop html mail |

Re: Best Python book(s) for a pre-teen?

2013-07-27 Thread aliencat777
Hi, "Start Here: Python 3x Programming Made Fun and Easier" is a very easy to understand beginners book. It also covers a basic introduction to software design, version systems, game logic and design, and packaging your first programs. I wrote this book originally for my two sons when I was hom

Re: Which is the best book to learn python

2013-07-27 Thread aliencat777
On Tuesday, January 25, 2011 1:09:31 AM UTC+8, sant wrote: > Hi All, > i am beginner to python please tell me which is the best available > reference for beginner to start from novice A great up to date beginner's book/course is "Start Here: Python 3x Programming, Made Fun and Easier." It introdu

Re: Q: "Best" book for teaching

2013-07-27 Thread aliencat777
On Wednesday, April 8, 2009 7:34:55 AM UTC+8, John Yeung wrote: > On Apr 6, 10:37 am, grkunt...@gmail.com wrote: > > I am considering teaching an "introduction to programming" > > course for continuing education adults at a local community > > college. These would people with no programming experie

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Devyn Collier Johnson
On 07/27/2013 07:30 AM, Chris “Kwpolska” Warrick wrote: On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson wrote: Linux systems with the proper software can use the "notify-send" command. Is there a cross-platform Python3 equivalent? Mahalo, Devyn Collier Johnson devyncjohn...@gmail.com

Re: My son wants me to teach him Python

2013-07-27 Thread aliencat777
Hi, I am an IT and Learning Research professor. I wrote a set of lessons that became a beginning programming book for my two sons. They loved it because is it was simple, hands on, and funny. It covers the basics of programming, introducing; software design, planning a game, making/getting free

Re: programming course

2013-07-27 Thread aliencat777
Hi, A good step by step easy book on Python is: "Start Here: Python 3x Programming Made Fun and Easier," at http://www.quantum-sight.com Aliencat -- http://mail.python.org/mailman/listinfo/python-list

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Chris Angelico
On Sat, Jul 27, 2013 at 1:22 PM, Devyn Collier Johnson wrote: > That really sucks. I was hoping Python had some way of doing that. All that > it needs to do is display a little box at one of the corners of the screen. > I thought someone would have implemented something by now. Thank you anyway.

Re: Critic my module

2013-07-27 Thread Devyn Collier Johnson
On 07/26/2013 10:48 PM, Steven D'Aprano wrote: As requested, some constructive criticism of your module. On Thu, 25 Jul 2013 09:24:30 -0400, Devyn Collier Johnson wrote: #!/usr/bin/python3 #Made by Devyn Collier Johnson, NCLA, Linux+, LPIC-1, DCTS What's NCLA, Linux+, LPIC-1, DCTS? Do these

Re: Understanding other people's code

2013-07-27 Thread Albert van der Horst
In article , Azureaus wrote: >On Friday, 12 July 2013 15:22:59 UTC+1, Azureaus wrote: > >To be fair to who programmed it, most functions are commented and I >can't complain about the messiness of the code, It's actually very tidy. >(I suppose Python forcing it's formatting is another reason it'

Re: Critic my module

2013-07-27 Thread Devyn Collier Johnson
On 07/26/2013 10:48 PM, Steven D'Aprano wrote: As requested, some constructive criticism of your module. On Thu, 25 Jul 2013 09:24:30 -0400, Devyn Collier Johnson wrote: #!/usr/bin/python3 #Made by Devyn Collier Johnson, NCLA, Linux+, LPIC-1, DCTS What's NCLA, Linux+, LPIC-1, DCTS? Do these

Re: Critic my module

2013-07-27 Thread Dave Angel
On 07/27/2013 09:19 AM, Devyn Collier Johnson wrote: About the aliases, I have tried setting pwd() as an alias for "os.getcwd()", but I cannot type "pwd()" and get the desired output. Instead, I must type "pwd". I tested this in Guake running Python3.3. >>> os.getcwd() '/home/collier'

Re: Critic my module

2013-07-27 Thread Chris “Kwpolska” Warrick
On Sat, Jul 27, 2013 at 3:19 PM, Devyn Collier Johnson wrote: > About the aliases, I have tried setting pwd() as an alias for "os.getcwd()", > but I cannot type "pwd()" and get the desired output. Instead, I must type > "pwd". I tested this in Guake running Python3.3. > os.getcwd() > '/home/c

Re: Understanding other people's code

2013-07-27 Thread Chris Angelico
On Sat, Jul 27, 2013 at 2:13 PM, Albert van der Horst wrote: > If the code is really tidy, it is possible to understand a function > using only the *documentation* (not the code itself) of any function > or data it uses. I'd broaden that slightly to the function's signature, which consists of the

Re: Critic my module

2013-07-27 Thread Devyn Collier Johnson
On 07/27/2013 09:35 AM, Dave Angel wrote: On 07/27/2013 09:19 AM, Devyn Collier Johnson wrote: About the aliases, I have tried setting pwd() as an alias for "os.getcwd()", but I cannot type "pwd()" and get the desired output. Instead, I must type "pwd". I tested this in Guake running

Re: Critic my module

2013-07-27 Thread Chris Angelico
On Sat, Jul 27, 2013 at 2:19 PM, Devyn Collier Johnson wrote: > About the aliases, I have tried setting pwd() as an alias for "os.getcwd()", > but I cannot type "pwd()" and get the desired output. Instead, I must type > "pwd". I tested this in Guake running Python3.3. > os.getcwd() > '/home/c

Re: Critic my module

2013-07-27 Thread Dave Angel
On 07/27/2013 08:56 AM, Devyn Collier Johnson wrote: Somehow during this thread, you have changed your purpose for this library. It used to be a library that Python programmers could import and use. And now, it's a shell replacement? The user runs the Python interpreter, and types

Re: Critic my module

2013-07-27 Thread Devyn Collier Johnson
On 07/27/2013 10:33 AM, Dave Angel wrote: On 07/27/2013 08:56 AM, Devyn Collier Johnson wrote: Somehow during this thread, you have changed your purpose for this library. It used to be a library that Python programmers could import and use. And now, it's a shell replacement? The u

Re: Critic my module

2013-07-27 Thread Jason Swails
You've gotten plenty of good advice from people discussing the coding and coding style itself, I'll provide some feedback from the vantage point of a perspective user. On Thu, Jul 25, 2013 at 9:24 AM, Devyn Collier Johnson < devyncjohn...@gmail.com> wrote: > Aloha Python Users! > >I made a P

Re: Critic my module

2013-07-27 Thread Chris Angelico
On Sat, Jul 27, 2013 at 3:53 PM, Devyn Collier Johnson wrote: > Would a Python3 game module be more useful? I plan to make a function that > rolls a die and prints the output (You got a 5) and other similar random > games. Taking someone else's module and learning to use it has a cost. Plus there

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Steven D'Aprano
On Sat, 27 Jul 2013 08:22:00 -0400, Devyn Collier Johnson wrote: > On 07/27/2013 07:30 AM, Chris “Kwpolska” Warrick wrote: >> On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson >> wrote: >>> Linux systems with the proper software can use the "notify-send" >>> command. Is there a cross-platfo

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Chris Angelico
On Sat, Jul 27, 2013 at 4:59 PM, Steven D'Aprano wrote: > On Sat, 27 Jul 2013 08:22:00 -0400, Devyn Collier Johnson wrote: >> That really sucks. I was hoping Python had some way of doing that. All >> that it needs to do is display a little box at one of the corners of the >> screen. I thought some

Re: Critic my module

2013-07-27 Thread Alister
On Sat, 27 Jul 2013 08:56:10 -0400, Devyn Collier Johnson wrote: > > Good point about the Made by/Copyright suggestion. Although, I have not > copyrighted the file, can I still say "Copyrighted by ...".-- There is no special process to Copyright anything. the simple act of writing it automatical

Re: Oxycodone without a prescription online with overnight delivery | buy Oxycodone no visa online without prescription

2013-07-27 Thread Laura Burt
Laura Burt 0400 954 448 -- http://mail.python.org/mailman/listinfo/python-list

Re: Critic my module

2013-07-27 Thread Dave Angel
On 07/27/2013 12:32 PM, Alister wrote: On Sat, 27 Jul 2013 08:56:10 -0400, Devyn Collier Johnson wrote: Good point about the Made by/Copyright suggestion. Although, I have not copyrighted the file, can I still say "Copyrighted by ...".-- There is no special process to Copyright anything. the

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Devyn Collier Johnson
On 07/27/2013 12:06 PM, Chris Angelico wrote: On Sat, Jul 27, 2013 at 4:59 PM, Steven D'Aprano wrote: On Sat, 27 Jul 2013 08:22:00 -0400, Devyn Collier Johnson wrote: That really sucks. I was hoping Python had some way of doing that. All that it needs to do is display a little box at one of t

Division and multiplication have a different behavior in the overflow case

2013-07-27 Thread Marco
In Python 3, when we hava a division and both the result and at least one operand are too large to convert to float, we get an exception: >>> 2**1028 / 2**-2 Traceback (most recent call last): File "", line 1, in OverflowError: long int too large to convert to float When the

Re: Critic my module

2013-07-27 Thread Devyn Collier Johnson
On 07/27/2013 11:14 AM, Jason Swails wrote: You've gotten plenty of good advice from people discussing the coding and coding style itself, I'll provide some feedback from the vantage point of a perspective user. On Thu, Jul 25, 2013 at 9:24 AM, Devyn Collier Johnson mailto:devyncjohn...@gma

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Devyn Collier Johnson
On 07/27/2013 11:59 AM, Steven D'Aprano wrote: On Sat, 27 Jul 2013 08:22:00 -0400, Devyn Collier Johnson wrote: On 07/27/2013 07:30 AM, Chris “Kwpolska” Warrick wrote: On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson wrote: Linux systems with the proper software can use the "notify-s

Re: RE Module Performance

2013-07-27 Thread wxjmfauth
Le samedi 27 juillet 2013 04:05:03 UTC+2, Michael Torrie a écrit : > On 07/26/2013 07:21 AM, wxjmfa...@gmail.com wrote: > > sys.getsizeof('––') - sys.getsizeof('–') > > > > > > I have already explained / commented this. > > > > Maybe it got lost in translation, but I don't understand yo

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Kevin Walzer
On 7/27/13 6:58 AM, Devyn Collier Johnson wrote: Linux systems with the proper software can use the "notify-send" command. Is there a cross-platform Python3 equivalent? Mahalo, Devyn Collier Johnson devyncjohn...@gmail.com http://pythonhosted.org/gntp/ ? -- Kevin Walzer Code by Kevin/Mobile

Re: Division and multiplication have a different behavior in the overflow case

2013-07-27 Thread Terry Reedy
On 7/27/2013 1:48 PM, Marco wrote: In Python 3, when we hava a division and both the result and at least one operand are too large to convert to float, we get an exception: >>> 2**1028 / 2**-2 int/float gets converted to float/float and the int to float conversion is not possible. The re

Re: Is it that easy to install Python ?

2013-07-27 Thread wizzofozz
On 25-7-2013 17:11, santiago.d...@caoba.fr wrote: > Hi there, > > I never write any Python program but as a system administrator, I'm often > asked to install python on Debian servers. > > I just finished downloading, configuring, making and installing. > As a side note to all who have replied

python import module question

2013-07-27 Thread syed khalid
I am trying to do a "import shogun" in my python script. I can invoke shogun with a command line with no problem. But I cannot with a python import statement. >invoking python from a command line... Syedk@syedk-ThinkPad-T410:~/shogun-2.0.0/src/interfaces/cmdline_static$ shogun | mo

Re: python import module question

2013-07-27 Thread Chris Angelico
On Sun, Jul 28, 2013 at 12:15 AM, syed khalid wrote: > Syedk@syedk-ThinkPad-T410:~/shogun-2.0.0/src/interfaces/cmdline_static$ > shogun | more This implies that you have something called 'shogun', without an extension, in your $PATH. Where is the actual script? You may need to install it by a qu

PyQt5 and virtualenv problem

2013-07-27 Thread D. Xenakis
I tried to install SIP and PyQt5 using the pip install command but it didnt work on both cases (i was getting errors), so i finally installed them using the windows installers provided in riverbankcomputing website. My problem though here is that whenever i try to create a new virtualenv envirom

Thread is somehow interfering with a while loop called after the thread is started

2013-07-27 Thread dan . h . mcinerney
I have a simple scapy + nfqueue dns spoofing script that I want to turn into a thread within a larger program: http://www.bpaste.net/show/HrlfvmUBDA3rjPQdLmdp/ Below is my attempt to thread the program above. Somehow, the only way the while loop actually prints "running" is if the callback func

Re: Critic my module

2013-07-27 Thread Jason Friedman
> > >I made a Python3 module that allows users to use certain Linux shell > commands from Python3 more easily than using os.system(), > subprocess.Popen(), or subprocess.getoutput(). This module (once placed > with the other modules) can be used like this > > Looks similar to https://pypi.pytho

Re: RE Module Performance

2013-07-27 Thread Ian Kelly
On Sat, Jul 27, 2013 at 12:21 PM, wrote: > Back to utf. utfs are not only elements of a unique set of encoded > code points. They have an interesting feature. Each "utf chunk" > holds intrisically the character (in fact the code point) it is > supposed to represent. In utf-32, the obvious case, i