Re: A small quiz

2020-01-24 Thread Mario R. Osorio
On Thursday, January 23, 2020 at 3:54:56 AM UTC-5, Z wrote:
> what is PLR?

PLR: Private Label Rights (https://en.wikipedia.org/wiki/Private_label_rights)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Congratulations to @Chris

2019-11-04 Thread Mario R. Osorio
On Thursday, October 24, 2019 at 4:29:59 PM UTC-4, Chris Angelico wrote:
> On Fri, Oct 25, 2019 at 7:20 AM DL Neil via Python-list
>  wrote:
> >
> > Chris Angelico: [PSF's] 2019 Q2 Community Service Award Winner
> > http://pyfound.blogspot.com/2019/10/chris-angelico-2019-q2-community.html
> >
> > ...and for the many assistances and pearls of wisdom he has contributed
> > 'here'!
> 
> Thanks! It's been great hanging out on these channels/lists/whatever
> you call 'here'. I originally joined python-list in relation to a
> project that moved away from Python, then got badly bogged down in
> everyone's favourite problem, scope creep. And then it died. But in
> the meantime, I was very much appreciating the community here, and
> both learning and contributing. It's been an awesome ride, and I've
> learned so much from so many people here.
> 
> So, a big thank you to all the regulars here - you know who you are -
> and also to the occasional contributors too. (I feel like I'm thanking
> everyone at the end of a live stream or something, but it's true -
> lurkers are important too.)
> 
> ChrisA

Enhorabuena!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Do I need a parser?

2019-07-02 Thread Mario R. Osorio
On Saturday, June 29, 2019 at 8:40:06 AM UTC-4, josé mariano wrote:
> Dear all,
> 
> I'm sure that this subject has been addressed many times before on this 
> forum, but my poor knowledge of English and of computer jargon and concepts 
> results on not being able to find the answer i'm looking for when I search 
> the forum. 
> 
> So here is my problem: I have this open source project for the scientific 
> community were i want to duplicate an old MS-DOS application written in 
> Fortran. I don't have the source code. The idea is to re-write the software 
> in Python. Originally, the old application would would need to input files: 
> one config file, written with a specific format (see below) and a second one, 
> the so-called scrip file, that defines the sequence of operations to be 
> performed by the main software, also written in a specific format. 
> 
> To make the transition to the new application as painless as possible to the 
> users, because most of them have their collection of scrips (and settings) 
> developed over the years and are not willing to learn a new script language, 
> I would like to make the new app 100% compatible with the old input files.
> 
> The operation of the new software would be like this: From the shell, run 
> "my_new_software old_script_file.***". The new software would load the 
> old_script, parse it (?), set the internal variables, load the script and run 
> it.
> 
> So, to get to my questions: 
> 
> - To load and read the config file I need a parser, right? Is their a parser 
> library where we can define the syntax of the language to use? Are there 
> better (meaning easier) ways to accomplish the same result?
> 
> - For the interpretation of the script file, I don't have any clue how to 
> this... One important thing, the script language admits some simple control 
> flow statements like do-wile, again written using a specific sintax. 
> 
> Thanks a lot for the help and sorry for the long post.
> 
> Mariano
> 
>   
> 
> Example of a config (settings) file
> 
> .
> CONDAD -11
> BURAD2 4 SALT1 1.0 KNO3
> ELEC5  -2.0 mV 400 58 0. 0
> .
> 
> 
> Example of a script
> ===
> !Conductivity titration
> cmnd bur1 f
> set vinit 100
> set endpt 2000
> set mvinc 20
> set drftim 1
> set rdcrit cond 0.5 per_min
> set dosinc bur1 0.02 1000
> set titdir up
> titratc cond bur1

Jose,

You've had already very good advise; all I wanted to do is recommend the use of 
PyParsing (https://github.com/pyparsing/pyparsing).

It helped me a lot in creating and parsing a simple grammar I had to implement 
in a personal project. If you've ever used lex or yacc you'll appreciate 
PyParsing's simplicity. Of course, as with anything else; there is a (rather 
small) learning curve
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: help plz

2019-05-14 Thread Mario R. Osorio
On Monday, May 13, 2019 at 8:32:38 AM UTC-4, Tristan Cribaro wrote:
> [image: image.png]so I have a project I have to work on that is due
> tomorrow for a lot of points towards my grade. The issue here is I've been
> trying to download Pillow and simple audio for my project and I keep
> getting the same error. any ideas? i use pycharm

The most common error I've seen while installing Pillow is due to the fact that 
you need to be able to compile part of its code and you might not have that 
privilege in your working environment.

However, that is just a wild guess and you do need to give us more information.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python program to phone?

2019-02-08 Thread Mario R. Osorio
I am not an expert in BeeWare (I've never used it) but I've read a good
portion of their documentation and find it very interesting to say
the least. I am looking forward using it in the very near future.

On Fri, Feb 8, 2019 at 11:06 AM Mario R. Osorio 
wrote:

> You will need to have java. BeeWare's VOC tool, a transpiler from python
> to java, will do all the work for you so you don't even have know anything
> about java, except installing and setting it up for your environment
>
> Dtb/Gby
> ===
> Mario R. Osorio
> B.A.S. of Information Technology
> A.S. of Computer Programming and Analysis
> Web page: *http;//mario.osorio.solutions
> <http://http%3B//mario.osorio.solutions>*
> Email: *mario@osorio.solutions* 
> *Just Choose Python!* <http://www.gentoogeek.org/files/choose_python.pdf>
>
> “If I had asked people what they wanted, they would have said faster
> horses.”
>  ― Henry Ford
>
>
>
>
> <http://goo.gl/t2Hzgo>
> <https://m.do.co/c/63e2415dab7b>
>
>
> On Thu, Feb 7, 2019 at 11:00 PM Steve  wrote:
>
>> BeeWare looks as if it requires Java, does it?
>> Is it exclusively java?
>>
>> =
>> Footnote:
>> Zamboni locks up after running into large patch of loose teeth.
>>
>> -Original Message-
>> From: Python-list  On
>> Behalf Of Mario R. Osorio
>> Sent: Tuesday, February 5, 2019 8:58 AM
>> To: python-list@python.org
>> Subject: Re: Python program to phone?
>>
>>
>> Hi there Steve. Did you check BeeWare? (https://pybee.org/)
>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python program to phone?

2019-02-08 Thread Mario R. Osorio
You will need to have java. BeeWare's VOC tool, a transpiler from python to
java, will do all the work for you so you don't even have know anything
about java, except installing and setting it up for your environment

Dtb/Gby
===
Mario R. Osorio
B.A.S. of Information Technology
A.S. of Computer Programming and Analysis
Web page: *http;//mario.osorio.solutions
<http://http%3B//mario.osorio.solutions>*
Email: *mario@osorio.solutions* 
*Just Choose Python!* <http://www.gentoogeek.org/files/choose_python.pdf>

“If I had asked people what they wanted, they would have said faster
horses.”
 ― Henry Ford




<http://goo.gl/t2Hzgo>
<https://m.do.co/c/63e2415dab7b>


On Thu, Feb 7, 2019 at 11:00 PM Steve  wrote:

> BeeWare looks as if it requires Java, does it?
> Is it exclusively java?
>
> =
> Footnote:
> Zamboni locks up after running into large patch of loose teeth.
>
> -Original Message-----
> From: Python-list  On
> Behalf Of Mario R. Osorio
> Sent: Tuesday, February 5, 2019 8:58 AM
> To: python-list@python.org
> Subject: Re: Python program to phone?
>
>
> Hi there Steve. Did you check BeeWare? (https://pybee.org/)
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python program to phone?

2019-02-05 Thread Mario R. Osorio


Hi there Steve. Did you check BeeWare? (https://pybee.org/)

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How do I get a python program to work on my phone?

2019-01-30 Thread Mario R. Osorio
You might want to check this project: https://pybee.org/

I've never used it but it shows promising.

BTW, I'm a diabetic myself and I would be very thankful if you could share your 
application.

I'm currently using 2 Android apps:

StickBuddy offers a system to keep track of both where you pinch your fingers 
and where you inject insulin thus avoiding injecting or pinching repeatedly in 
the same locations. 

Insulator is a quick and dirty insuline intake calculator.

They are both great but I'd like to have them in a single app that would 
immediately calculate the insuline needed according to the reading I just enter.

StickBuddy has a lot of other interesting goodies; It also helps me keep track 
of my carbohydrate intake.

Both apps are free.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Recommendations for a novice user.

2019-01-08 Thread Mario R. Osorio
On Wednesday, January 2, 2019 at 1:05:44 PM UTC-5, Hüseyin Ertuğrul wrote:
> I don't know the software language at all. What do you recommend to beginners 
> to learn Python.
> What should be the working systematic? How much time should I spend every day 
> or how much time should I spend on a daily basis.
> 
> Is there any such systematic implementation and success?
> 
>   İyi Çalışmalar...
>   Hüseyin ERTUGRUL
>   Teknik Servis Müdürü
>   Piramit Bilgisayar & Teknoloji
>   Sis. San. Tic. Ltd. Şti
> 
> 
> 
>   TEL:212-480 0 660
>   FAX:212-544 66 95
>   MOBILE:   543-328 68 15
>   E-MAİL:huse...@piramit.com.tr
>   HTTP:  www.piramit.com.tr
> 
>   Topkapı-Maltepe cad.
>   Canayakın İş Merkezi
>   B/Blok No:11
>   Bayrampaşa/ İstanbul 34030 TURKIYE
> 
>   P Bu dokümanı yazıcıya göndermeden önce lütfen kağıt üretimi için kesilen 
> ağaçları bir kez daha düşünün!

I have bought a few courses from udemy (https://www.udemy.com/) on different 
matters. They are not necessarily the best but for $10 a course you are really 
getting your money's worth and in my experience, some of these courses are a 
great start.

In reviewing this courses, those by Jose Portilla are the best. The guy is a 
python professional. Of course, there are others.

Once you get acquainted with the language and the community (which is not 
perfect but still the best I've ever found); you will be able to discern your 
next steps

Good luck!

P.D.: I have not relationship or connection to udemy, other than being a 
satisfied customer
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Kivy native GUI examples

2019-01-08 Thread Mario R. Osorio
On Monday, January 7, 2019 at 9:52:03 AM UTC-5, Dave wrote:
> I need to select a Python GUI.  It needs to cover all of the desktops 
> (Linux, Windows, Apple) and hopefully mobile (Android and Ios).  I'm 
> looking at Kivy, but have yet to find an example app. that has a native 
> looking GUI (Windows, Mac, Linux/Gnome/KDE).  Is that possible and 
> anyone know of some examples?
> 
> Thanks,
> Dave

You might want to take a look into this project: BeeWare (https://pybee.org/)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: help me in a program in python to implement Railway Reservation System using file handling technique.

2018-11-26 Thread Mario R. Osorio
On Saturday, November 24, 2018 at 1:44:21 AM UTC-5, Chris Angelico wrote:
> On Sat, Nov 24, 2018 at 5:36 PM  wrote:
> >
> > hello all,
> >  please hepl me in the above program. python to implement Railway 
> > Reservation System using file handling technique.
> >
> > System should perform below operations.
> > a. Reserve a ticket for a passenger.
> > b. List information all reservations done for today’s trains.
> 
> We won't do your homework for you. Have a shot at writing it yourself
> first, and then if you need help, bring specific questions to the
> list.
> 
> ChrisA

Specially not for an Assistant Professor at SMT.R.O.PATEL WOMEN'S MCA COLLEGE 
holding an MBA and a BCA...

Shame on you Jasmin!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Mario R. Osorio
On Friday, July 13, 2018 at 11:16:44 AM UTC-4, Bart wrote:
> On 13/07/2018 13:33, Steven D'Aprano wrote:
> > On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote:
> > 
> >> (** Something so radical I've been using them elsewhere since forever.)
> > 
> > And you just can't resist making it about you and your language.
> 
> And you can't resist having a personal dig.
> 
> You and others have given me some flak for bringing up certain simple 
> features which I believe to be missing from Python, and there are 
> endless discussions about why Python doesn't need them, with the fact 
> that Python is so successful being the ultimate proof.
> 
> And now lo and behold one of those basic features is green-lighted to be 
> added to the language (although apparently with stiff opposition).
> 
> BTW many language features I use including that one where inspired by 
> Algol-68, while the use of ":=" for all assignments was pioneered even 
> earlier; hardly my inventions.
> 
> And actually, even C has assignment-expressions so anyone who's coded in 
> C for decades could have said the same thing.
> 
> > "Hey Bart, did you hear? Nuclear war just broke out between Russia and
> > Britain. Dozens of cities are aflame, tens of millions are dead across
> > Europe, and a cloud of radioactive smoke is heading our way!"
> 
> Sorry, I thought this was a technical language newsgroup not about 
> current affairs.

You've made it a current affair issue...
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: for info

2018-02-01 Thread Mario R. Osorio
On Wednesday, January 31, 2018 at 10:55:59 AM UTC-5, M.Haroon Ali wrote:
> from where we learn python for free of cost. i am begineer in python.plzz 
> help me

And after you're done with the OFFICIAL tutorials; there thousands of excellent 
free tutorials online. Just do some research.

If you're more of the 'visual' person, you can also find tutorials in youtube. 
http://udemy.com also offers many free courses.

HTH
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python homework

2017-12-07 Thread Mario R. Osorio



On Tuesday, December 5, 2017 at 8:33:52 PM UTC-5, nick martinez wrote:
> I have a question on my homework. My homework is to write a program in which 
> the computer simulates the rolling of a die 50
> times and then prints
> (i). the most frequent side of the die
> (ii). the average die value of all rolls. 
> I wrote the program so it says the most frequent number out of all the rolls 
> for example (12,4,6,14,10,4) and will print out "14" instead of 4 like I need.
> This is what I have so far:
> import random
> 
> def rollDie(number):
> rolls = [0] * 6
> for i in range(0, number):
> roll=int(random.randint(1,6))
> rolls[roll - 1] += 1
> return rolls
> 
> if __name__ == "__main__":
> result = rollDie(50)
> print (result)
> print(max(result))

Just my 2 cents:

import random

def rollDie(number):
rolls = {1:0, 2:0, 3:0, 4:0, 5:0, 6:0}
for i in range(0, number):
roll=int(random.randint(1,6))
rolls[roll] += 1
return rolls

if __name__ == "__main__":
rolls = rollDie(50)
most_rolled = rolls[max(rolls, key=lambda i: rolls[i])]
top_rollers = [k for k,v in rolls.items() if v == most_rolled]
print('The dice rolled: %s' % (rolls,))
if len(top_rollers) > 1:
message = 'The sides with most hits are %s, with %i hits each.'
else:
message = 'The side with most hits is %s, with %i hits'
print(message % (top_rollers, most_rolled))

# Sample output:
# The dice rolled: {1: 10, 2: 10, 3: 7, 4: 7, 5: 10, 6: 6}
# The sides with most hits are [1, 2, 5], with 10 hits each.
#
# The dice rolled: {1: 7, 2: 11, 3: 10, 4: 6, 5: 8, 6: 8}
# The side with most hits is [2], with 11 hits

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Is there something like head() and str() of R in python?

2017-11-20 Thread Mario R. Osorio
On Sunday, November 19, 2017 at 2:05:12 PM UTC-5, Peng Yu wrote:
> Hi, R has the functions head() and str() to show the brief content of
> an object. Is there something similar in python for this purpose?
> 
> For example, I want to inspect the content of the variable "train".
> What is the best way to do so? Thanks.
> 
> $ cat demo.py
> from __future__ import division, print_function, absolute_import
> 
> import tflearn
> from tflearn.data_utils import to_categorical, pad_sequences
> from tflearn.datasets import imdb
> 
> # IMDB Dataset loading
> train, test, _ = imdb.load_data(path='imdb.pkl', n_words=1,
> valid_portion=0.1)
> 
> # 
> https://raw.githubusercontent.com/llSourcell/How_to_do_Sentiment_Analysis/master/demo.py
> 
> -- 
> Regards,
> Peng

Python is very good at giving you a string representation of any object. 
However, such capabilities do fall short every now and then. That is why when 
defining your own classes, you must also override the __init__() and _-repr__() 
methods so you can get a better suited string representation of such objects.

You can read more at: 
https://stackoverflow.com/questions/12448175/confused-about-str-in-python
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Your feedback on our free Advanced Python tutorial

2017-07-21 Thread Mario R. Osorio
It would be nice if you made it more 'readable' the light gray foreground color 
of the text makes it very uncomfortable to read, at least to me.

Take a look at: HOW THE WEB BECAME UNREADABLE 
https://www.wired.com/2016/10/how-the-web-became-unreadable/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Bigotry and hate speech on the python mailing list

2017-04-18 Thread Mario R. Osorio
On Monday, April 17, 2017 at 10:27:50 PM UTC-4, Rurpy wrote:
> On 04/17/2017 04:38 AM, Ben Finney wrote:
> > Rurpy via Python-list  writes:
> > 
> >> A couple weeks ago a frequent poster here (Steve D'Aprano
> >> ) called another participant an "ugly
> >> american" [*1].
> > 
> > He gave no explicit reference, and so I can see why you would think he
> > did what you describe.
> > 
> > In fact, though, Steven in the message you link to stated:
> > 
> > If you think that all these people, and hundreds of millions more,
> > will just "quietly change the filename" to ASCII because you're too
> > lazy, self-centred and arrogant to move on from 1963, then you truly
> > are an example of the Ugly American.
> > 
> > Again, it's not stated explicitly what Steven is referring to, so I can
> > see why you would initially be confused.
> 
> There is no confusion on my part.  I don't like SJ discussions in technical 
> newsgroups any more than you or anyone else here.  I read the relevant posts 
> multiple times and thought long and carefully before deciding a response was 
> necessary.
> 
> > But by now, with plenty of time to look into what was actually being
> > discussed, surely you have noticed that Steven was *not* using physical
> > appearance as an insult; nor was he using mere national origin as an
> > insult.
> > 
> > Rather, the message is a reference to the Ugly American. Note the
> > capitals Steven used; that is how a title is spelled.
> > 
> > The title “Ugly American” is a reference to a stereotypical *attitude
> > and behaviour*, given that name by the 1958 political novel of the same
> > name .
> 
> I am and was well aware Mr. D'Aprano's reference was to the book and
> derivative stereotype.  I am also aware that book titles are usually 
> capitalized.  
> 
> (Just as an FYI that you might find useful... I find your response to
> be rather condescending in tone.  I have a thick skin and am not easily
> offended so no apology necessary but you might want to think about
> your communication style sometime.)
> 
> > This is not using ugliness, nor American nationality, as an insult. It
> > is a reference to objectionable behaviour as Steven described.
> >
> > Whether you agree that the behaviour described is objectionable, you can
> > hopefully agree that naming objectionable behaviour to discourage it, is
> > not in itself something to be discouraged.
> 
> Both now and in your original apologia for Steven [*1] you fail 
> to recognize that there are different ways to point out what one
> considers to be objectionable behavior.
> 
> Saying that committing crimes is bad, is one thing.  Employing 
> the stereotype of African-Americans as criminals and saying that 
> one shouldn't act like some black drug-dealing pimp is not. [*2]
> 
> > I can fault Steven for assuming that the reader would, by the novel's
> > title alone, know of a mid-20th century novel reference or the
> > stereotype it describes. That's not a breach of PSF CoC.
> > 
> > I can fault Steven for assuming that those who *don't* get the reference
> > would not leap to the conclusion you've leapt to: that he was using
> > national origin as an insult. That assumption on his part is
> > unfortunate, and perhaps an apology would be good. Regardless of that,
> > it is not a breach of the PSF CoC.
> 
> You are focusing here on minor issues, rather like criticizing 
> a bank robber for not stopping at a stop sign during his getaway.
> 
> And let me repeat what I said above: I leapt to no conclusions; I 
> thought carefully before replying.  Your presumption that I am just 
> confused because I didn't get his reference is completely off the 
> mark.
> 
> > What I can't fault him for is using national origin as a verbal weapon.
> > He simply did not do that in the message you link to.
> 
> He used a stereotype based on national origin to attack someone
> whose views he did not agree with.  He subsequently used a different 
> stereotype based on age to dispute a view he didn't agree with.
> In both cases he could have made his point without dragging in 
> millions of other people who he implicitly criticizes on an issue
> that is mostly subjective and opinion.
> 
> Both are fairly called bigotry as can be demonstrate by transposing 
> the statements to other target groups we are more sensitive to
> bigotry towards.
> 
> Both are in conflict with the PSFs CoC and Diversity statement.
> You may nit-pick the words used to describe it, or its importance
> but the facts are pretty clear.
> 
> >> Further, failure to censure Mr. D'Apano's comments communicates that
> >> bigotry is acceptable here which understandably would give pause to
> >> members of other groups often subject to bigotry.
> > 
> > Similarly, my elaboration here – to give it the prominence you rightly
> > say that the original sub-thread did not achieve – should 

Re: PYTHON

2017-04-07 Thread Mario R. Osorio
On Thursday, April 6, 2017 at 8:43:48 AM UTC-4, alders...@gmail.com wrote:
> Hello, how can I start programming?

http://www.lmgtfy.com/?q=Hello%2C+how+can+I+start+programming%3F
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Spam user

2017-04-01 Thread Mario R. Osorio
I'm not in the business of starting an argument about best/worse newsreader, 
Ammammata, but could you please recommend a few?

TIA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: The hardest problem in computer science...

2017-01-06 Thread Mario R. Osorio
On Friday, January 6, 2017 at 8:45:41 PM UTC-5, Mario R. Osorio wrote:
> On Friday, January 6, 2017 at 10:37:40 AM UTC-5, Ethan Furman wrote:
> > On 01/06/2017 05:03 AM, Steve D'Aprano wrote:
> > 
> > > what do we call the vertical and horizontal line elements? I want to make
> > > them configurable, which means the user has to be able to pass an argument
> > > that specifies them. I have names for the individual components:
> > >
> > > XXX = namedtuple("XXX", "vline tee corner")
> > >
> > > default_YYY = XXX("│  ", "├─ ", "└─ ")
> > > bold_YYY = XXX("┃  ", "┣━ ", "┗━ ")
> > > ascii_YYY = XXX("|  ", "|- ", "+- ")
> > >
> > > def draw_tree(tree, YYY=default_YYY):
> > >  ...
> > >
> > > but what do I call XXX and YYY?
> > 
> > Looks like horizontal, vertical, and corner are as groups -- so I would 
> > call YYY "style" and XXX "default", "bold", and "ascii".
> > 
> > --
> > ~Ethan~
> 
> back in the days of CPM this group was referred to as "box characters", and 
> each of them were called as follows:
> 
> "│": vertical_line, v_line
> 
> "├─": left_intersection, l_intersection, left_tee, l_tee
> 
> "└─": bottom_left_corner, bl_corner
> 
> [...and son on...]
> 
> (the names also apply to the combination of lower ascii characters)



NOW ... in particular this case I'd call them:

"│": vertical_line, v_line
 
"├─": node
 
"└─": last_node, l_node

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: The hardest problem in computer science...

2017-01-06 Thread Mario R. Osorio
On Friday, January 6, 2017 at 10:37:40 AM UTC-5, Ethan Furman wrote:
> On 01/06/2017 05:03 AM, Steve D'Aprano wrote:
> 
> > what do we call the vertical and horizontal line elements? I want to make
> > them configurable, which means the user has to be able to pass an argument
> > that specifies them. I have names for the individual components:
> >
> > XXX = namedtuple("XXX", "vline tee corner")
> >
> > default_YYY = XXX("│  ", "├─ ", "└─ ")
> > bold_YYY = XXX("┃  ", "┣━ ", "┗━ ")
> > ascii_YYY = XXX("|  ", "|- ", "+- ")
> >
> > def draw_tree(tree, YYY=default_YYY):
> >  ...
> >
> > but what do I call XXX and YYY?
> 
> Looks like horizontal, vertical, and corner are as groups -- so I would call 
> YYY "style" and XXX "default", "bold", and "ascii".
> 
> --
> ~Ethan~

back in the days of CPM this group was referred to as "box characters", and 
each of them were called as follows:

"│": vertical_line, v_line

"├─": left_intersection, l_intersection, left_tee, l_tee

"└─": bottom_left_corner, bl_corner

[...and son on...]

(the names also apply to the combination of lower ascii characters)


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: need some kind of "coherence index" for a group of strings

2016-11-03 Thread Mario R. Osorio
I don't know much about these topics but, wouldn't soundex do the job??

 On Thursday, November 3, 2016 at 12:18:19 PM UTC-4, Fillmore wrote:
> Hi there, apologies for the generic question. Here is my problem let's 
> say that I have a list of lists of strings.
> 
> list1:#strings are sort of similar to one another
> 
>my_nice_string_blabla
>my_nice_string_blqbli
>my_nice_string_bl0bla
>my_nice_string_aru
> 
> 
> list2:#strings are mostly different from one another
> 
>my_nice_string_blabla
>some_other_string
>yet_another_unrelated string
>wow_totally_different_from_others_too
> 
> 
> I would like an algorithm that can look at the strings and determine 
> that strings in list1 are sort of similar to one another, while the 
> strings in list2 are all different.
> Ideally, it would be nice to have some kind of 'coherence index' that I 
> can exploit to separate lists given a certain threshold.
> 
> I was about to concoct something using levensthein distance, but then I 
> figured that it would be expensive to compute and I may be reinventing 
> the wheel.
> 
> Thanks in advance to python masters that may have suggestions...

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Build desktop application using django

2016-10-17 Thread Mario R. Osorio
On Monday, October 17, 2016 at 1:00:14 PM UTC-4, John Gordon wrote:
> In  
> ayuchitsalu...@gmail.com writes:
> 
> > Hello I want to build a desktop application which retrieves data from
> > server and stores data on server. I have basic experience of python and
> > I dont know how to build that thing.
> 
> The term "desktop application" generally means something which runs
> locally on your computer, such as Microsoft Word or a game.
> 
> But Django is for building websites, not local applications.
> 
> So Django probably isn't what you want.
> 
> -- 
> John Gordon   A is for Amy, who fell down the stairs
> gor...@panix.com  B is for Basil, assaulted by bears
> -- Edward Gorey, "The Gashlycrumb Tinies"

Then again, nothing stops you from creating a Django app and run it locally 
with the development server...
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Build desktop application using django

2016-10-16 Thread Mario R. Osorio
On Sunday, October 16, 2016 at 1:42:23 PM UTC-4, Ayush Saluja wrote:
> Hello I want to build a desktop application which retrieves data from server 
> and stores data on server. I have basic experience of python and I dont know 
> how to build that thing.

I agree with Martin's suspicion on you having no idea of what the F you are 
talking about. Nevertheless, I'm throwing in my 2 cents:

http://dabodev.com/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can this be easily done in Python?

2016-09-28 Thread Mario R. Osorio
I'm not sure I understand your question, but I 'think' you area talking about 
executing dynamically chunks of code. If that is the case, there are a couple 
of ways to do it. These are some links that might interest you:

http://stackoverflow.com/questions/3974554/python-how-to-generate-the-code-on-the-fly

http://stackoverflow.com/questions/32073600/python-how-to-create-a-class-name-on-the-fly

http://lucumr.pocoo.org/2011/2/1/exec-in-python/


On Tuesday, September 27, 2016 at 3:58:59 PM UTC-4, TUA wrote:
> Is the following possible in Python?
> 
> Given how the line below works
> 
> TransactionTerms = 'TransactionTerms'
> 
> 
> have something like
> 
> TransactionTerms = 
> 
> that sets the variable TransactionTerms to its own name as string 
> representation without having to specify it explicitly as in the line 
> above

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: datetime vs Arrow vs Pendulum vs Delorean vs udatetime

2016-08-06 Thread Mario R. Osorio
... so you decided to start the post already hijacked by yourself ...

very clever!!


On Friday, August 5, 2016 at 8:19:53 PM UTC-4, bream...@gmail.com wrote:
> On Friday, August 5, 2016 at 7:15:37 PM UTC+1, DFS wrote:
> > On 8/4/2016 6:41 PM, breamore...@gmail.com wrote:
> > > Fascinating stuff here
> > > https://aboutsimon.com/blog/2016/08/04/datetime-vs-Arrow-vs-Pendulum-vs-Delorean-vs-udatetime.html
> > >
> > >  I hereby ask that only people who know and use Python reply, not the
> > > theoretical idiots who could not fight their way out of a wet paper
> > > bag.  Thank you.
> > >
> > > Kindest regards.
> > >
> > > Mark Lawrence.
> > 
> > 
> > What would really be nice is if the idiot who asked for a reply actually 
> > posed a question.
> 
> I do not need to ask questions, I simply put the reference forward as being 
> interesting.  Regretably so many threads are now hijacked so rather than 
> discussing Python, which everything in the reference does, the people who are 
> more interested in the theory than the practice take over, such that the next 
> thing you know you're discussing anything except Python.  I'll be blunt, I 
> don't give a crap about Scheme, Lisp, Pike, Go, Rust, or any other language 
> on this, the main *PYTHON* mailing list/newsgroup.  I further don't give a 
> crap about filosofy.  In future can we please keep this place to discussing 
> Python.  If you want to discuss something else, why not go and find a more 
> suitable venue, whereby, for example, you can chat about the problems with 
> Unicode in Python3 with the RUE to your hearts content?
> 
> Kindest regards.
> 
> Mark Lawrence.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Fraud

2016-04-16 Thread Mario R. Osorio
Mel: Portuguese for honey
Drosis: from Greek hidrōs; to sweat
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Moderation and Usenet

2016-04-10 Thread Mario R. Osorio
On Sunday, April 10, 2016 at 2:01:00 PM UTC-4, Terry Reedy wrote:
> On 4/10/2016 1:05 PM, Ethan Furman wrote:
> 
> > If you see offensive posts from him  on the Usenet side please do not
> > respond.
> 
> Just a reminder for those who, like me, prefer a newsgroup interface for 
> python-list: gmane.comp.python.general at news.gmane.org mirrors the 
> moderated output of python-list.  (Gmane does the same for 1000s of 
> tecnhical lists.)  I believe that posts submitted from gmane are sent to 
> the list *first*, and never appear on the gmane mirror until they appear 
> on the list.  Thus one will not see and cannot accidentally respond to a 
> post that did not appear on the list.  One gets the benefits of list 
> moderation without a flooded mailbox.
> 
> -- 
> Terry Jan Reedy
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Moderation and Usenet

2016-04-10 Thread Mario R. Osorio
hmmm...He made an extremely kind comment a couple of days ago. It called my 
attention because is the first one ever (coming from) ... Now I'm thinking he 
might have just been sarcastic.

And BTW I myself have given a couple of sour responses every now and then. I 
guess we all have our bad days or moments. It's just that Mark's are much too 
often.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Interpretation

2016-03-26 Thread Mario R. Osorio
On Saturday, March 26, 2016 at 5:59:04 AM UTC-4, Dennis Ngeno wrote:
> My programs have never combile, they keep telling me , systax error even
> after copy pasting

No pun intended, but I hope you are not typing your code like you typed your 
message.

OTOH, python code is not supposed to be compiled.

Another tip: If you really are copying and pasting, I'd recommend you first 
paste the code to the text editor of your like and MAKE SURE YOU ARE NOT MIXING 
SPACES AND TAB CHARACTERS FOR INDENTATION PURPOSES.

Use either, or but do not mix them, specially not on the same line. IMHO, it is 
best to always use spaces, but some people do prefer tabs.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Case Statements

2016-03-15 Thread Mario R. Osorio
On Tuesday, March 15, 2016 at 9:55:27 PM UTC-4, jj0ge...@gmail.com wrote:
> You have apparently mistaken me for someone who's worried.  I don't use 
> Python, I was just curious as to why a construct that is found, not only to 
> be useful in 95% of other languages, but is generally considered more 
> flexible and readable than the if-elif, was missing in Python.  (your link 
> "Switch Statement Code Smell" not withstanding)
> 
> Have a great day :)

Switch and case statements are such a waste of time that, in order to 
understand them you have to mentally use if/elseif/else/endif statements. 
Furthermore, the concepts of switch and case could not even exist without the 
notion of if/elseif/else/endif statements. Why then, add an extra level of 
complication??.

Go play with Java or Maybe C++. Have fun with their fancy if/elseif/else/endif 
statements oops, sorry, they call them switch and/or case statements.

Wish you the best and please lete us know if and when you have a deep fall 
through a breakeless case ... You must love debugging those ... they are fun, 
specially a 4:30am, with an hour and a half to deploy...
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: ANN: Wing IDE 5.1.10 released

2016-03-04 Thread Mario R. Osorio
On Friday, February 26, 2016 at 9:57:21 AM UTC-5, Wingware wrote:
> Hi,
> 
> Wingware has released version 5.1.10 of Wing IDE, our cross-platform 
> integrated development environment for the Python programming language.
> 
> Wing IDE features a professional code editor with vi, emacs, visual 
> studio, and other key bindings, auto-completion, call tips, 
> context-sensitive auto-editing, goto-definition, find uses, refactoring, 
> a powerful debugger, version control, unit testing, search, project 
> management, and many other features.
> 
> This release includes the following minor improvements:
> 
>  Fix issues with Django app creation
>  French localization updates (thanks to Jean Sanchez)
>  Improve analysis cache performance
>  Don't specify Qt dependencies in Debian packages
>  Fix occasional hangs when debugging multi-threaded code
>  Fix display of decimal instances in stack data
>  Don't hide the auto-completer when a debug process exits or on 
> other events that cause update of menus and toolbars
>  Don't show duplicate entries for the same file in Compare to Repository
>  Fix crash triggered by some mako files
>  Fix problem with inspection of bound methods in Python 3
>  12 other bug fixes
> 
> For details see http://wingware.com/news/2016-02-25 and 
> http://wingware.com/pub/wingide/5.1.10/CHANGELOG.txt
> 
> What's New in Wing 5.1:
> 
> Wing IDE 5.1 adds multi-process and child process debugging, syntax 
> highlighting in the shells, support for pytest, Find Symbol in Project, 
> persistent time-stamped unit test results, auto-conversion of indents on 
> paste, an XCode keyboard personality, support for Flask, Django 1.7, 
> 1.8, and 1.9, Python 3.5 and recent Google App Engine versions, improved 
> auto-completion for PyQt, recursive snippet invocation, and many other 
> minor features and improvements.
> 
> Free trial: http://wingware.com/wingide/trial
> Downloads: http://wingware.com/downloads
> Feature list: http://wingware.com/wingide/features
> Sales: http://wingware.com/store/purchase
> Upgrades: https://wingware.com/store/upgrade
> 
> Questions?  Don't hesitate to email us at supp...@wingware.com.
> 
> Thanks,
> 
> -- 
> 
> Stephan Deibel
> Wingware | Python IDE
> 
> The Intelligent Development Environment for Python Programmers
> 
> wingware.com

You seem to be offering a great product; I've read quite a few very nice 
reviews; but your messages area misleading; you should label them as 
ADVERTISEMENT
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: The Real-Time Use of Python in Data Science World!

2016-03-04 Thread Mario R. Osorio
On Friday, February 26, 2016 at 2:36:26 PM UTC-5, Anita Goyal wrote:
> This course will help you to expertise the usage of Python in Data Science 
> world.
> 
> Carter your Python Knowledge so that it can be utilized to get the Insights 
> of Data using Methodologies and Techniques of Data Science...
> 
> Objective:
> Understand the concepts of Data science and Python
> You will be able to use Python in Discovering Data.
> You will have an idea of Statistical and Analytical methods to deal with huge 
> data sets.
> You will gain an expertise on Regular Expressions, looping functions and 
> concepts of Object Oriented Programming.
> You will be able to create business algorithms and data models using Python 
> and it's techniques.
> Work on Real-life Projects will help you to get a practical experience of 
> real scenarios of IT Industry.
> 
> Start learning Python for Data Science from basics to advance levels here...
> https://goo.gl/070wXw

Grey area, very dark grey area, just like the guys from wing ide, their last 
posting is "ANN: Wing IDE 5.1.10 released"; they should also label it as 
advertisement
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [Off-topic] Requests author discusses MentalHealthError exception

2016-02-29 Thread Mario R. Osorio
On Saturday, February 27, 2016 at 4:39:12 AM UTC-5, Steven D'Aprano wrote:
> The author of Requests, Kenneth Reitz, discusses his recent recovery from a
> MentalHealthError exception.
> 
> http://www.kennethreitz.org/essays/mentalhealtherror-an-exception-occurred
> 
> Although the connection to Python is only quite slim, I found it fascinating
> to read.
> 
> 
> 
> -- 
> Steven


Live and let live, but DO learn from other's experiences in the mean time 
otherwise, your life has been wasted.

If you are one of those "hyper-intelligent pan-dimensional beings", good for 
you! but I think he made it very clear that is NOT what he should have been 
into.

Larry, you seem to know nothing about the mental health system(s) and might 
actually be in desperate need for help.

I myself have been helped A LOT with the right combination of psychologists, 
psychiatric doctors and medication.

You just have to be careful when selecting those professionals.

Larry ... just get a life ... for yourself.

(OH, and avoid new age and the such!!)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Make a unique filesystem path, without creating the file

2016-02-15 Thread Mario R. Osorio
I would create a RAM disk 
(http://www.cyberciti.biz/faq/howto-create-linux-ram-disk-filesystem/), 
generate all the path/files I want with any, or my own algorithm, run the 
tests, unmount it, destroy it, be happy ... Whats wrong with that?? AFAIK, RAM 
disks do not get logged, and even if they do, any "insecure" file created would 
also be gone.



On Sunday, February 14, 2016 at 4:46:42 PM UTC-5, Ben Finney wrote:
> Howdy all,
> 
> How should a program generate a unique filesystem path and *not* create
> the filesystem entry?
> 
> The 'tempfile.mktemp' function is strongly deprecated, and rightly so
> 
> because it leaves the program vulnerable to insecure file creation.
> 
> In some code (e.g. unit tests) I am calling 'tempfile.mktemp' to
> generate a unique path for a filesystem entry that I *do not want* to
> exist on the real filesystem. In this case the filesystem security
> concerns are irrelevant because there is no file.
> 
> The deprecation of that function is a concern still, because I don't
> want code that makes every conscientious reader need to decide whether
> the code is a problem. Instead the code should avoid rightly-deprecated
> APIs.
> 
> It is also prone to that API function disappearing at some point in the
> future, because it is explicitly and strongly deprecated.
> 
> So I agree with the deprecation, but the library doesn't appear to
> provide a replacement.
> 
> What standard library function should I be using to generate
> 'tempfile.mktemp'-like unique paths, and *not* ever create a real file
> by that path?
> 
> -- 
>  \"If you have the facts on your side, pound the facts. If you |
>   `\ have the law on your side, pound the law. If you have neither |
> _o__)   on your side, pound the table." --anonymous |
> Ben Finney
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Question about how to do something in BeautifulSoup?

2016-01-22 Thread Mario R. Osorio

I think you'd do better using the pyparsing library


On Friday, January 22, 2016 at 9:02:00 AM UTC-5, inhahe wrote:
> I hope this is an appropriate mailing list for BeautifulSoup questions,
> it's been a long time since I've used python-list and I don't remember if
> third-party modules are on topic. I did try posting to the BeautifulSoup
> mailing list on Google groups, but I've waited a day or two and my message
> hasn't been approved yet.
> 
> Say I have the following HTML (I hope this shows up as plain text here
> rather than formatting):
> 
> "Is
> today the day?"
> 
> And I want to extract the "Is today the day?" part. There are other places
> in the document with  and , but this is the only place that
> uses color #00, so I want to extract anything that's within a color
> #00 style, even if it's nested multiple levels deep within that.
> 
> - Sometimes the color is defined as RGB(0, 0, 0) and sometimes it's defined
> as #00
> - Sometimes the  is within the  and sometimes the  is
> within the .
> - There may be other discrepancies I haven't noticed yet
> 
> How can I do this in BeautifulSoup (or is this better done in lxml.html)?
> Thanks

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: me, my arm, my availability ...

2016-01-14 Thread Mario R. Osorio
Just get better Laura...
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Pandas SQL Update

2015-06-16 Thread Mario R. Osorio

You are not specifying how are you doing the comparison, but here is my 2 cents:

Import the foxpro tables into the MySQL database and then you'll be able to do 
your update in a single SQL statement, which, even for that many records would 
take some only a few seconds, then delete th imported data.

Importing the foxpro tables into MySQL will take a little longer but I'm sure 
that, once automated, the whole process shouldn't take more than a couple of 
minutes.

HTH
-- 
https://mail.python.org/mailman/listinfo/python-list


Re:

2015-05-29 Thread Mario R. Osorio
?Quien es Usted y por que pregunta?


Dtb/Gby
===
Mario R. Osorio

“If I had asked people what they wanted, they would have said faster
horses.”
 ― Henry Ford



On Fri, May 29, 2015 at 1:33 AM, Laura Creighton l...@openend.se wrote:

 Sabe usted acerca de estas páginas?
 https://mail.python.org/mailman/listinfo/python-es
 https://wiki.python.org/moin/SpanishLanguage

 Laura



-- 
https://mail.python.org/mailman/listinfo/python-list


Re:

2015-05-28 Thread Mario R. Osorio
Chris. Este grupo es en Ingles. La verdad no se si existen grupos en español, 
pero juraria que si.

Entiendo que quieres enseñarle python a tu hijo. Aca te envio algunos recursos. 
Espero que te sirvan:

https://silvercorp.wordpress.com/2012/05/27/pasos-de-instalacion-de-python-en-windows/

http://www.slideshare.net/CAChemE/instalar-python-27-y-3-en-windows-anaconda

https://devcode.la/tutoriales/instalacion-de-python-27-en-windows-8/

http://codehero.co/python-desde-cero-instalacion-y-configuracion/

http://codehero.co/series/python-desde-cero.html

http://www.ehowenespanol.com/instalar-python-windows-como_44790/

https://www.youtube.com/watch?v=NEo4tDu6tU8

http://es.diveintopython.net/toc.html

http://mundogeek.net/tutorial-python/

http://pyspanishdoc.sourceforge.net/index.html

https://www.youtube.com/watch?v=GbfXj0iQQH0

https://www.youtube.com/watch?v=W7xZvUQhQWg

https://www.youtube.com/watch?v=DVD17s7hAj8
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best approach to create humongous amount of files

2015-05-21 Thread Mario R. Osorio
On Wednesday, May 20, 2015 at 2:09:59 PM UTC-4, Denis McMahon wrote:
 On Wed, 20 May 2015 17:14:15 +0530, Parul Mogra wrote:
 
  Hello everyone,
  My objective is to create large amount of data files (say a million
  *.json files), using a pre-existing template file (*.json). Each file
  would have a unique name, possibly by incorporating time stamp
  information. The files have to be generated in a folder specified.
 
  What is the best strategy to achieve this task, so that the files will
  be generated in the shortest possible time? Say within an hour.
   
 timestamps are normally unixtime in seconds. There are 3600 seconds in an 
 hour. You'll have a hard job creating a million files with timestamp 
 based naming inside of an hour.
 
 -- 
 Denis McMahon, denismfmcma...@gmail.com

I would use a combination of both, timestamp and a serial number, such as:
20150520142544
201505201425440001
201505201425440002
201505201425440003
20150520142545
201505201425450001
20150520142546
.. and so on ..
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Anyone know the solution

2014-10-28 Thread Mario R. Osorio
On Tuesday, October 28, 2014 12:25:13 AM UTC-4, Terry Reedy wrote:
 On 10/27/2014 11:10 AM, emmanuel...@gmail.com wrote:
 
  THIS IS THE LIST OF BOY NAMES
   Jacob
   ...
 
 Writing hundreds of unnecessary lines at minimum inconsiderate. Please 
 don't do it.
 
 -- 
 Terry Jan Reedy

The python programming community is BY FAR the best I've been in touch with.

Asking for help with some code that is not working is OK here, but asking to 
have the homework done is disgusting.

Just try mentioning the word homework on c++ or javascrip groups: They'll bully 
you to death!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Calculator Problem

2014-02-04 Thread Mario R. Osorio
On Sunday, February 2, 2014 4:16:44 PM UTC-5, Charlie Winn wrote:
 Hey Guys i Need Help , When i run this program i get the 'None' Under the 
 program, see what i mean by just running it , can someone help me fix this
 
 
 
 def Addition():
 
 print('Addition: What are two your numbers?')
 
 1 = float(input('First Number:'))
 
 2 = float(input('Second Number:'))
 
 print('Your Final Result is:', 1 + 2)
 
 
 
 
 
 def Subtraction():
 
 print('Subtraction: What are two your numbers?')
 
 3 = float(input('First Number:'))
 
 4 = float(input('Second Number:'))
 
 print('Your Final Result is:', 3 - 4)
 
 
 
 
 
 def Multiplication():
 
 print('Multiplication: What are two your numbers?')
 
 5 = float(input('First Number:'))
 
 6 = float(input('Second Number:'))
 
 print('Your Final Result is:', 5 * 6)
 
 
 
 
 
 def Division():
 
 print('Division: What are your two numbers?')
 
 7 = float(input('First Number:'))
 
 8 = float(input('Second Number:'))
 
 print('Your Final Result is:', 7 / 8)
 
 
 
 
 
 
 
 print('What type of calculation would you like to do?')
 
 Question = input('(Add, Subtract, Divide or Multiply)')
 
 if Question.lower().startswith('a'):
 
 print(Addition())
 
 elif Question.lower().startswith('s'):
 
 print(Subtraction())
 
 elif Question.lower().startswith('d'):
 
 print(Division())
 
 elif Question.lower().startswith('m'):
 
 print(Multiplication())
 
 else:
 
 print('Please Enter The First Letter Of The Type Of Calculation You 
 Would Like To Use')
 
 
 
 while Question == 'test':
 
 Question()

I don't know why people bother trying to help you, when it is YOU that has a 
*** rude attitude.

You are asking the wrong question to begin with because the posted code could 
have NEVER given you the stated output.

Most of us here are noobs and those that are not, were noobs once; so we all 
can deal with noobs, but none should have to deal with a***holes.
-- 
https://mail.python.org/mailman/listinfo/python-list


Need help with pushing technology ... and a bit more ...

2014-01-27 Thread Mario R. Osorio
Background:
===
We are studying the possibility of creating a system that will have the 
following entities:
Customer(s) (appCustomer)
Service Provider(s) (appProviders) and
Manager(s)
Server(s)

appCustomers will have all appServices available to them and appServices will 
have at least one appManager and zero to many appServers.

Each one of these entities will run an application on android, ios and windoze 
phone at least, as well as (hopefully) linux, osx and windoze (these last three 
are needed for appManagers)

An appCustomer will use either an application or a given web site to request 
services via HTTP from the available appProviders.

Our system should immediately upon receiving this order, notify all involved 
appManagers and appServers, report back to appCustomer  who got notified of 
his/her request.

appManagers and appServers will interact with the system via applications in 
order to notify appCustomer/appManager(s) of any progress in serving the 
appService, until its completion.

All notification must be logged so that anyone involved in a given appService 
can check all activity and, for example, to allow appManagers to supervise the 
completion of a given appService request.

Reading the previous explanation I notice this is pretty much your common 
“Purchase Order System” except we need real time, bullet proof communications 
between all players, along with the possibility of SMS and mail capabilities as 
well as logs for all communication media.

Our system is to go live immediately with one (paying) customer representing 
around 100 appCustomers. We are expecting the live system to produce anywhere 
between 500 to 2000 notifications per day which is not a lot but (expected) 
growth will be exponential and might reach about a million notifications in 
about a year or two.

Observations:
=
I'd like to keep this project python/C/C++ only, or at least as much as 
possible.
I'm not a seasoned python/C/C++ programmer though; but I'm in l.o.v.e. with 
python and C and C++.
I understand even less about communications and I know I have to use some way 
to push all notifications, but I have not been able to find a solution that 
will work on all needed platforms (android, ios, windows phone, linux, osx and 
windows). I wouldn't mind using two or three different push technologies if 
that was the case but: 

Questions:
==
Isn't there a better way to push notifications?
Do I forcibly have to use a service such as “Urban Airship”, “Pushwoosh”, 
“Amazon SNS”, “Windows Azure Notification Hubs”, “Pushover”, “Prowl” or “Notify 
My Android”??
Would it be possible to build our own push service by using a combination of 
telnet, xmlrpc, websockets or xmpp along with twisted, tornado or gevent; 
living along with django and possible mezzanine in my “perfect python world”?
Am I asking too much or am I so lost I don't even make sense?

I've been reading about all these topics/products in the las couple of days and 
every line I read seems to get me the more confused...

When I was initially involved in this idea I thought it was all about finding a 
nice library for a good real time communications protocol 
(https://groups.google.com/forum/#!topic/django-users/vZQ3C4DS73g) but, as I 
said before; I know nothing about communications and in spite of all the good 
intentions of those answering that post; I am yet to make sense of everything.

I do not ask for a solution to my situation but at least some light as to what 
might be a good path to follow … I will make sure you confess a solution once I 
figure out what are you talking about :)

I will really appreciate and and all comments, ideas and recommendations … even 
epithets!

Thanks a lot in advanced!
Mario R. Osorio
-- 
https://mail.python.org/mailman/listinfo/python-list