On 09/12/2012 06:56 AM, Jabba Laci wrote:
> I have an installer script that contains lots of little functions. It
> has an interactive menu and the corresponding function is called. Over
> time it grew long and when I want to add a new function, I should give
> a unique name to that function. Howev
On 10/04/2012 05:13 PM, Etienne Robillard wrote:
> Thanks, but I tried all that and don't have much energy for continuing. If
> you're
> serious about open source then maybe you can forward the thread to
> django-developers
> and get some fundings to pay for a minimalistic fee to get the project
On 10/05/2012 04:43 AM, Etienne Robillard wrote:
> No. All past notmm licenses were and still ARE ISC licensed. The license fee
> is simply because I'm shifting into commercial license for new releases,
> including
> the newer 0.4.5 version... Pypi was not the authority source for notmm and
> nei
On 10/05/2012 07:43 PM, 8 Dihedral wrote:
> I think it is OK to have some string attatched in those open source projects.
What are you talking about? What "string?"
> Nowadays the software industry is just like the perfume and prtinting
> and the audio-video entaertainment industry.
True
On 10/07/2012 08:08 PM, alex23 wrote:
> On Oct 8, 11:45 am, Dwight Hutto wrote:
>> What is failed, but a timeline in this scenario, if you found the
>> answer in the end?
>
> It was a _joke_ referring to Michael Torrie's email addressing the
> 8 Dihedral bot _as if it was a person_.
Well it
On 10/07/2012 09:42 PM, Jason Friedman wrote:
>>> It was a _joke_ referring to Michael Torrie's email addressing the
>>> 8 Dihedral bot _as if it was a person_.
>>
>> Well it would be useful to probe the bot's parameters...
>
> Five eights is a busy bot:
> http://www.velocityreviews.com/forums
On 10/09/2012 10:00 AM, Jean-Michel Pichavant wrote:
> Greetings,
>
> I'm trying to generate C++ code from an XML file. I'd like to use a template
> engine, which imo produce something readable and maintainable.
> My google search about this subject has been quite unsuccessful, I've been
> redir
On 10/13/2012 09:46 AM, Etienne Robillard wrote:
> OT. you obviously has no clue what agressive behavior mean. :-)
>
> So please continue with the passive tone saying nothing relevant
> and login to facebook.
There's a saying in English. Hit pigeons flutter. I have not been
impressed with your
On 10/19/2012 06:43 PM, Mark Lawrence wrote:
> Good morning/afternoon/evening all,
>
> Is there any possibility that we could find a way to prevent the double
> spaced rubbish that comes from G$ infiltrating this ng/ml? For example,
> does Python have anybody who works for G$ who could pull a f
On 10/26/2012 04:01 PM, kura...@gmail.com wrote:
> Error is like cannot set special baud rate. But as I said pyserial
> set this speed without problem for ttyUSB0 So it seems pyserial uses
> diefferent code depending of port type. I tried to simlink ln -s
> ttyACM0 ttyUSB0 but it does not work
No
On 10/29/2012 01:34 PM, Andrew Robinson wrote:
> No, I don't think it big and complicated. I do think it has timing
> implications which are undesirable because of how *much* slices are used.
> In an embedded target -- I have to optimize; and I will have to reject
> certain parts of Python to ma
On 10/30/2012 09:47 AM, Andrew Robinson wrote:
> Let's not confound an issue here -- I am going to implement the python
> interpreter; and am not bound by optimization considerations of the
> present python interpreter -- There are things I can do which as a
> python programmer -- you can't. I
On 11/02/2012 03:13 PM, Andriy Kornatskyy wrote:
>
> Requirements for `account number` generator:
>
> 1. Issue pseudo random consistent number (must be unique for dozen millions
> of records)
> 2. Easy check validity (without a need to make a database call)
>
> Interested? Read more here:
>
>
On 11/22/2012 08:19 PM, kgard wrote:
> I am the lone developer of db apps at a company of 350+ employees.
> Everything is done in MS Access 2010 and VBA. I'm frustrated with the
> limitations of this platform and have been considering switching to
> Python. I've been experimenting with the language
On 11/26/2012 06:15 AM, undesputed.hack...@gmail.com wrote:
> I am a beginner in python and need help with writing a regular
> expression for date and time to be fetched from some html documents.
Would the "parser" module from the third-party dateutil module work for you?
http://pypi.python.org/p
On 11/27/2012 05:06 PM, David Bolen wrote:
> I went through a very similar transition a few years ago from
> standalone Access databases (with GUI forms, queries and reports, as
> well as replication) to a pure web application with full reporting
> (albeit centrally designed and not a report design
On 11/28/2012 05:30 AM, Alasdair McAndrew wrote:
> I'm investigating Python for image processing (having used Matlab,
> then Octave for some years). And I'm spoiled for choice: PIL and its
> fork pillow, scipy.ndimage, scikits-image, mahotas, the Python
> interface to openCV...
>
> However, PIL d
On 11/29/2012 09:05 AM, Joel Goldstick wrote:
> This looks promising:
> http://www.codediesel.com/data/migrating-access-mdb-to-mysql/
Unfortunately I have not found mdb tools to be sufficient. You can use
them to convert the schema to sql, and to reveal any mdb password (great
for looking at the
On 12/04/2012 05:54 PM, moonhkt wrote:
> Our SMTP can send file more than 60MB. But our notes server can
> configured 100MB,30MB or 10MB. My notes Mail box can receive 100MB.
>
> In UNIX, by below command send smtp mail.
> uuencode $xfn $xfn | mail -s "$SUBJECT" $NAME
Just continue to use this s
On 12/05/2012 12:14 PM, Jason Hsu wrote:
> I have a Python 2.7 script that produces *.csv files. I'd like to
> run this Python script on a remote server and make the *.csv files
> publicly available to read.
>
> Can this be done on Heroku? I've gone through the tutorial, but it
> seems to be gea
On 12/10/2012 02:18 PM, noydb wrote:
> Follow-on question to this earlier topic -
> https://groups.google.com/d/topic/comp.lang.python/wnUlPBBNah8/discussion
>
> Was curious to know if there was a way to handle different user computers
> with different operating system set date formats. 2/10/2
On 12/11/2012 01:08 AM, Chris Angelico wrote:
> There are a LOT more date formats than those used in the USA. The most
> obvious trio is American MDY, European DMY, Japanese YMD, but there
> are plenty more to deal with. Have fun.
For the record I didn't write the module, so I don't care whether o
On 12/11/2012 01:08 AM, Chris Angelico wrote:
> That sort of statement will get you either amusement or ire, depending
> on the respondent. From me, amusement, because there are enough
> "common American date formats" for you to feel you've done a thorough
> test.
Also what I meant was common "eng
On 12/12/2012 04:40 PM, Mark Lawrence wrote:
> Awesome!!! But what the is it???
Are you serious? You honestly don't know what one of the oldest, most
widely used piece of open source software it and what it does? Samba is
at least as well-known and important as Apache, if not more so.
You
On 12/13/2012 07:45 PM, Steven D'Aprano wrote:
> When I call "python some_script.py" from the command line, it runs under
> Python 2.7 as I expected. So I give the script a hash-bang line:
>
> #!/usr/bin/env python
>
> and run the script directly, but instead of getting Python 2.7, it runs
> un
On 12/19/2012 09:51 AM, Bart Thate wrote:
> Think of sending JSON over the wire, reconstruct an object with it and then
> let the object figure out what it can and cannot do in this external
> environment.
Probably the better way to do it is to formally define an API that lets
an object discover t
On 12/23/2012 11:11 AM, Duncan Booth wrote:
> So far as I can tell Windows doesn't let you turn the ports on and off. I
> found some suggestion that by connecting it to a powered hub it may be
> possible to toggle the hub power on and off but that many hubs don't bother
> implementing the functi
On 12/25/2012 04:42 PM, Rick Johnson wrote:
> What IS a variable Dennis?
> #
>
> #Variable (ComputerScience)#
>
Found the reference you are quot
On 12/25/2012 04:42 PM, Rick Johnson wrote:
> With that accurate definition in mind you can now understand how
> Python classes CAN and DO have variables, just as Python modules have
> variables; psst: they're called "global variables"!
Nice ascii graphic, but citation needed. What CS text book a
On 12/27/2012 01:01 PM, mogul wrote:
> Do I really need a real IDE, as the windows guys around me say I do,
> or will vim, git, make and other standalone tools make it the next 20
> years too for me?
I've never ever used an IDE with Python. With Python I can code for an
hour in vim and it runs wi
On 12/27/2012 02:25 PM, Tim Chase wrote:
> Alas, one of the worst parts about programming in Python is that I
> now find it hard to go back to any of the other languages that I
> know. :-)
Amen. I find myself wishing for a python-like language for programming
Arduino boards.
--
http://mail.pyth
On 01/01/2013 11:43 AM, Mitya Sirenef wrote:
> Therefore, deleting 3 WORDs is 3daW (mnemonic: del a WORD 3 times).
Interesting. I typically use just d3w. 3daW seems to delete 3 lines
for me, the same result as d3. Another favorite command is d or
c followed by a number and then the right arrow
On 01/01/2013 04:49 PM, someone wrote:
> On 01/01/2013 12:13 PM, Chris Angelico wrote:
> > You could simply
> >
> > import OpenGL.GL as GL
> You're right - but I forgot to write that even though this maybe
> should/is recommended many places then I've seen a lot of opengl code on
> the interne
On 01/04/2013 08:53 AM, Grant Edwards wrote:
> That's obviously the "right" thing to do. I suppose I should figure
> out how to use the ast module.
Or PyParsing.
As for your program being "secure" I don't see that there's much to
exploit. You're not running as a service, and you're not runnin
On 01/08/2013 07:57 PM, iMath wrote:
> 在 2013年1月8日星期二UTC+8上午8时44分20秒,iMath写道:
>> It would be better to give me some examples .thanks in advance !
>>
>>
>>
>> P.S. which module or lib are needed ?
>
> what I wanna perhaps like this: when a right mouse button is pressed
> and we go down and right
On 01/09/2013 07:45 PM, kwakukwat...@gmail.com wrote:
> thanks so much it worked.I have tried and tried.look at what I was doing.
> me = raw_input("Enter a value:")
> from math import sqrt
> def squareroot(y):
>
> me = squareroot(y)
> return squareroot(y)
Congratulations! You've just cre
On 01/09/2013 07:11 PM, iMath wrote:
> can you give me an example code ?
No but I can suggest some alternative ideas, such as using httplib
(built into python), or libcurl. Or if you have to use wget, you run it
the same way you run any external command from python. If it were my
I'd plunk a fe
On 01/10/2013 12:23 AM, Steven D'Aprano wrote:
> "In general-purpose scripting languages, Python continues to grow slowly,
> JavaScript and Ruby are treading water, and Perl continues its long
> decline. According to Google trends, the number of searches for Perl is
> 19% of what it was in 2004.
On 01/10/2013 11:13 PM, Rick Johnson wrote:
>
> Python's import resolution order is terrible.[1]
>
> The fact that Python looks in the stdlib _first_ is not a good idea.
Whether or not the default behavior is desirable or not, sys.path is set
by default to look in the current directory first on
On 01/13/2013 09:13 AM, K. Elo wrote:
> I am working on a small console app for linux. The idea is to display
> some sensor values and the screen should update itself in, say, every 10
> seconds.
>
> The user should have the possibly to change some configurations or gwt
> help by pressing diffe
On 01/13/2013 09:13 AM, K. Elo wrote:
> I have searched in the Web and in several tutorials (e.g. "Programming
> python"), but this seems to be a tricky one. The 'pyHook' library seems
> to offer a keyboard hook manager, but 'pyHook' is not available for
> linux :( IMHO, the 'curses' library off
On 01/13/2013 09:16 PM, Steven D'Aprano wrote:
> A programmer had a problem, and thought Now he has "I know, I'll solve
> two it with threads!" problems.
The same applies to regular expressions, which is actually what the
expression was first used with years ago. Probably applies to just
about a
On 01/14/2013 11:09 AM, John Gordon wrote:
> In Michael Torrie
> writes:
>
>> On 01/13/2013 09:16 PM, Steven D'Aprano wrote:
>>> A programmer had a problem, and thought Now he has "I know, I'll solve
>>> two it with threads!" problems.
&g
On 01/15/2013 10:59 PM, Rick Johnson wrote:
> Why do i need to see "C:\users\user\documents\python\lib" EVERY time?
You're thinking about things from a very windows-centric point of view.
There are many cases where as a developer I need to see the full paths.
My modules are not always going to b
On 01/18/2013 06:02 AM, Ferrous Cranus wrote:
> Yes my Python scripts exist in a linux web host.
>
> os.environ['HOME'] will indeed give the home directory of the user.
>
> to me /home/nikos/
>
> but i want a variable to point to
>
> /home/nikos/public_html whice is called DocumentRoot.
Not it
On 01/21/2013 09:02 AM, Ferrous Cranus wrote:
> Ok i see its just a convention. Can you help on this:
>
> so we need to remove since the
> apache cant see to open it and let Python open it which we know it
> can because it has access to any system file the user has access too.
Is this link gene
On 01/21/2013 07:55 AM, Ferrous Cranus wrote:
> Yes Dave so we need to remove
> since the apache cant see to open it and let Python open it which we
> know it can because it has access to any system file the user has
> access too.
What are you trying to accomplish? I don't see how opening the fi
On 01/19/2013 01:01 AM, Ferrous Cranus wrote:
> # render html template and print it data = f.read() counter =
> ''' mailto:supp...@superhost.gr";> src="/data/images/mail.png">
>
>
> Αριθμός Επισκεπτών %d ''' % hits[0]
>
>
> While from within the sam
On 01/22/2013 03:07 AM, Ferrous Cranus wrote:
> Now, can you pleas help me write the switch to filepath identifier?
> I'am having trouble writing it.
Unfortunately this isn't the way to go either. Apache uses its own
config and rules to map a url to a "filepath." There's no way for
Python to do
I'm sorry you are getting so frustrated. There's obviously a language
barrier here, but also your frustration is preventing you from thinking
clearly. You need to take a step back, breath, and re-read everything
that's been written to you on this thread. All your questions that can
be answered h
On 01/22/2013 11:13 AM, Ferrous Cranus wrote:
> a) I'am a reseller, i have unlimited ftp quota, hence database space
Space doesn't even come into the equation. There's virtually no
difference between a 4-digit number and a 100-character string. Yes
there is an absolute difference in storage spac
On 01/22/2013 11:26 AM, Ferrous Cranus wrote:
> which yields:
> $ perl testMD5.pl
> /index.html: 1066
> /about/time.html: 1547
Well do it the same with in python then. Just read the docs on the
hashlib so you know what kind of object it returns and how to call
methods on that object to return a
On 01/22/2013 11:37 AM, Ferrous Cranus wrote:
> == pin = int(
> htmlpage.encode("hex"), 16 ) % 1
> ==
>
> Can you please explain the differences to what you have posted
> opposed to this perl coding?
>
>
On 01/21/2013 08:00 AM, Ferrous Cranus wrote:
> Τη Δευτέρα, 21 Ιανουαρίου 2013 2:47:54 μ.μ. UTC+2, ο χρήστης Joel
> Goldstick έγραψε:
>> This is trolling Ferrous. you are a troll. Go away
>
> Just because you cannot answer my question that doesn't make me a
> troll you know.
It becomes trolling
On 01/22/2013 04:40 PM, Steven D'Aprano wrote:
> On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:
>
>> I'm sorry you are getting so frustrated. There's obviously a language
>> barrier here,
>
> I don't think there is. The OP's posts
On 01/22/2013 05:40 PM, MRAB wrote:
> "his quote string is Cyrillic"?
>
> If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.
Oh, haha! you're so right!
--
http://mail.python.org/mailman/listinfo/python-list
On 01/23/2013 12:25 AM, Ferrous Cranus wrote:
>
> Using that method ABC.html and CBA.html now have different values
> because each letter position's value gets bumped up increasingly from
> left to right.
You have run this little "hash" algorithm on a whole bunch of files, say
C:\windows\system32
On 01/23/2013 07:56 AM, Santosh Kumar wrote:
> Yes, Peter got it right.
>
> Now, how can I replace:
>
> script, givenfile = argv
>
> with something better that takes argv[1] as input file as well as
> reads input from stdin.
>
> By input from stdin, I mean that currently when I do `cat foo.
On 01/23/2013 12:05 PM, spe...@gmail.com wrote:
> I need to search a log file for a specific string (Successfully Sent)
> and report the number of instances in the last hour (from when
> executed) and total for the day so far (midnight till the time
> executed). Can anyone provide any examples of s
On 01/24/2013 02:14 PM, Tetsuya wrote:
> Vim has everything, you just need a bunch of plugins.
> I code mainly in python and django, and I use these plugins (among others):
>
> powerline (status bar indicating git branch, etc..)
> syntastic (support for pep8, flake8, pyflakes, etc..)
> ctrlp (fuzz
On 01/25/2013 09:18 AM, Tim Daneliuk wrote:
> On 01/25/2013 10:01 AM, Steve Petrie wrote:
>> On Thursday, January 24, 2013 8:29:51 PM UTC-5, Tim Daneliuk
>> wrote: The mechanize module
>> (http://wwwsearch.sourceforge.net/mechanize/) might be a place to
>> start. I've done something similar with c
On 01/25/2013 05:15 PM, Tim Daneliuk wrote:
> Does it handle self-signed SSL certs?
No idea. you'd have to try it.
--
http://mail.python.org/mailman/listinfo/python-list
On 01/26/2013 12:41 PM, Ferrous Cranus wrote:
> I can use triple (''') quoting so i dont have to escape special characters.
Hmm. I think you missed what he was getting at. He's not talking about
Python escape sequences. He's talking about HTML ones. There is a
function in one of the standard lib
On 01/27/2013 09:29 AM, george...@talktalk.net wrote:
> Hi
> Question 3 Chp2 Page 76
> Adds2 to a and assigns the result to b.
> I have several attemtps,would like to check my answer.help please
> At 80 i need all the help i can find.
> Thanks George Smart
Awesome that you are learning Python! In
On 01/28/2013 03:46 PM, Malcolm McCrimmon wrote:
> My company recently hosted a programming competition for schools
> across the country. One team made it to the finals using the Python
> client, one of the four default clients provided (I wrote it). Most
> of the other teams were using Java or C
On 01/30/2013 10:02 AM, Jorge Alberto Diaz Orozco wrote:
> I´ve tried it but it´s not reliable. Datagrams can arive disorganised or just
> not arive.
> Some programmers said I most use TCP, but I need to use UDP.
> that´s why I need pyrudp, but I can not find it.
Excuse me for chuckling, but your
On 02/01/2013 11:47 AM, subhabangal...@gmail.com wrote:
> On Friday, February 1, 2013 11:07:48 PM UTC+5:30, 8 Dihedral
> wrote:
>> subhaba...@gmail.com於 2013年2月2日星期六UTC+8上午1時17分04秒寫道:
>>> I am looking for a Python implementation of Maximum Likelihood
>>> Estimation. If any one can kindly sugges
On 01/23/2012 12:44 PM, Jonno wrote:
> Any ideas why I can reference foo inside the method but not in __init__?
No idea, but could you pass foo as a constructor parameter to __init__
and store it as an instance variable?
--
http://mail.python.org/mailman/listinfo/python-list
On 01/24/2012 05:43 PM, Rick Johnson wrote:
> Actually my custom script had a small flaw which kept it from
> capturing ALL the atrocities. Here is a run with the bugfixes:
Wow. I had to trim 80% of your e-mail just to get rid of old quoted
posts. For an expert, Rick, I'm really surprised you don
On 01/24/2012 10:49 PM, Michael Torrie wrote:
> On 01/24/2012 05:43 PM, Rick Johnson wrote:
>> Actually my custom script had a small flaw which kept it from
>> capturing ALL the atrocities. Here is a run with the bugfixes:
>
> Wow. I had to trim 80% of your e-mail just to
On 01/25/2012 06:54 PM, Steven D'Aprano wrote:
> The only intuitive interface is the nipple. Everything else is learned.
I think young mothers would even disagree with that. It's learned just
like everything else in life. Albeit very rapidly.
--
http://mail.python.org/mailman/listinfo/python-li
On 01/25/2012 03:29 PM, bvdp wrote:
> Right now my program does a search for modules in "all the normal
> places", which seems to work for windows, mac and linux. Once the
> modules are found I just insert that location into sys.path[0].
>
> Which permits the modules to reside anywhere on the HDD.
On 01/26/2012 09:30 AM, bvdp wrote:
> Yes. I agree and it's nice to have a confirmation. So far I've been
> putting all my program into /usr/local/share/MYPROGRAM and then
> simply inserting an entry into sys.path.
>
> Then, for other systems, I check a few common locations until I find
> the inst
On 01/28/2012 12:21 AM, contro opinion wrote:
s='你好'
On my computer, s is a byte string that contains the utf-8 formatted
encoding of 你好. This has nothing to do with python, though, and
everything to do with the line editor python's interpreter is doing. In
other words, the string is encode
On 01/28/2012 04:03 PM, Terry Reedy wrote:
> On 1/28/2012 2:58 PM, Michael Torrie wrote:
>> On 01/28/2012 12:21 AM, contro opinion wrote:
>>>>>> s='你好'
>>
>> On my computer, s is a byte string that contains the utf-8 formatted
>> encoding
On 01/31/2012 06:41 AM, Jason Friedman wrote:
> Does Python 2.7's zipfile module use its own algorithm or does it
> leverage the zip/unzip libraries that exist on the host? I ask
> because my host's native unzip program cannot handle files that, when
> unzipped, are larger than 2GB. Will using Py
On 02/11/2012 02:19 PM, sajuptpm wrote:
> Hi Michael Ströder,
> Thanks for replay
>
> Yea i am not totally clear about that
>
> Client's Requirement is
> option to have a ldap proxy user bind to the ldap server if it needs
> more directory rights than an anonymous bind.
> option to use a ldap pro
On 02/11/2012 08:35 PM, Michael Torrie wrote:
> On 02/11/2012 02:19 PM, sajuptpm wrote:
>> Hi Michael Ströder,
>> Thanks for replay
>>
>> Yea i am not totally clear about that
>>
>> Client's Requirement is
>> option to have a ldap proxy user bin
On 02/13/2012 09:01 AM, Rick Johnson wrote:
> Look, i hate super rich, arrogant people just as much i hate selfish
> people.
But wait, Rick. You are a man of contradictions. We all are, but you
seem to bluster on and on more about it than most. Firstly, to *hate*
anyone, super-rich, arrogant,
On 02/13/2012 05:39 PM, Rick Johnson wrote:
> Why? Do you need the services of a professional software developer?
Do you have some to offer?
--
http://mail.python.org/mailman/listinfo/python-list
On 02/15/2012 07:38 PM, 8 Dihedral wrote:
> In the 4 G space of SW AP in Adndroid phones,
> check Jython. But I think a better data compression
> modules is more helpful.
Jython, though a very cool and useful implementation, relies on the Java
virtual machine to run. It does not yet run on
On 02/16/2012 07:53 AM, 8 Dihedral wrote:
> The law suites of JAVA Vitrtual Machine from Oracle
> are famous now. But in 201X the JVM patents will be
> expired, thus it is not very urgent to chunk out a new jython now. Anyway
> just write codes that can be maintained and ported to other lang
On 02/16/2012 10:38 AM, Grant Edwards wrote:
> I got curious about Dalvik, and was looking at the Wikipedia page,
> where it says that programs for Android are compiled into bytecode in
> JVM compatible .class files. Those files are then converted into .dex
> files to run on Davlik.
>
> I don't k
On 02/16/2012 10:25 PM, 8 Dihedral wrote:
> Android is a customized linux OS used in mobile phones. I don't think
> any linux systm has to be locked by JAVA or any JVM to run
> applications.
Getting waaa off topic here, but...
I guess you aren't familiar with what Android is (which is iro
On 02/18/2012 10:46 AM, Lie Ryan wrote:
> Android does have a full Linux experience; what it lacks is the GNU
> experience. Unlike "normal" Linux distros, Android does not use GNU
> userspace, instead it have its own userspace based on bionic, toolbox,
> and dalvik. Linux is a core part of Andro
On 02/18/2012 11:58 AM, SherjilOzair wrote:
> Has it been considered to add shell features to python, such that it
> can be used as a default shell, as a replacement for bash, etc.
>
> I'm sure everyone would agree that doing this would make the terminal
> very powerful.
>
> What are your views o
On 02/24/2012 08:34 AM, Rick Johnson wrote:
> Yes i could write my own implementation of INFINITY if i wanted,
> although i would have returned True and False as apposed to 1 and 0
> AND used the identifiers Infinity and Infinitesimal, but i digress :-
> P.
>
> However, INFINITY is something i bel
On 02/24/2012 09:59 AM, Mark Lawrence wrote:
> The C integer bit doesn't matter since e.g.
> >>>
> a=100
> >>> a
> 1
On 02/27/2012 08:02 AM, Grant Edwards wrote:
> On 2012-02-27, Steven D'Aprano wrote:
>> On Sun, 26 Feb 2012 16:24:14 -0800, John Ladasky wrote:
>>
>>> Curiosity prompts me to ask...
>>>
>>> Those of you who program in other languages regularly: if you visit
>>> comp.lang.java, for example, do peop
On 02/27/2012 10:28 AM, Ethan Furman wrote:
> jmfauth wrote:
>> On 25 fév, 23:51, Steven D'Aprano > +comp.lang.pyt...@pearwood.info> wrote:
>>> On Sat, 25 Feb 2012 13:25:37 -0800, jmfauth wrote:
>>> (2.0).hex()
'0x1.0p+1'
>>> (4.0).hex()
'0x1.0p+2'
>>>
On 03/07/2012 06:44 AM, janaki rajamani wrote:
> Hi
>
> I am stuck with the brain workshop software implemented using python.
> The code involves a lot of GUI elements and i am familar only with the
> basic python programming.
> I would like to know whether there are built in classes to support GU
On 03/15/2012 01:40 PM, Kiuhnm wrote:
> Moreover, I think that
>if (
>
>):
>
>
>
> is not very readable anyway.
Sure but neither is
if ( \
\
On 03/15/2012 09:18 AM, Kiuhnm wrote:
> > After early user testing without the colon, it was discovered that
> the meaning of the indentation was unclear to beginners being taught the
> first steps of programming. <
>
> The addition of the colon clarified it significantly: the colon some
On 03/16/2012 10:48 AM, Steven D'Aprano wrote:
> On Fri, 16 Mar 2012 13:10:12 +0100, Kiuhnm wrote:
>
>> Maybe we should define *exactly* what readability is (in less then 500
>> lines, if possible).
>
> If you can't be bothered to read my post before replying, save yourself
> some more time and
On 03/17/2012 08:45 AM, Kiuhnm wrote:
> Your way is easy, but the result is poor.
In what way? What is your recommended way?
> Your should try to rewrite it.
> Decompilers do exactly that.
Decompilers rewrite code for people? That's really neat.
--
http://mail.python.org/mailman/listinfo/pyt
On 03/17/2012 09:12 AM, Kiuhnm wrote:
> On 3/17/2012 16:01, Michael Torrie wrote:
>> On 03/17/2012 08:45 AM, Kiuhnm wrote:
>>> Your way is easy, but the result is poor.
>>
>> In what way?
>
> The resulting code is inefficient, difficult to comprehend and to man
On 03/17/2012 03:28 PM, Kiuhnm wrote:
>> They are equally readable. The first one sets EAX to 3; the second
>> displays all elements of x on the console. Assembly is readable on a
>> very low level, but it's by nature verbose at a high level, and thus
>> less readable (you can't eyeball a function
On 03/17/2012 11:55 AM, Kiuhnm wrote:
> Why should I write a treatise on decompilation techniques on this ng?
You were the one that said simply, you're doing it wrong followed by a
terse statement, do it like a decompiler. I am familiar with how one
might implement a decompiler, as well as a comp
On 03/31/2012 04:58 PM, John Nagle wrote:
> If you can make this happen, report back the CentOS version and
> the library version, please.
CentOS release 6.2 (Final)
glibc-2.12-1.47.el6_2.9.x86_64
example does not ping
example.com does not resolve to example.com.com
Removed all "search" and "dom
On 04/14/2012 04:22 PM, Stefan Schwarzer wrote:
> However, I'm not comfortable with the combination of the
> names of the future and its method. After all, not the
> `put_result` was sent, but the data that was the argument in
> the `put_bytes` call. Maybe `data_was_sent` is better than
> `was_sent
101 - 200 of 1810 matches
Mail list logo