Request to Review: Tutorial about Python Packaging offering different use case

2023-12-13 Thread Christian Buhtz via Python-list
Hello, I would like to point to my Python Packaging Tutorial explaining several common use cases using minimal demo projects. <https://codeberg.org/buhtz/tech-demo-python-packaging> I am not an expert and assume that some of my solutions might not be the best. So I would appreciate

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-13 Thread Russell via Python-list
Jach Feng wrote: > Is there any reason a student/beginner learn Python now start from Python2? > > --Jach Only if you want a job porting python2 to python3. Python 2.x is officially End Of Life. -- rust 0x68caecc97f6a90122e51c0692c88d9cb6b58a3dc -- https://mail.python.org/mailman/listinfo/p

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-06 Thread Jach Feng
//cscx.org/add1 > * Compute the factorial of a number: https://cscx.org/factorial > * Compute the GCD of two numbers: https://cscx.org/gcd > * Solve the change-making problem: https://cscx.org/cash > > The website has a tutorial section covering Python's basics. > > I

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-06 Thread Rudy Matela
#!/usr/bin/env python2 or #!/usr/bin/env python3 When none of these are present it defaults to Python 3. The examples in the tutorial section (https://cscx.org/programming-basics) are done so that they are compatible with both versions of the language. So if you have either 2 or 3, you'

Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-01 Thread Chris Angelico
On Fri, Apr 2, 2021 at 2:14 AM Rudy Matela wrote: > > Hello python-list members, > > I would like to announce the following educational project: > > Computer Science by Example https://cscx.org/ is a collection of short > programming exercises. The site can automatically grade students' > solutio

[ANN] Free Python tutorial with exercises, cscx.org

2021-04-01 Thread Rudy Matela
://cscx.org/gcd * Solve the change-making problem: https://cscx.org/cash The website has a tutorial section covering Python's basics. I tried to make the content easy to use by instructors/lecturers, feel free to use this with your students. The backend of the website is open source and you

Re: 2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-22 Thread Peter Otten
Brian Oney via Python-list wrote: > That's one thing that confused me. Generators are supposed to be one-off > iterators. Iterators, *I understood* as reusable iterables. The way I think about it, informally: iterables need and __iter__ method, iterators need a __next__ method. In practice all

Re: 2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-22 Thread Cameron Simpson
On 22Sep2018 12:08, Brian Oney wrote: That's one thing that confused me. Generators are supposed to be one-off iterators. Iterators, *I understood* as reusable iterables. You've misread the grammar (the semantics). Iterators are one off - they're something that counts (for want of a better w

Re: 2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-22 Thread Brian Oney via Python-list
That's one thing that confused me. Generators are supposed to be one-off iterators. Iterators, *I understood* as reusable iterables. -- https://mail.python.org/mailman/listinfo/python-list

Re: 2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-22 Thread Peter Otten
Francis Esmonde-White wrote: > Hello, > > I came to report one bug (in the Python 3 tutorial documentation), and ran > into another (functional in bugs.python.org bug tracker registration > system). I have included details for both bugs below. > > Thanks in advance for

2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-21 Thread Francis Esmonde-White
Hello, I came to report one bug (in the Python 3 tutorial documentation), and ran into another (functional in bugs.python.org bug tracker registration system). I have included details for both bugs below. Thanks in advance for your assistance, I am loving Python and the documentation! Warm

pyOpt Error on Tutorial 1

2018-05-02 Thread Maha
I am trying to run pyOpt tutorial located at http://www.pyopt.org/tutorial.html. It will display the Objective function but the line slsqp = pyOpt.SLSQP() gives the following error. AttributeError: 'module' object has no attribute 'SLSQP' It is installed on the following fold

Fwd: Reporting Documentation Bug in Documentation » The Python Tutorial »6.Modules

2018-04-27 Thread VijithNambiar
Hi I think there is a bug in the section https://docs.python.org/3/ tutorial/modules.html#more-on-modules where the outputs of the statements below is given as wrong as it is starting with a '0' >>> import fibo as fib>>> fib.fib(500)0 1 1 2 3 5 8 13 21 34 55 89 144 233

opencv tutorial links

2017-08-22 Thread Abdur-Rahmaan Janhangeer
dear mail list, the only famous module i need to cover in python is open cv can you drop some links or book recommendations apart from the official website? thanks, Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com -- 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

Re: Your feedback on our free Advanced Python tutorial

2017-07-20 Thread Noah
ope more will be published soon!): https://tech.io/play grounds/500/advanced-python-features/advanced-python-features Perfect and thanks for taking your time folks to put this together out there for free. I have 2 questions for you: - Do you think this tutorial could be helpful to your Py

Re: Your feedback on our free Advanced Python tutorial

2017-07-20 Thread Guido van Rossum
anks to peer learning. In a sense, we'd like > to become some kind of Wikipedia for tech. > > One of the first tutorials our contributors published is about Advanced > Python Features (hope more will be published soon!): https://tech.io/play > grounds/500/advanced-python-feature

Re: A Good Tutorial on Python Decorators

2017-06-28 Thread Marko Rauhamaa
Steve D'Aprano : > When you run Javascript in your browser, you allow anonymous, > untrusted third-parties to run code on your PC. Yes. I'm running NoScript on my browser, but I believe JavaScript (or equivalent) is the way forward. I *love* my Turing Tarpit. Aus dem Paradies, das [Turing] un

Re: A Good Tutorial on Python Decorators

2017-06-28 Thread D'Arcy Cain
On 06/28/17 17:59, Steve D'Aprano wrote: On Thu, 29 Jun 2017 01:56 am, Peter Pearson wrote: (Blushing) Thanks. Life is getting difficult for us JavaScript paranoids. Its not paranoia if they're really out to get you. https://www.cnet.com/news/javascript-opens-doors-to-browser-based-attacks/

Re: A Good Tutorial on Python Decorators

2017-06-28 Thread Steve D'Aprano
On Thu, 29 Jun 2017 01:56 am, Peter Pearson wrote: > (Blushing) Thanks. Life is getting difficult for us JavaScript paranoids. Its not paranoia if they're really out to get you. https://www.cnet.com/news/javascript-opens-doors-to-browser-based-attacks/ https://www.proofpoint.com/us/corporate-b

Re: A Good Tutorial on Python Decorators

2017-06-28 Thread Peter Pearson
On Tue, 27 Jun 2017 16:43:38 +, Andre Müller wrote: > Peter Pearson schrieb am Di., 27. Juni 2017 um > 18:35 Uhr: > >> On Tue, 27 Jun 2017 15:10:53 + (UTC), Saurabh Chaturvedi wrote: >> > https://opensource.google.com/projects/py-decorators-tutorial >> >&g

Re: A Good Tutorial on Python Decorators

2017-06-27 Thread Paul Barry
ler wrote: > Activate JavaScript, then you can see the content. > I had the same problem. > > Peter Pearson schrieb am Di., 27. Juni 2017 um > 18:35 Uhr: > > > On Tue, 27 Jun 2017 15:10:53 + (UTC), Saurabh Chaturvedi wrote: > > > https://opensource.google.com/

Re: A Good Tutorial on Python Decorators

2017-06-27 Thread Andre Müller
Activate JavaScript, then you can see the content. I had the same problem. Peter Pearson schrieb am Di., 27. Juni 2017 um 18:35 Uhr: > On Tue, 27 Jun 2017 15:10:53 + (UTC), Saurabh Chaturvedi wrote: > > https://opensource.google.com/projects/py-decorators-tutorial > > &q

Re: A Good Tutorial on Python Decorators

2017-06-27 Thread Peter Pearson
On Tue, 27 Jun 2017 15:10:53 + (UTC), Saurabh Chaturvedi wrote: > https://opensource.google.com/projects/py-decorators-tutorial "No Results found." -- To email me, substitute nowhere->runbox, invalid->com. -- https://mail.python.org/mailman/listinfo/python-list

A Good Tutorial on Python Decorators

2017-06-27 Thread Saurabh Chaturvedi
https://opensource.google.com/projects/py-decorators-tutorial -- https://mail.python.org/mailman/listinfo/python-list

Re: perl + python tutorial available for download

2017-05-07 Thread retsithortmdk
On Monday, June 30, 2008 at 9:45:18 AM UTC-7, Xah wrote: > my perl and python tutorial > > http://xahlee.org/perl-python/index.html > > is now available for download for offline reading. > Download link at the bottom. > >Xah > ∑ http://xahlee.org/ > > ☄ --

Re: Lua tutorial help for Python programmer?

2016-11-08 Thread Skip Montanaro
On Tue, Nov 8, 2016 at 2:12 AM, Andrea D'Amore wrote: > There's lua-list, I figure all your questions fit better there than here. > There's the official wiki on lua-users [1], I don't know about a > Py-Lua Rosetta Stone. Thanks. I asked here specifically because I was interested in Lua from a Pyt

Re: Lua tutorial help for Python programmer?

2016-11-08 Thread Andrea D'Amore
function and have "for key, value in …" in the for loop. Not sure it's worth it. Beware that I'm no Lua expert, I just liked the language and read about it but never actually used in any project. I suggesting checking the mailing list or the IRC channel. > As you can see, thi

Lua tutorial help for Python programmer?

2016-11-07 Thread Skip Montanaro
", "c": "hello"} Skimming the Lua reference manual, I didn't see anything like dict() and zip(). I suspect I'm thinking like a Python programmer when I shouldn't be. Is there a Lua idiom which tackles this problem in a straightforward manner, short of a num

scipy tutorial question

2016-10-02 Thread Sayth Renshaw
I would ask on scipy mailing list as it may provide a better response. https://www.scipy.org/scipylib/mailing-lists.html Sayth -- https://mail.python.org/mailman/listinfo/python-list

scipy tutorial question

2016-10-02 Thread Xristos Xristoou
hello i want to follow this scipy tutorial http://www2.geog.ucl.ac.uk/~plewis/geogg122-2011-12/dem2.html to calculate slope/aspect and more. first question,this is a good way to calculate slope/aspect with scipy ? can i find more easy way for this calculate ? second question and most

Re: Good Tutorial for Python3 winreg Module

2016-08-20 Thread eryk sun
On Sun, Aug 21, 2016 at 3:55 AM, wrote: > > I need to pull a saved value from the registry, and the only way I > know how to get it is through winreg. Here's an example that reads the value and type of "Temp" in HKCU\Environment: import winreg with winreg.OpenKey(winreg.HKEY_CURRENT_US

Good Tutorial for Python3 winreg Module

2016-08-20 Thread johncalvinhall
Does anyone have a good tutorial on how to use the Python 3 module winreg? I need to pull a saved value from the registry, and the only way I know how to get it is through winreg. If anyone is able to help, I sure would appreciate it. -- https://mail.python.org/mailman/listinfo/python-list

RE: pdf version of python tutorial

2016-03-19 Thread Joaquin Alzola
Den 13-03-2016 kl. 14:45 skrev kamaraju kusumanchi: > Is there a pdf version of the python tutorial > https://docs.python.org/3/tutorial/index.html that I can download? The > idea is to have everything in one file so I can search easily, be able > to work offline. > > thanks &

Re: pdf version of python tutorial

2016-03-14 Thread Jesper K Brogaard
Den 13-03-2016 kl. 14:45 skrev kamaraju kusumanchi: Is there a pdf version of the python tutorial https://docs.python.org/3/tutorial/index.html that I can download? The idea is to have everything in one file so I can search easily, be able to work offline. thanks raju Try here: https

Re: pdf version of python tutorial

2016-03-13 Thread kamaraju kusumanchi
On Sun, Mar 13, 2016 at 1:34 PM, Chris Warrick wrote: > > There is a download link on the documentation index: > > https://docs.python.org/3/download.html > Exactly what I needed. Thanks. raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog -- https://mail.python.org/mailman/lis

Re: pdf version of python tutorial

2016-03-13 Thread Chris Warrick
On 13 March 2016 at 14:45, kamaraju kusumanchi wrote: > Is there a pdf version of the python tutorial > https://docs.python.org/3/tutorial/index.html that I can download? The > idea is to have everything in one file so I can search easily, be able > to work offline. >

pdf version of python tutorial

2016-03-13 Thread kamaraju kusumanchi
Is there a pdf version of the python tutorial https://docs.python.org/3/tutorial/index.html that I can download? The idea is to have everything in one file so I can search easily, be able to work offline. thanks raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog -- https

Re: good python tutorial

2016-02-23 Thread Aaron Christensen
Thanks for sharing! On Tue, Feb 23, 2016 at 1:48 AM, Mike S via Python-list < python-list@python.org> wrote: > This site was recommended by a friend, it looks really well put together, > I thought it might be of interest to people considering online tutorials. > > http://www.python-course.eu/inde

good python tutorial

2016-02-22 Thread Mike S via Python-list
This site was recommended by a friend, it looks really well put together, I thought it might be of interest to people considering online tutorials. http://www.python-course.eu/index.php -- https://mail.python.org/mailman/listinfo/python-list

Learning Python from the tutorial (was: What function is 'u0, j = random(), 0'?)

2015-11-14 Thread Ben Finney
Zachary Ware writes: > I've noticed you sending a lot of questions in the past day or two, > many at a fairly basic level. I think you would be well-served to > read through the tutorial at https://docs.python.org/3/tutorial. Better than merely reading through it: Anyone who

Fwd: Django Tutorial (Database setup) Question

2015-09-27 Thread Chris Warrick
Forwarding to list (forgot about this stupid reply all thing, sorry). -- Forwarded message -- From: Chris Warrick Date: 27 September 2015 at 19:50 Subject: Re: Django Tutorial (Database setup) Question To: Cai Gengyang On 27 September 2015 at 19:39, Cai Gengyang wrote

Re: Django Tutorial (Database setup) Question

2015-09-27 Thread Cai Gengyang
^ SyntaxError: invalid syntax CaiGengYangs-MacBook-Pro:mysite CaiGengYang$ On Mon, Sep 28, 2015 at 12:08 AM, Joel Goldstick wrote: > > > On Sun, Sep 27, 2015 at 3:32 AM, Cai Gengyang > wrote: > >> Hello all ! >> >> So I am going

Re: Django Tutorial (Database setup) Question

2015-09-27 Thread Cai Gengyang
7;, ^ SyntaxError: invalid syntax CaiGengYangs-MacBook-Pro:mysite CaiGengYang$ On Monday, September 28, 2015 at 12:09:04 AM UTC+8, Joel Goldstick wrote: > On Sun, Sep 27, 2015 at 3:32 AM, Cai Gengyang wrote: > Hello all ! > > > &

Re: Django Tutorial (Database setup) Question

2015-09-27 Thread Joel Goldstick
On Sun, Sep 27, 2015 at 3:32 AM, Cai Gengyang wrote: > Hello all ! > > So I am going through the (Database setup) chapter of this tutorial ( > https://docs.djangoproject.com/en/1.8/intro/tutorial01/) --- Its the > section right after the first chapter on "Creating a proj

Django Tutorial (Database setup) Question

2015-09-27 Thread Cai Gengyang
Hello all ! So I am going through the (Database setup) chapter of this tutorial (https://docs.djangoproject.com/en/1.8/intro/tutorial01/) --- Its the section right after the first chapter on "Creating a project" I opened up mysite/settings.py as per the instructions on the Djang

Re: Django (Python Web Framework) Tutorial

2015-09-26 Thread Cai Gengyang
B is for Basil, assaulted by bears > -- Edward Gorey, "The Gashlycrumb Tinies" Ok. As for the next chapter(Database setup), I opened up mysite/settings.py as per the instructions on the Django tutorial. However, when I try to run the following command :

Re: Django (Python Web Framework) Tutorial

2015-09-26 Thread John Gordon
In <1421a34f-d8cc-4367-adab-2c2b46504...@googlegroups.com> Cai Gengyang writes: > Question : I am a little confused about the last paragraph : What exactly > is a "directory outside of the document root, such as /home/mycode." and > how do you "Put your code in this directory" ? Django is a web

Django (Python Web Framework) Tutorial

2015-09-26 Thread Cai Gengyang
So I am using Mac OS X Yosemite Version 10.10.2, going through the django tutorial : https://docs.djangoproject.com/en/1.8/intro/tutorial01/ and learning to use it. Am currently on the 2nd chapter "Creating a Project" and got a question to ask : This is the series of steps I took to

Video Tutorial Online On How To Create a Basic Dynamic Website In Python?

2015-09-23 Thread Cai Gengyang
Hello! So I have Python 2.7.10, 3.3.2, 3.3.4 downloaded on my Mac OS X Yosemite 10.10.2 and also downloaded pip and django. Is there an online tutorial on how to create a basic dynamic website in Python where I can put my image/photo/video sharing app ? I find it much easier to learn from

Help with Flask (database stage of the Flask Mega Tutorial by Miguel Grinberg)

2015-08-14 Thread Jacob MacRitchie
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-iv-database I've just finished making db_create.py (you can ctrl+f to it) and am getting... from migrate.versioning import api ImportError: No module named 'migrate' ...I diffed everything at this stage of the tutor

ANN: SciPy (Scientific Python) 2015 Call for Proposals & Registration Open - tutorial & talk submissions due April 1st

2015-03-18 Thread Courtenay Godshall
**SciPy 2015 Conference (Scientific Computing with Python) Call for Proposals: Submit Your Tutorial and Talk Ideas by April 1, 2015 at http://scipy2015.scipy.org.** SciPy 2015, the fourteenth annual Scientific Computing with Python conference, will be held July 6-12, 2015 in Austin, Texas

Re: Python+Glade+Gtk tutorial?

2015-03-17 Thread Michael Torrie
ould be ignoring all examples turned up > by searching for "PyGTK" because they all seem to be GTK+2 and obsolete? > Is that "Python GTK+3 Tutorial" as good as any for me to work through? > > https://python-gtk-3-tutorial.readthedocs.org/en/latest/ Yes it's a good cho

Re: Python+Glade+Gtk tutorial?

2015-03-17 Thread Dave Farrance
Jason Heeris wrote: >In terms of toolkit bindings, (a) I prefer GTK, but (b) it's impossible to >tell what the greater proportion of people using one vs. the other is. Or >if they're wise to do so. Are there more Google hits/SO questions because >it's harder to use? Or because everyone loves to u

Re: Python+Glade+Gtk tutorial?

2015-03-16 Thread Jason Heeris
Warning: I'm only going to answer half of your questions :) I haven't built any GTK2/3 app in a while, but hopefully others here can address your other questions (although you might have better luck on the Python/GTK mailing list when it comes to finding a good tutorial, etc.) On 17

Python+Glade+Gtk tutorial?

2015-03-16 Thread Dave Farrance
choice (over QT-Designer) for a GUI builder. So even though I use a KDE desktop (Kubuntu 14.10), I decided to try Glade. So I web-searched for a Glade "hello world" example to get me started. The top Google hit for that gave me a tutorial that only took a short time to work through, and d

Re: Newbie suggestion: nice tutorial

2014-10-26 Thread Terry Reedy
On 10/26/2014 3:22 AM, Martin S wrote: So it was back to the internet - and this one seems pretty comprehensive and understandable: http://www.diveintopython3.net/ It doesn't cover the latest point version of Python (it's still Python 3), but I hope it doesn't matter much? I expect not. The

Dive Into Python 3, good tutorial (was: Newbie suggestion: nice tutorial)

2014-10-26 Thread Ben Finney
3 is highly recommended. > It doesn't cover the latest point version of Python (it's still Python > 3), but I hope it doesn't matter much? You're right, it is still a good tutorial. Unfortunately, the primary author has disappeared http://en.wikipedia.org/wiki/Mark_Pilgrim

Newbie suggestion: nice tutorial

2014-10-26 Thread Martin S
Even after having written three small tool for calculating chess ratings, I felt that I severly lacked a proper understanding of what the BEEP I was actually doing. So I looked at our standard bookshop at work, found a book that I thought neat only to discover that our work account has been cancell

Infinite Mandelbrot Set Tutorial - Video

2014-08-07 Thread EYN2K
Created a cool Infinite (16 trillion zoom) Mandelbrot set in Python. Only two for loops, one while loop and one if-elif-else for control flow. I hope you enjoy Free video link : https://www.youtube.com/watch?v=WqfbDAzA1Sw Thank you -- https://mail.python.org/mailman/listinfo/python-list

Re: SQLAlchemy tutorial

2014-08-03 Thread Ben Finney
Martin S writes: > Problem is the [SQLAlchemy] tutorials I've been looking at all produce > various errors when following them (and pretty early on). SQLAlchemy has been progressively adding support for Python 3, so it matters which version of SQLAlchemy you install. For best results, it seems

SQLAlchemy tutorial

2014-08-03 Thread Martin S
Hi, I've been looking at various tutorials on SQLAlchemy as I am planning to do fill a void among the Linux applications (unless someone has seen a diabetic result "analyser" thingy that's common for Android et al). But I need to get a database working. Problem is the Alchemy tutorials I've been

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread rxjwg98
instead of > > going round-about with Cygwin. > > > > If you do this, I would also suggest that you install Python 3 instead of > Python 2, but you may > > have to find a different tutorial. Although I suspect that part of your > problems are that the > > tut

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Larry Hudson
f going round-about with Cygwin. If you do this, I would also suggest that you install Python 3 instead of Python 2, but you may have to find a different tutorial. Although I suspect that part of your problems are that the tutorial you're using IS for Python 3 rather than the 2.7 you are

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Mark Lawrence
On 06/07/2014 16:03, rxjw...@gmail.com wrote: Thanks. I do not want to waste everyone's time. For a jump start, there are small errors making me frustrating. Your help does help me, confirm the usage etc. After a basic familiarity, I do not want to post more. I use cygwin Python, I type help of

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Rustom Mody
On Sunday, July 6, 2014 5:43:55 PM UTC+5:30, rxj...@gmail.com wrote: > Hi, > I type the following sample codes on Python, but it echoes differently. > Regular expressions are compiled into pattern objects, which have methods for > various operations such as searching for pattern matches or perfor

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Roy Smith
In article <6fd77d6a-3487-474b-bb96-8da6ab800...@googlegroups.com>, Rick Johnson wrote: > On Sunday, July 6, 2014 9:34:44 AM UTC-5, Roy Smith wrote: > > > * You can print dict(foo), which just prints out the attributes the > > object has. > > Looks like a typo there. > > I think you probabl

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Rick Johnson
On Sunday, July 6, 2014 10:03:48 AM UTC-5, rxj...@gmail.com wrote: > Thanks. I do not want to waste everyone's time. Oh NOW you tell us! I could be ranting about flashlights, but here i am wasting time with you again! > For a jump start, there are small errors making me > frustrating. Your help

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Rick Johnson
On Sunday, July 6, 2014 9:34:44 AM UTC-5, Roy Smith wrote: > * You can print dict(foo), which just prints out the attributes the > object has. Looks like a typo there. I think you probably meant to say "dir(foo)" INTERACTIVE SESSIO

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Peter Otten
rxjw...@gmail.com wrote: > I use cygwin Python, > I type help of an object 'result'. It does show up the help content, but > it never quits the help afterwards. It is annoying, and time wasting. To quit help try hitting the 'q' key. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread rxjwg98
is different from a simple > > > 'counter' variable. I do not yet find the definition of > > > 'result' object. What do you call 'result' object? Where > > > can I find it (what topic would be in a tutorial)? Thanks, > > > >

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Mark Lawrence
On 06/07/2014 15:34, Roy Smith wrote: * You can print foo itself, to find out its value, but this can get tricky, since sometimes objects print themselves in confusing ways. Printing repr(foo) will usually get you more detail. For the OP the pretty print module is usually better than plain ol

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Chris Angelico
On Mon, Jul 7, 2014 at 12:34 AM, Roy Smith wrote: > * You can print type(foo), to find out exactly what it is (useful when > even printing repr() doesn't explain what's going on). And very VERY occasionally, print(id(type(foo))) comes in handy, because two types might look the same, but an isinst

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Roy Smith
> 'counter' variable. I do not yet find the definition of > > 'result' object. What do you call 'result' object? Where > > can I find it (what topic would be in a tutorial)? Thanks, > > One of the most powerful features of Python,,, for the > n

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Mark Lawrence
pile(pattern) string='abcd' result = prog.match(string) result <_sre.SRE_Match object at 0x6eda5e0> result.group(0) 'abcd' It looks like 'result' is different from a simple 'counter' variable. I do not yet find the definition of 'result

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Rick Johnson
0x6eda5e0> > py>result.group(0) > 'abcd' > > It looks like 'result' is different from a simple > 'counter' variable. I do not yet find the definition of > 'result' object. What do you call 'result' object? Where > can

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread rxjwg98
er=100 >>>counter 100 When I get match result: >>>pattern='abcd' >>>prog = re.compile(pattern) >>>string='abcd' >>>result = prog.match(string) >>>result <_sre.SRE_Match object at 0x6eda5e0> >>>result.group(0) 'abcd' It looks like 'result' is different from a simple 'counter' variable. I do not yet find the definition of 'result' object. What do you call 'result' object? Where can I find it (what topic would be in a tutorial)? Thanks, -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is it different from the example on the tutorial?

2014-07-06 Thread Tim Chase
On 2014-07-06 05:13, rxjw...@gmail.com wrote: > What I get on Python console: > > $ python > Python 2.7.5 (default, Oct 2 2013, 22:34:09) > [GCC 4.8.1] on cygwin > Type "help", "copyright", "credits" or "license" for more > information. > >>> import re > >>> p = re.compile('ab*') > File "", lin

Why is it different from the example on the tutorial?

2014-07-06 Thread rxjwg98
Hi, I type the following sample codes on Python, but it echoes differently. Regular expressions are compiled into pattern objects, which have methods for various operations such as searching for pattern matches or performing string substitutions. >>> >>> import re >>> p = re.compile('ab*') >>> p

Re: Python Tutorial

2014-06-16 Thread Zachary Ware
(Note, for those confused, context: https://mail.python.org/pipermail/python-list/2010-August/584707.html) On Mon, Jun 16, 2014 at 10:06 AM, wrote: > hello... pls how did ur tutorial creation go? > Could i get it as i am starting to learn python > thanks Hi, Please note that yo

Re: Python Tutorial

2014-06-16 Thread jonadina
hello... pls how did ur tutorial creation go? Could i get it as i am starting to learn python thanks -- https://mail.python.org/mailman/listinfo/python-list

REG: Interactive Python (ipython notebook) Tutorial for Beginners

2013-11-08 Thread Anoop Thomas Mathew
Hi All, Lately, I've been working on a ipython notebook tutorial for beginners. The idea is that, those who have basic idea about computers should be able to pick up python very easily. https://bitbucket.org/atmb4u/python-live/ I have completed 25 chapters. Would love some reviews, sugges

Re: Tkinter tutorial?

2013-10-28 Thread Bennett Brown
Lundh, Fredrik. (2005). An Introduction to Tkinter, Draft revision. Retrieved from http://effbot.org/tkinterbook/ Shipman, John. (2013) Tkinter 8.5 reference. Retrieved from http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html Lutz, Mark. (2011) Programming Python, 4th ed. Chapters 7-

Re: Tkinter tutorial?

2013-10-22 Thread Ethan Furman
On 10/22/2013 03:06 PM, Ben Finney wrote: Walter Hurry writes: However, for a different project I need to get up to a reasonable speed with tkinter. Could some kind soul recommend a suitable on-line tutorial, or a (free) ebook? TkDocs http://www.tkdocs.com/> is both a book for purch

Re: Tkinter tutorial?

2013-10-22 Thread Ben Finney
Walter Hurry writes: > However, for a different project I need to get up to a reasonable > speed with tkinter. Could some kind soul recommend a suitable on-line > tutorial, or a (free) ebook? TkDocs http://www.tkdocs.com/> is both a book for purchase (“Modern Tkinter”) and a cr

Re: Tkinter tutorial?

2013-10-22 Thread MRAB
project I need to get up to a reasonable speed with tkinter. Could some kind soul recommend a suitable on-line tutorial, or a (free) ebook? Thanks. Ask Google! :-) In practice I've had to go looking for specific answers, but there's info available from various places, such as: http://

Tkinter tutorial?

2013-10-22 Thread Walter Hurry
speed with tkinter. Could some kind soul recommend a suitable on-line tutorial, or a (free) ebook? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: PyGame tutorial?

2013-06-12 Thread Larry Hudson
On 06/11/2013 08:47 AM, Eam onn wrote: Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he didn't finish his. MetalX100 did a VERY good tutorial. I've been having trouble with some player movement because he isn't moving smoothly, he jumps. If

Re: PyGame tutorial?

2013-06-11 Thread Ian Kelly
On Tue, Jun 11, 2013 at 10:57 AM, Eam onn wrote: > On Tuesday, June 11, 2013 5:31:22 PM UTC+1, Mark Lawrence wrote: >> Try typing "pygame tutorial" into your favourite search and see what >> comes back, you might be pleasantly surprised. > > Typed it in several

Re: PyGame tutorial?

2013-06-11 Thread Alister
On Tue, 11 Jun 2013 09:57:17 -0700, Eam onn wrote: > On Tuesday, June 11, 2013 5:31:22 PM UTC+1, Mark Lawrence wrote: >> On 11/06/2013 16:47, Eam onn wrote: >> >> > Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, >> > but he d

Re: PyGame tutorial?

2013-06-11 Thread Ian Kelly
On Tue, Jun 11, 2013 at 10:56 AM, Eam onn wrote: > Also, is there a specific forum for PyGame or is here fine? Go to pygame.org and click the link "Help (irc, lists)" in the navigation menu. I could give you the direct link, but I want to point out that this stuff is readily available on the pyg

Re: PyGame tutorial?

2013-06-11 Thread Eam onn
On Tuesday, June 11, 2013 5:00:13 PM UTC+1, Ian wrote: > On Tue, Jun 11, 2013 at 9:47 AM, Eam onn wrote: > > > Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he > > didn't finish his. MetalX100 did a VERY good tutorial. I've bee

Re: PyGame tutorial?

2013-06-11 Thread Eam onn
On Tuesday, June 11, 2013 5:31:22 PM UTC+1, Mark Lawrence wrote: > On 11/06/2013 16:47, Eam onn wrote: > > > Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he > > didn't finish his. MetalX100 did a VERY good tutorial. I've bee

Re: PyGame tutorial?

2013-06-11 Thread Mark Lawrence
On 11/06/2013 16:47, Eam onn wrote: Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he didn't finish his. MetalX100 did a VERY good tutorial. I've been having trouble with some player movement because he isn't moving smoothly, he jumps. If

Re: PyGame tutorial?

2013-06-11 Thread Ian Kelly
On Tue, Jun 11, 2013 at 9:47 AM, Eam onn wrote: > Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he > didn't finish his. MetalX100 did a VERY good tutorial. I've been having > trouble with some player movement because he isn't moving

PyGame tutorial?

2013-06-11 Thread Eam onn
Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he didn't finish his. MetalX100 did a VERY good tutorial. I've been having trouble with some player movement because he isn't moving smoothly, he jumps. If I add 5 pixels to his X position if I pre

Video tutorial for making a guess the number game in python

2013-05-04 Thread eli m
I made a video tutorial for making a guess the number game in python. You can check it out here: http://www.youtube.com/watch?v=0WSQb-7wMJQ -- http://mail.python.org/mailman/listinfo/python-list

Re: http://docs.python.org/2.7/tutorial/index.html

2012-12-05 Thread Mark Lawrence
On 05/12/2012 14:54, EAGLE001101 wrote: Well speaking personally I'm convinced that the majority of wrong thinking people in this country are right, and I'm sick and tired of being told that they're not. An alternative is that you wanted some data regarding the Python tut

http://docs.python.org/2.7/tutorial/index.html

2012-12-05 Thread EAGLE001101
-- http://mail.python.org/mailman/listinfo/python-list

Re: mistake in python tutorial

2012-06-05 Thread MRAB
On 06/06/2012 03:00, Dave Angel wrote: On 06/05/2012 09:43 PM, Miriam Gomez Rios wrote: Hello, I think that the example in section 4.4 in the tutorial for python 2.7X is wrong. http://docs.python.org/tutorial/controlflow.html It will end up printing this if you run the exact code listed

  1   2   3   4   5   6   7   8   9   >