Must we include urllib just to decode a URL-encoded string, when using Requests?

2013-06-13 Thread Dotan Cohen
I characters such as some esoteric symbols or Korean/Chinese/Japanese characters. [1] http://stackoverflow.com/a/15627281/343302 -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Must we include urllib just to decode a URL-encoded string, when using Requests?

2013-06-13 Thread Dotan Cohen
than import the other. Can I tell which library Requests is currently using and use that? -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Must we include urllib just to decode a URL-encoded string, when using Requests?

2013-06-13 Thread Dotan Cohen
y#L86 > Great, thank you Robert. I see that Requests is calling both urllib and urllib2. For some reason I thought that is rather wasteful and should be avoided. I was probably wrong! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Must we include urllib just to decode a URL-encoded string, when using Requests?

2013-06-13 Thread Dotan Cohen
On Thu, Jun 13, 2013 at 4:44 PM, Burak Arslan wrote: > On 06/13/13 16:25, Dotan Cohen wrote: > paste this to your python console, it'll show you what modules requests > imports: > > import sys > p = set(sys.modules) > import requests > for m in sorted(set(sys.modules

Re: looking for a new router

2013-07-08 Thread Dotan Cohen
ling list that's about Python. :) > > ChrisA Chris, the account that you replied to is just a spam account for his link at the bottom. Helpfully, it appears that Nabble has removed the link and left only the text. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http:/

Re: ANN: psutil 1.0.0 released

2013-07-11 Thread Dotan Cohen
Thanks, this looks really nice. I was duplicating some of this for my CLI-based webserver control panel: https://github.com/dotancohen/burton As soon as I integrate psutil into Burton I'll add it to the README and such. How would you like me to mention attribution exactly? -- Dotan Cohen

OT: Monty Python in Syria

2012-08-15 Thread Dotan Cohen
And now for something completely different. Not programming related, but at 1:20 I was expecting a different question: http://www.aljazeera.com/news/middleeast/2012/08/2012813103922872697.html I figured if anybody could appreciate that, it would be the folks here. Enjoy! -- Dotan Cohen http

Re: OT: Monty Python in Syria

2012-08-15 Thread Dotan Cohen
On Wed, Aug 15, 2012 at 5:41 PM, Dotan Cohen wrote: > And now for something completely different. > > Not programming related, but at 1:20 I was expecting a different question: > http://www.aljazeera.com/news/middleeast/2012/08/2012813103922872697.html > > I figured if anybod

Re: OT: Monty Python in Syria

2012-08-16 Thread Dotan Cohen
n incidence is not a phenomenon. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-14 Thread Dotan Cohen
oad off the pinkies and onto the index fingers: http://dotancohen.com/eng/noah_ergonomic_keyboard_layout.html There is a Colemak version in the works as well. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-14 Thread Dotan Cohen
ogling turns up nothing. My intention is to improved the Noah ergonomic keyboard layout. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-15 Thread Dotan Cohen
ed fact - designed the way is was because the inventor's mother in law's initials were AS and his father is law was DF. The letter combinations JK and L; were his childrens' initials. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-15 Thread Dotan Cohen
r of magnitude heavier. > > So its not exactly clear how much the experience of one carries over > to the other > Thanks. From testing small movements with my fingers I see that the fourth finger is in fact a bit weaker than the last finger, but more importantly, it is much less dex

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-17 Thread Dotan Cohen
some advice, I'll post the problem here or in private mail. Thanks, Lee. (or should that be Thanks, Xah?) -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-18 Thread Dotan Cohen
pressing more than one key at a time. But in the general sense that is good to know, if other people use the layout they will need to be aware of that. Thanks! > maybe some of these are useful info, but maybe you are quite beyond > that. Thanks for your info too. Good luck. > >  just X

Re: Keyboard Layout: Dvorak vs Colemak: is it Worthwhile to Improve the Dvorak Layout?

2011-06-18 Thread Dotan Cohen
ou a few questions down the > road? (maybe we can add each other on google talk or some social > network) > Sure, I'll email you from my personal email account soon. But after a few more hours, I won't be available until late July. -- Dotan Cohen http://gibberish.co.il http:/

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
rograming in a non-fixed width font is a real pleasure, but the spaces are too narrow. Tabs alleviate that. I'm still looking for the perfect programming font. Suggestions welcomed. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
s? Very nice, and easy to distinguish 0 from o or O. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
On Sun, Jul 17, 2011 at 14:51, Thorsten Kampe wrote: > * Dotan Cohen (Sun, 17 Jul 2011 14:11:40 +0300) >> So long as the indentation lines up (which it does, with tabs or >> spaces) then I do not see any problem with variable-width. > >> What are the counter-arguments? &g

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
key was hit in place of the other (they are close by) then either the IDE or compiler would catch it, or it would result in a minor bug in a text string. It simply isn't an issue. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
y mailing list on the internet old man?!? I have also come to the conclusion that the perfect woman, the perfect physics theory, and the perfect programming font are all illusions that men will stride their entire lives in search for but will never find. -- Dotan Cohen http://gibb

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
oose to follow it or die of exceptions; your > choice. > Do you know that Python 4000 is the only language in the world whose vocabulary gets smaller every year?' -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
is the number thou shalt indent, and the number of the indenting shall be four. Six thou shalt not indent, neither indent thou two, excepting that thou then proceed to four. Eight is right out. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-17 Thread Dotan Cohen
Also I/1 and l/1 are easy to distinguish, but I agree that I/l are not. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-18 Thread Dotan Cohen
because there exists a possibility that someone might want (not need) to edit code on a telephone to make a quick edit to code being interpreted on that machine, _all_ Python code should limit itself to a line width that may or may not wrap on a telephone screen? Is that the argument in favor of an 8

Regex to match all trailing whitespace _and_ newlines.

2011-09-01 Thread Dotan Cohen
entering it in a regex-supporting Find/Replace dialogue in Anki. Anki is written in Python. Thanks. [1] ankisrs.net -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems of Symbol Congestion in Computer Languages

2011-02-28 Thread Dotan Cohen
mming. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems of Symbol Congestion in Computer Languages

2011-03-01 Thread Dotan Cohen
> typists not programmers. Yes, I'm trying to solve that! Ideally in the end all the brackets including {} won't need modifier keys. Give me some feedback, please, on that layout. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems of Symbol Congestion in Computer Languages

2011-03-01 Thread Dotan Cohen
s, or > just write a os wide config file yourself. You can see tutorials and > sample files for all these here > http://xahlee.org/Periodic_dosage_dir/keyboarding.html > > i'd be interested to know what Dotan Cohen use too. > You can see what I started working on yesterday, bu

Re: Another location of the PyGTK tutorial

2011-04-03 Thread Dotan Cohen
> -- > http://mail.python.org/mailman/listinfo/python-list > -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Another location of the PyGTK tutorial

2011-04-03 Thread Dotan Cohen
> -- > http://mail.python.org/mailman/listinfo/python-list > -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Dotan Cohen
ials. > > Read more on the website. > > Thanks for your help, and I would appreciate if you help me spread the word, > and give me feedback on the website. > -- > http://mail.python.org/mailman/listinfo/python-list > Nice work! I notice that the "Next Chapter" link

Re: learnpython.org - an online interactive Python tutorial

2011-04-23 Thread Dotan Cohen
d the result should be the string '11'. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: obviscating python code for distribution

2011-05-16 Thread Dotan Cohen
bly, any problem that I've ever had someone has had first. So while you might have been one of the first have a need to interface FooWidget with PlasmoidBar, someone after you will in fact need just the code to do that. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: obviscating python code for distribution

2011-05-18 Thread Dotan Cohen
know about weaknesses until much later in the development, when making changes to the underlying code organization may be difficult or impossible. In this early phase of development, he should actually encourage the script kiddies to "report the bugs". -- Dotan Cohen http://gibberish.c

Re: obviscating python code for distribution

2011-05-18 Thread Dotan Cohen
On Wed, May 18, 2011 at 20:24, Chris Angelico wrote: > But you CAN make a system 100% secure against network-based > attacks. > Only by unplugging the network cable. This is called an air gap, and is common in military installations. Anything with a cable plugged in is hackable.

Re: obviscating python code for distribution

2011-05-18 Thread Dotan Cohen
emember, never do in code what Linux will do for you. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Why did Quora choose Python for its development?

2011-05-20 Thread Dotan Cohen
er, these give us confidence that the language and ecosystem > is moving in a good direction. > > [1] What are the horrors of PHP? and Do Facebook engineers enjoy > programming in PHP? and Why hasn't Facebook migrated away from PHP? > and What are some of the advantages of PHP

Re: Python's super() considered super!

2011-05-26 Thread Dotan Cohen
on blind links, so if it isn't then please post a direct link. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python's super() considered super!

2011-05-26 Thread Dotan Cohen
On Thu, May 26, 2011 at 21:38, Ian Kelly wrote: > It's a link to ycombinator: > > http://news.ycombinator.com/item?id=2588262 > Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Beginner needs advice

2011-05-28 Thread Dotan Cohen
kely that they do not). Therefore Python 3 is a non-starter in any case. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Beginner needs advice

2011-05-31 Thread Dotan Cohen
>  If you disagree, then I invite you to list one example of two > different things that are compatible. > Men and women. MS Office and Open Office. IE6 and HTML. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Beginner needs advice

2011-05-31 Thread Dotan Cohen
On Tue, May 31, 2011 at 21:29, Ian Kelly wrote: > On Tue, May 31, 2011 at 11:56 AM, Dotan Cohen wrote: >>>  If you disagree, then I invite you to list one example of two >>> different things that are compatible. >>> >> >> Men and women. > >

Re: CURSES WINDOWS

2018-09-05 Thread Dotan Cohen
on.org/mailman/listinfo/python-list -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Most "pythonic" syntax to use for an API client library

2019-05-14 Thread Dotan Cohen
pretty" to me, but I did not find any "official" > recommendation online. > > Thanks. > > -- > Jonathan. > -- > https://mail.python.org/mailman/listinfo/python-list -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- https://mail.python.org/mailman/listinfo/python-list

Re: To whoever hacked into my Database

2013-11-12 Thread Dotan Cohen
;t understand my question, possibly due to my own failure to properly articulate. -or- 2) Those who understand my predicament better than I do, and show my how to get the results that I need despite my own failure to understand what exactly I need. With Python specifically, the latter far outnumber

Re: PiCxx

2015-03-29 Thread Dotan Cohen
;t even evaluate the code for technical merits with an unestablished, unclear, and unfamiliar license like that. The "donate anything" concept is a cute idea, but put the idea in either an informal request if you BSD license the code, or as a condition for a commercial license if you G

Re: Regex to match all trailing whitespace _and_ newlines.

2011-10-10 Thread Dotan Cohen
On Thu, Sep 1, 2011 at 13:30, Peter Otten <__pete...@web.de> wrote: > Dotan Cohen wrote: > >> In the terrific Anki [1] application I am trying to remove trailing >> whitespace from form fields. This is my regex: >> [\n+\s+]$ > > My attempt: > >>&g

Re: staticmethod makes my brain hurt

2011-11-16 Thread Dotan Cohen
ll is made, _get_next_id is not callable, and eventually I > end up with: > > ValidationError: could not be > converted to int Try this (untested): class C: @staticmethod def foo(): pass print "inside", C.foo, callable(C.foo) -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- http://mail.python.org/mailman/listinfo/python-list

Re: staticmethod makes my brain hurt

2011-11-17 Thread Dotan Cohen
On Thu, Nov 17, 2011 at 09:37, Ian Kelly wrote: > On Wed, Nov 16, 2011 at 11:44 PM, Dotan Cohen wrote: >> Try this (untested): >> >> class C: >>   @staticmethod >>   def foo(): >>       pass >> >>   print "inside", C.foo, callable(C.f

Re: open office in another language?

2012-01-13 Thread Dotan Cohen
, in fact that was a design goal. http://calligra-suite.org/ -- Dotan Cohen http://what-is-what.com/what_is/python.html -- http://mail.python.org/mailman/listinfo/python-list

Re: open office in another language?

2012-01-13 Thread Dotan Cohen
of pain. > Sorry, you are correct. Apache did refactor OOo in order to integrate it with Apache coding practices. LO is, however, heavily refactored from what I understand. Note that this may all be heresy, I've not looked at the code of either! -- Dotan Cohen http://gibberish.co.i

Re: open office in another language?

2012-01-14 Thread Dotan Cohen
Enjoy this relevant article: http://developers.slashdot.org/story/12/01/14/008236/code-cleanup-culls-libreoffice-cruft Dotan Cohen http://what-is-what.com/what_is/open_office.html -- http://mail.python.org/mailman/listinfo/python-list

Re: possible php convert

2006-12-11 Thread Dotan Cohen
On 11/12/06, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > At Sunday 10/12/2006 09:36, Dotan Cohen wrote: > > >Hi all, I've been contemplating the switch to python from php. I'm no > >wiz, but I can get my way around with help form the online docs. I see > >

Unsubscribing from the list

2007-01-02 Thread Dotan Cohen
rom python-list? Thanks. Dotan Cohen http://what-is-what.com/what_is/internet.html http://lyricslist.com/lyrics/artist_albums/356/moore_mandy.php -- http://mail.python.org/mailman/listinfo/python-list

Re: Unsubscribing from the list

2007-01-02 Thread Dotan Cohen
On 02/01/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > I need to unsubscribe from this list. I've mailed > > [EMAIL PROTECTED] but that did not unsubscribe me. I've > > also gone to the list homepage and entered my user information, but

Re: Unsubscribing from the list

2007-01-03 Thread Dotan Cohen
What's the name of that big big website? goobble or something?!? The first sentance under the heading "Python-list Subscribers" is: The subscribers list is only available to the list administrator. Admin address: Password: As I'm not an admin, I read no further. Dotan Co

Re: Unsubscribing from the list

2007-01-03 Thread Dotan Cohen
unfamiliar with. Either way, the thread is entertaining enough that I remain. Dotan Cohen http://lyricslist.com/lyrics/artist_albums/443/seger_bob.html http://technology-sleuth.com/long_answer/how_can_i_be_safe_online.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Unsubscribing from the list

2007-01-03 Thread Dotan Cohen
> Ah. Sorry. I'm getting better at confusing people :) if ($you=="got_offended") { $dotan="sorry"; } Dotan Cohen http://what-is-what.com/what_is/website.html http://lyricslist.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Unsubscribing from the list

2007-01-03 Thread Dotan Cohen
On 03/01/07, Jan Dries <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > On 03/01/07, Robert Kern <[EMAIL PROTECTED]> wrote: > >> He misunderstood you (as I nearly did, too). The way you phrased "decided > >> that > >> there was no futher i

Re: BUSTED!!! 100% VIDEO EVIDENCE that WTC7 was controlled demolition!! NEW FOOTAGE!!! Ask yourself WHY havn't I seen this footage before?

2007-05-05 Thread Dotan Cohen
I missed the relevancy to Python in this thread. Could someone, preferably the OP, please quote it? Thanks in advance. Dotan Cohen http://lyricslist.com/ http://what-is-what.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: stealth screen scraping with python?

2007-05-11 Thread Dotan Cohen
ur queries down to no more than once every 3-5 seconds and you should be fine. Rotate your IP, too, if you can. Dotan Cohen http://lyricslist.com/lyrics/artist_albums/110/carmen_eric.html http://what-is-what.com/what_is/eula.html -- http://mail.python.org/mailman/listinfo/python-list

List Moderator

2007-05-17 Thread Dotan Cohen
Is this list not moderated? I'm really not interested in Britney Spears boobs. All the spam on this list is from the same place, it should be very easy to filter. Dotan Cohen http://lyricslist.com/ http://what-is-what.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: List Moderator

2007-05-19 Thread Dotan Cohen
On 18/05/07, Steve Holden <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > Is this list not moderated? I'm really not interested in Britney > > Spears boobs. All the spam on this list is from the same place, it > > should be very easy to filter. > > >

Re: List Moderator

2007-05-19 Thread Dotan Cohen
uld show the spammers that the moderators are serious about keeping this list clean. I'll go back to reading and not writing now, at least until I get to the point where either I feel that I can contribute, or until I get myself real stuck. Dotan Cohen http://lyricslist.com/lyri

Re: List Moderator

2007-05-20 Thread Dotan Cohen
On 19/05/07, Steve Holden <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > On 19/05/07, Steve Holden <[EMAIL PROTECTED]> wrote: > >> I'm sorry, but you have no idea what you are talking about. Most of what > >> can be done *is* being done, which

Modul (%) in python not like in C?

2007-09-09 Thread Dotan Cohen
FIrst of all, how is the % symbol (as in 70%6=4) called in English? Second, in Turbo C -111%10=-1 however in python -111%10=9. Is one or the other in error? Is this a known gotcha? I tried to google the subject however one cannot google the symbol %. Thanks in advance. Dotan Cohen http://what

Re: Modul (%) in python not like in C?

2007-09-09 Thread Dotan Cohen
s most logical to me. Turbo C is against the standard, then. > > while Python is always consistent and returns positive remainders. > > Technically: > > The modulo operator always yields a result with the same sign > as its second operand (or zero) > > [h

Re: Reâ­: â¬M odulâ­ (%) â¬i n python not like in Câ­?â¬

2007-09-09 Thread Dotan Cohen
On 09/09/2007, Roy Smith <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "Dotan Cohen" <[EMAIL PROTECTED]> wrote: > > > FIrst of all, how is the % symbol (as in 70%6=4) called in English? > > It's called "modulo",

Need a KDE app, where to find a coder?

2007-09-10 Thread Dotan Cohen
g to QT4 in December (with the release of KDE4) it would be best if the app were coded with this in mind. As the application is for my own personal use, I will try to maintain it with the little python that I know, but I may need help along the way. Thanks in advance. Dotan Cohen -- http://mai

Re: Need a KDE app, where to find a coder?

2007-09-11 Thread Dotan Cohen
On 11/09/2007, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > Dotan Cohen schrieb: > > I need an application, and I'd like it to be written in Python with QT > > as I am a KDE user. I simply don't have the time to code it myself, as > > I've been t

wx module?

2007-09-11 Thread Dotan Cohen
wx ImportError: No module named wx [EMAIL PROTECTED]:~/Desktop/todo-manager-0.75.1/todo-manager-0.75.1$ Dotan Cohen http://what-is-what.com http://gibberish.co.il -- http://mail.python.org/mailman/listinfo/python-list

Re: wx module?

2007-09-11 Thread Dotan Cohen
False alarm, found it, sorry... -- http://mail.python.org/mailman/listinfo/python-list

Re: Extract information from HTML table

2007-04-01 Thread Dotan Cohen
ere are attributes to those tags. If you plan on ever reusing the code or the format of the HTML may change, then you are best off sticking with Beautiful Soup. Dotan Cohen http://lyricslist.com/ http://what-is-what.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor/IDE on Linux?

2007-04-14 Thread Dotan Cohen
gt; > development work on Linux and the distro I am using is Xubuntu. > > > > > > Why not IDLE? Because idle means no progress. Better use VI[M]. Dotan Cohen http://technology-sleuth.com/technical_answer/what_is_a_cellphone.html http://lyricslist.com/lyrics/artist_albums/345/me

Re: Python editor/IDE on Linux?

2007-04-14 Thread Dotan Cohen
t; Has anyone any experience with Python in Kate or Kdevelop? I program PHP and HTML in Kate and C in Kdevelop. Dotan Cohen http://what-is-what.com/what_is/website.html http://dotancohen.com/photoalbum/images/index.htm -- http://mail.python.org/mailman/listinfo/python-list

Cannot formulate regex

2007-09-16 Thread Dotan Cohen
I'd like to filter spam from a certain company. Here are examples of strings found in their spam: Mega Dik Mega D1k MegaDik Mega. Dik M eg ad ik M E _G_A_D_ IK M_E_G. ADI. K I figured that this regex would match all but the second example, yet it matches none: |[^a-z]m[^a-z]e[^a-z]g[^a-z]a[^a-z]d[

Re: Cannot formulate regex

2007-09-16 Thread Dotan Cohen
On 16/09/2007, Paul McGuire <[EMAIL PROTECTED]> wrote: > On Sep 16, 10:18 am, "Dotan Cohen" <[EMAIL PROTECTED]> wrote: > > I'd like to filter spam from a certain company. Here are examples of > > strings found in their spam: > > Mega Dik > > M

Re: Cannot formulate regex

2007-09-16 Thread Dotan Cohen
On 16/09/2007, Roel Schroeven <[EMAIL PROTECTED]> wrote: > FYI Kodos (http://kodos.sourceforge.net/) can be very useful for > developing, testing and debugging such regexes. Thanks, it's even in the Ubuntu repos. > If I have been able to see further, it was only because I stood > on the shoulders

Re: Science list

2007-11-29 Thread Dotan Cohen
ram that can > download posts in the background, then sort/thread/filter them as > desired. With the exception of Gmail. I really could not follow 20+ high volume lists (such as Python, PHP, Fedora, MySQL, OOo, and some other very high traffic lists) without Gmail. Dotan Cohen http://what-is

Re: Interfaces to high-volume discussion forums (was: Science list)

2007-11-30 Thread Dotan Cohen
On 30/11/2007, Ben Finney <[EMAIL PROTECTED]> wrote: > "Dotan Cohen" <[EMAIL PROTECTED]> writes: > > > On 29/11/2007, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > > > Regardless of what Google/Yahoo/M$/AOL want you to think, > > >

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 30/11/2007, Gerardo Herzig <[EMAIL PROTECTED]> wrote: > You will be eaten by the Snake-Ra god tonight! Wasn't Ra the Sun god? Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order i

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
ction/repulsion/catatonic revulsion effect it has with > different people from different cultural backgrounds. Better yet, call the language "sex". Do you have any idea what kind of publicity we'd get? Not to mention how many google searches. Dotan Cohen http://what-is-what.com

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
amming language, as it was inspired and meant to replace it. C++ is obviously C+1, ie, what comes after C. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q:

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
t; might be a great name, as it implies the meaning without actually saying it (as far as English speakers are concerned). That will be the name of my band if I ever have one... Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Beca

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 01/12/2007, Bjoern Schliessmann <[EMAIL PROTECTED]> wrote: > Strictly speaking, C++ evalutes to C, but C is incremented > afterwards. > :) I will remember that! Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

Re: "Python" is not a good name, should rename to "Athon"

2007-12-02 Thread Dotan Cohen
ed to... I just tried, and both "C" and "C++" gave relevant results. A few years ago, "C" would not return anything programming-related, and "C++" returned exactly the same results as "C". Google has improved (I say that weekly). Dotan Cohen http:

Re: "Python" is not a good name, should rename to "Athon"

2007-12-02 Thread Dotan Cohen
Are you aware of how he treated Hooke? > > He was a great technician, but as a person, you would > not have had him marry your sister. I'm still convinced that Leibniz _threw_ the apple at Newton's head. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט

Re: "Python" is not a good name, should rename to "Athon"

2007-12-02 Thread Dotan Cohen
, these were some of the most amazing and talented people that have been recognized. And even though Leonardo may seem out of place on that particular list, I assure you that he is not. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק

Re: "Python" is not a good name, should rename to "Athon"

2007-12-02 Thread Dotan Cohen
culus? I've seen it done. And Kepler wasn't proving his laws, he was devising them from measurements of the sky. From scratch. > There's no doubt that Newton was a genius and an important figure in the > history of science, but to describe him as a scientist is to distort both

Re: "Python" is not a good name, should rename to "Athon"

2007-12-05 Thread Dotan Cohen
On 04/12/2007, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > > "Dotan Cohen" wrote: > > > Newton was the bridge between science and superstition. Without him, > > we would not have science. For that he is notable. He is both magician > > and scientist

Re: Pascal code checker!

2007-12-12 Thread Dotan Cohen
that supports Pascal highlighting. Kate comes to mind. It's not written in Python, but it will have Pascal parsing code for the highlighter. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in wh

Re: a newbie regex question

2008-01-25 Thread Dotan Cohen
m. > for match in re.finditer(r'\([A-Z].+[a-z]\)', contents): > # Print what was matched > print match.group() Maybe you mean: for match in re.finditer(r'\([A-Z].+[a-z])\', contents): Note the last backslash was in the wrong place. Dotan Cohen http://what-i

Re: Why the HELL has nobody answered my question !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2008-02-02 Thread Dotan Cohen
On 31/01/2008, Shane Geiger <[EMAIL PROTECTED]> wrote: > The answer is here: > http://www.google.com/search?q=gene+expression+programming+python > Not anymore. Now, that page is all links to this thread! Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-

Re: PLEASE ACCEPT MY SINCERE APOLOGIES

2008-02-02 Thread Dotan Cohen
quite beyond > anything in this world. > > > David Blubaugh I unconditionally forgive you. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q:

Re: Python GUI toolkit

2008-02-03 Thread Dotan Cohen
tive on all systems. Opera, KDE, GoogleEarth, Acrobat, and lots of other software are written in Qt. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: W

Re: Python GUI toolkit

2008-02-03 Thread Dotan Cohen
only dabbling in the little that I need for my own personal use. You'll notice that I'm mostly a list lurker than poster, for this very reason. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft's challenger to Python

2008-02-07 Thread Dotan Cohen
On 08/02/2008, Peter Dilley <[EMAIL PROTECTED]> wrote: > I am not, however, an in depth language nutter, so would > appreciate any of our more learned readers comments. Looks like MS forgot E and E and went straight for E this time. Dotan Cohen http://what-is-what.com http://gibberi

Re: Microsoft's challenger to Python

2008-02-07 Thread Dotan Cohen
ble security bug will be found in the Linux version (because of a fault of Linux, no doubt). Almost certainly, the runtime environment will not be compatible with accepted licencing policies of popular Linux distributions, ensuring that said bug will never be fixed and will give MS lots of juicy FU

Re: Microsoft's challenger to Python

2008-02-08 Thread Dotan Cohen
with no knowledge about the Cobra project other than that which was stated in the original email of this thread, which purported Cobra to be a Microsoft project. Microsoft has a very long way to go before regaining my respect, support, or money. Dotan Cohen http://what-is-what.com http://gibberish

  1   2   3   >