Re: [Tutor] Question for tutoring page

2019-03-13 Thread Abdur-Rahmaan Janhangeer
don't promise but i'll try to write such a project as a tutorial. Yours, Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription o

Re: [Tutor] I flip a coin 1 million times what is the consecutive times it will come up head and come up tails

2019-02-27 Thread Abdur-Rahmaan Janhangeer
XD that will help in the future, yes it was not unreadable this one. Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription

Re: [Tutor] I flip a coin 1 million times what is the consecutive times it will come up head and come up tails

2019-02-27 Thread Abdur-Rahmaan Janhangeer
maybe try dpaste.de or something like that for code pasting ^^_ Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options

Re: [Tutor] Doubt

2019-01-08 Thread Abdur-Rahmaan Janhangeer
it's because of how the language works. c is a compiled lang. py an interpreted one ( more of a hybrid i would say ) if you write a language in c like if a == 5: do this then run your c program to execute it, you get pretty much what python is Abdur-Rahmaan Janhangeer http

Re: [Tutor] Advanced python recommendations

2018-10-10 Thread Abdur-Rahmaan Janhangeer
apart from already said, see popular python projects, and read the source as you would read a book. you'll discover amazing tricks, it'll broaden your horizon. hanging around those who achieved a good level will make you level up. Abdur-Rahmaan Janhangeer Mauritius

Re: [Tutor] help please

2018-10-10 Thread Abdur-Rahmaan Janhangeer
i think it should have been for river in rivers instead of for rivers in rivers Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https

Re: [Tutor] Recommended way for end users to run our Python programs?

2018-08-19 Thread Abdur-Rahmaan Janhangeer
https://play.google.com/store/apps/details?id=ru.iiec.pydroid3 that one also supports kivy, tkinter on android last time i checked py android support i agree is more than lacking Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius On Sun, 19 Aug 2018, 17:01 Alan Gauld, wrote

Re: [Tutor] Recommended way for end users to run our Python programs?

2018-08-19 Thread Abdur-Rahmaan Janhangeer
btw qpython supports sl4a since long maybe you meant : "no packaged options" Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius On Fri, 17 Aug 2018, 12:50 Alan Gauld via Tutor, wrote: > On 17/08/18 05:40, Matthew Polack wrote: > > > Does this alway

[Tutor] Fwd: Syntax question

2018-08-09 Thread Abdur-Rahmaan Janhangeer
missed reply all Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius -- Forwarded message - From: Abdur-Rahmaan Janhangeer Date: Thu, 9 Aug 2018, 11:56 Subject: Re: [Tutor] Syntax question To: Matthew Polack wheatbutton = Button(root, text="Wheat",

Re: [Tutor] i really need help

2018-05-30 Thread Abdur-Rahmaan Janhangeer
did you attach a screenshot? if so i think it did not reach us ! Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Wed, 30 May 2018, 20:11 erich callahana, wrote: > > > I need to know how to access the window where in the menu at the top it > says run and that’s where I

Re: [Tutor] help with code

2018-03-11 Thread Abdur-Rahmaan Janhangeer
> def login(): > check = open("credential.txt","r") > username = input("Please enter your username") > password = input("Please enter your password") > > def thank_you(): > print("Thank you for signing up at our website!.") > > elif choice == "q": > exit() > Sent from Mail for Windows 10 > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > -- Abdur-Rahmaan Janhangeer https://github.com/abdur-rahmaanj Mauritius ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Installing python and numpy on the Mac (OSX)

2017-12-24 Thread Abdur-Rahmaan Janhangeer
See Anaconda, a py dist packed with sci modules. Comes bundled with lots of goodies ! Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 23 Dec 2017 12:45, "Peter Hodges" <designx1...@gmail.com> wrote: > Hi. I downloaded Python 3.6 from the python

Re: [Tutor] Python + Irc

2017-09-17 Thread Abdur-Rahmaan Janhangeer
-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 16 Sep 2017 01:20, "Fernando Gualberto" <fernando@gmail.com> wrote: How i can integrate Python program with IRC to send Messages from program to the IRC? -- *Fernando G

Re: [Tutor] Help

2017-09-15 Thread Abdur-Rahmaan Janhangeer
besides already written notes, i suggest use .split(".") floatNum = input("> ") parts = floatNum.split(".") whole = parts[0] deci = parts[1] Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 7 Sep 2017 21:51, "edmundo pier

Re: [Tutor] New to Python

2017-09-15 Thread Abdur-Rahmaan Janhangeer
Python both by Mark Lutz Concerning the FAQ since i see it is prohibited to say RTFM, i propose the faq link is given along with some kind words. Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 7 Sep 2017 20:51, "Vikram Singh" <singh.vikram.0...@gma

Re: [Tutor] "Path tree"

2017-08-17 Thread Abdur-Rahmaan Janhangeer
anyway ! Now, the website has more materials than when i first knew it. hope it helps ! Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 14 Aug 2017 02:28, "Michael C" <mysecretrobotfact...@gmail.com> wrote: Hi all: I am trying to formulate a "p

Re: [Tutor] The results of your email commands

2017-08-03 Thread Abdur-Rahmaan Janhangeer
me i cooked up : [warning : see code above better but i did it a bit differently] x = True sum = 0 while (x==True): a = input("input:") if a =="exit": x=False try: sum += float(a) except: pass print("sum :",sum) On Thu, Aug 3, 2017 at 3:09 AM, Alan

Re: [Tutor] if __name__=='main' vs entry points: What to teach new comers?

2017-08-02 Thread Abdur-Rahmaan Janhangeer
what difference do you make between python scripts and python code files? are codes relating to file manipulation called scripts? Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 1 Aug 2017 22:48, "Alan Gauld via Tutor" <tutor@python.org> wrote: >

Re: [Tutor] How sum() works in python

2017-08-01 Thread Abdur-Rahmaan Janhangeer
i guess it adds / sort of concatenates the list On Tue, Aug 1, 2017 at 10:06 AM, ramakrishna reddy wrote: > Hi All, > > I know > > > sum([1,2,3]) returns 6. > > But sum with [] 'empty list' as second parameter returns as below. > > > sum([[1,2,3], [3,4,5]], []) returns [1,

Re: [Tutor] Recommended Python Compiler

2017-08-01 Thread Abdur-Rahmaan Janhangeer
Yes indeed geany is a nice editor. I used it when i was beginning and even wrote a post about it, Feel free to check it ! https://abdurrahmaanjanhangeer.wordpress.com/2016/11/02/python-getting-rid-of-identation-errors-quickly-checking-for-errors-and-the-use-of-editors/ On Tue, Aug 1, 2017 at

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Abdur-Rahmaan Janhangeer
you off cheers, Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 31 Jul 2017 03:10, "George Sconyers via Tutor" <tutor@python.org> wrote: > Hello all. I am getting started with Python and looking for a recommended > compiler for an Ubuntu enviro

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Abdur-Rahmaan Janhangeer
can i recommend you wing ide personal edition? a breeze. p.s. an ide cares about helping you coping with errors, syntax highlighting and ironing out some corners here and there a compiler (for a moment) just make things work for you Abdur-Rahmaan Janhangeer, Mauritius

Re: [Tutor] Quick Pythonic Style Tips

2017-07-24 Thread Abdur-Rahmaan Janhangeer
nice, just wanted some "styling" guide rather than technical guides you know doing things the python style rather than the python way Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 24 Jul 2017 05:09, "Steven D'Aprano" <st...@pearwood.info>

Re: [Tutor] Quick Pythonic Style Tips

2017-07-23 Thread Abdur-Rahmaan Janhangeer
ght of inventing it* Else more styling tips if any and whenever, appreciated ! Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 23 Jul 2017 01:59, "Danny Yoo" <d...@hashcollision.org> wrote: > > I'd like to contibute a rather different sort of tidb

[Tutor] Best OpenCV tutorials

2017-07-23 Thread Abdur-Rahmaan Janhangeer
The last python issue i'd like to resolve is the OpenCV issue I just want some nice opencv tutorials apart from the official docs also, some nice algos if any apart from Haar Cascades with examples. P.s. This is a 3rd party lib, so, some links is fine ! Abdur-Rahmaan Janhangeer, Mauritius

[Tutor] Quick Pythonic Style Tips

2017-07-22 Thread Abdur-Rahmaan Janhangeer
should be avoided ? thanks in advance, Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] string reversal using [::-1]

2017-06-12 Thread Abdur-Rahmaan Janhangeer
ng: py> s = "Nobody expects the Spanish Inquisition!" py> s[-1:1:-2] '!otsun snp h tex db' is somewhat like: for i in range(len(s)-1, 1, -2): print s[i] -- Steve [QUOTED ENTIRELY FROM STEVE {st...@pearwood.info} IN ANSWER TO A SLICING QUESTION] Abdur-Rahmaan Janhangeer, M

Re: [Tutor] Python - help with something most essential

2017-06-12 Thread Abdur-Rahmaan Janhangeer
i might add that with open( . . . instead of foo = open( . . . also shows some maturity in py Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 11 Jun 2017 12:33, "Peter Otten" <__pete...@web.de> wrote: > Japhy Bartlett wrote: > > >

Re: [Tutor] Huge list comprehension

2017-06-12 Thread Abdur-Rahmaan Janhangeer
[*keyname here*] = [ ] Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 12 Jun 2017 08:54, "syed zaidi" <syedzaid...@hotmail.co.uk> wrote: > Thanks > One reason fornsharing the code was that I have to manually create over > 100 variables > I

Re: [Tutor] Huge list comprehension

2017-06-10 Thread Abdur-Rahmaan Janhangeer
take a look at numpy and don't necessarily give us the whole code. it becomes too long without purpose Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 6 Jun 2017 03:26, "syed zaidi" <syedzaid...@hotmail.co.uk> wrote: hi, I would appreciate if

Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-04 Thread Abdur-Rahmaan Janhangeer
Wing. Wing IDE personal works awesome for me Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 3 Jun 2017 02:59, "C W" <tmrs...@gmail.com> wrote: > Dear Python list, > > I am an R user learning Python. What is a good editor? > >

Re: [Tutor] How to deploy seamless script updates to your "clients"?

2017-05-29 Thread Abdur-Rahmaan Janhangeer
file if yes : run script file if not : override the script file with the text of the web page Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 25 May 2017 04:11, "Juan C." <juan0christ...@gmail.com> wrote: > I have some Python 3.6.0 scripts tha

Re: [Tutor] How to deploy seamless script updates to your "clients"?

2017-05-25 Thread Abdur-Rahmaan Janhangeer
if they are the same, it does nothing. if not, it moves the current script to the "previous scripts" folder and create a new script file it then executes the script file (see how to execute python from python) the only thing you'll have to do if you want is some auth if your script is super secret Abd

Re: [Tutor] Help - What is the best package to learn programming in Python?

2017-05-18 Thread Abdur-Rahmaan Janhangeer
also takes optional arguments as well. . . ..what to print _sep _end _std output _flush print('to print', sep=' ', end=' ', file=open('file.txt','w'), flush=true) so, better learn python well ! Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 18 May 2017 03:09, "

Re: [Tutor] Tkinter + frame + grid question

2017-05-15 Thread Abdur-Rahmaan Janhangeer
to cover the needs of users. we just have to extend sometimes somewhere Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org

Re: [Tutor] Fwd: Re: While Loop Question

2017-05-11 Thread Abdur-Rahmaan Janhangeer
sorry j is set to zero. grave typo Abdur-Rahmaan Janhangeer, Mauritius https://abdurrahmaanjanhangeer.wordpress.com On 11 May 2017 12:29 pm, "Abdur-Rahmaan Janhangeer" <arj.pyt...@gmail.com> wrote: > > > -- Forwarded message ------ > From: "A

[Tutor] Fwd: Re: While Loop Question

2017-05-11 Thread Abdur-Rahmaan Janhangeer
-- Forwarded message -- From: "Abdur-Rahmaan Janhangeer" <arj.pyt...@gmail.com> Date: 11 May 2017 12:26 pm Subject: Re: [Tutor] While Loop Question To: "Rafael Skovron" <rskov...@gmail.com> Cc: i modified your code to make it look like that :

Re: [Tutor] urllib ... lost novice's question

2017-05-09 Thread Abdur-Rahmaan Janhangeer
hing. Hope it helps, Abdur-Rahmaan Janhangeer Vacoas, Mauritius https://abdurrahmaanjanhangeer.wordpress.com/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor