Re: [Tutor] Hi This is Michael Munn and I’m interested of the Python programming language.

2018-08-26 Thread Mats Wichmann
see also https://wiki.python.org/moin/PythonEditors On August 26, 2018 5:19:20 PM MDT, Alan Gauld via Tutor wrote: >On 26/08/18 18:42, Michael Munn wrote: > >> I’m using Python 3.6 and I heard a friend of mine told me that He >write his >> code using a word processer called Note pad plus some th

Re: [Tutor] Hi This is Michael Munn and I’m interested of the Python programming language.

2018-08-26 Thread Alan Gauld via Tutor
On 26/08/18 18:42, Michael Munn wrote: > I’m using Python 3.6 and I heard a friend of mine told me that He write his > code using a word processer called Note pad plus some thing like that to > code. I assume you are on Windows OS? In which case you probably mean Notepad++ (like in the C++ progra

[Tutor] Hi This is Michael Munn and I’m interested of the Python programming language.

2018-08-26 Thread Michael Munn
Hi All, This is Michael and I have a question about resources on starting to code python. I’m using Python 3.6 and I heard a friend of mine told me that He write his code using a word processer called Note pad plus some thing like that to code. Any idea where to get this word Processer? Please resp

Re: [Tutor] Hi there, have a question for a side project in physics.....

2017-12-25 Thread Steven D'Aprano
On Mon, Dec 25, 2017 at 09:45:35AM +, Alan Gauld via Tutor wrote: > On 25/12/17 09:08, Siddharth Sehgal wrote: > > >physics masters student. I am trying to use the Sellmeier Equation > > >I originally state them as floats. However such a process apparently > > >cannot be done with "floa

Re: [Tutor] Hi there, have a question for a side project in physics.....

2017-12-25 Thread Steven D'Aprano
On Mon, Dec 25, 2017 at 01:08:13PM +0400, Siddharth Sehgal wrote: > The actual equation is below screen shotted No it isn't -- either you forgot to attach it, or the mailing list removed it. Do you mean this equation? https://en.wikipedia.org/wiki/Sellmeier_equation I suggest you try using P

Re: [Tutor] Hi there, have a question for a side project in physics.....

2017-12-25 Thread Steven D'Aprano
On Mon, Dec 25, 2017 at 01:08:13PM +0400, Siddharth Sehgal wrote: > Hi there > > > I am a novice python user and am a physics masters student. I am > trying to use the Sellmeier Equation to calculate a refractive index. > The coefficients of this equation are decimals to a large number of > si

Re: [Tutor] Hi there, have a question for a side project in physics.....

2017-12-25 Thread Alan Gauld via Tutor
On 25/12/17 09:08, Siddharth Sehgal wrote: physics masters student. I am trying to use the Sellmeier Equation I originally state them as floats. However such a process apparently > cannot be done with "floats" like these. It can be done just with a large error (although as a physics g

[Tutor] Hi there, have a question for a side project in physics.....

2017-12-25 Thread Siddharth Sehgal
Hi there I am a novice python user and am a physics masters student. I am trying to use the Sellmeier Equation to calculate a refractive index. The coefficients of this equation are decimals to a large number of sig figs ( i.e B1 = 1.03961212, B2 = 0.231792344, C1 = 6.00069867×10−3 ... and so

Re: [Tutor] Hi all: How do I save a file in a designated folder?

2017-05-02 Thread Alan Gauld via Tutor
On 03/05/17 00:28, Cameron Simpson wrote: >> And so forth? I assume you mean >> >> MMDD.png format? >> >> You should read about the strftime function in the time > > Further to this, I would also advocate that you consider writing the > timestamp > from largest unit to smallest unit, like a

Re: [Tutor] Hi all: How do I save a file in a designated folder?

2017-05-02 Thread eryk sun
On Tue, May 2, 2017 at 6:09 PM, Michael C wrote: > screenshot.save("\test\missed.png") You probably know that "\t" represents a tab in a string literal, but there's something about working with a path that causes people to overlook this. Windows won't overlook it. Control characters, i.e. charact

Re: [Tutor] Hi all: How do I save a file in a designated folder?

2017-05-02 Thread Cameron Simpson
On 03May2017 00:01, Alan Gauld wrote: On 02/05/17 19:09, Michael C wrote: 1. How to name the file with time stamp. e.g. 05012017.png and so forth. And so forth? I assume you mean MMDD.png format? You should read about the strftime function in the time (and datetime) module. Other fu

Re: [Tutor] Hi all: How do I save a file in a designated folder?

2017-05-02 Thread Alan Gauld via Tutor
On 02/05/17 19:09, Michael C wrote: > from PIL import Image > from PIL import ImageGrab > > screenshot = ImageGrab.grab() > screenshot.show() > screenshot.save("\test\missed.png") > > This is my current code, using Python Image Library! You should probably investigate Pillow, I believe developme

[Tutor] Hi all: How do I save a file in a designated folder?

2017-05-02 Thread Michael C
from PIL import Image from PIL import ImageGrab # takes the screenshot screenshot = ImageGrab.grab() # display the screenshot screenshot.show() # save the screenshot screenshot.save("\test\missed.png") This is my current code, using Python Image Library! What I would like to get help with is:

Re: [Tutor] Hi

2016-06-24 Thread Walter Prins
Hi, On 23 June 2016 at 19:00, Bharath Swaminathan wrote: > Can I run my python code in multiple processors? I have a dual core... Like an idiot I forgot a link for the "pp" module, my apologies. Here it is: http://www.parallelpython.com/ If you have/use pip, you can simply enter (from an oper

Re: [Tutor] Hi

2016-06-24 Thread Walter Prins
Hi Bharath, On 23 June 2016 at 19:00, Bharath Swaminathan wrote: > > Can I run my python code in multiple processors? I have a dual core... Notwithstanding Alan's answer, I'm going to directly answer your question: Yes, it can. However The degree and level of success you're going to have

Re: [Tutor] Hi

2016-06-23 Thread Alan Gauld via Tutor
On 23/06/16 19:00, Bharath Swaminathan wrote: > Can I run my python code in multiple processors? I have a dual core... Your OS may run your python code on multiple processors but it's not something you can easily control in Python. Remember that your computer probably has hundreds of processes run

[Tutor] Hi

2016-06-23 Thread Bharath Swaminathan
Can I run my python code in multiple processors? I have a dual core... ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi Dear!

2016-02-04 Thread Emil Natan
On Thu, Feb 4, 2016 at 2:49 PM, Alexa kun wrote: > Hi Dear! > I newbie and read 2.1.2. Interactive Mode > https://docs.python.org/3/tutorial/interpreter.html > > but when I type > > >>> the_world_is_flat = True > >>> if the_world_is_flat: > ... print("Be careful not to fall off!") > > I got a

Re: [Tutor] Hi Dear!

2016-02-04 Thread Alan Gauld
On 04/02/16 12:49, Alexa kun wrote: > Hi Dear! Hi. Can I ask that in future you choose a subject line that reflects your question? For this case it might be "IndentationError" say. > but when I type > the_world_is_flat = True if the_world_is_flat: > ... print("Be careful not to fal

Re: [Tutor] Hi Dear!

2016-02-04 Thread Joel Goldstick
On Thu, Feb 4, 2016 at 7:49 AM, Alexa kun wrote: > Hi Dear! > I newbie and read 2.1.2. Interactive Mode > https://docs.python.org/3/tutorial/interpreter.html > > but when I type > > >>> the_world_is_flat = True > >>> if the_world_is_flat: > ... print("Be careful not to fall off!") > > I got a

Re: [Tutor] Hi Dear!

2016-02-04 Thread Steven D'Aprano
Hello Alexander, and welcome! My answers are below, between your questions (starting with > quote marks). On Thu, Feb 04, 2016 at 02:49:39PM +0200, Alexa kun wrote: > Hi Dear! > I newbie and read 2.1.2. Interactive Mode > https://docs.python.org/3/tutorial/interpreter.html > > but when I type

[Tutor] Hi Dear!

2016-02-04 Thread Alexa kun
Hi Dear! I newbie and read 2.1.2. Interactive Mode https://docs.python.org/3/tutorial/interpreter.html but when I type >>> the_world_is_flat = True >>> if the_world_is_flat: ... print("Be careful not to fall off!") I got answer IndentationError: expected an indented block [root@localhost /

Re: [Tutor] Hi Tutor

2016-01-09 Thread Martin A. Brown
>I wrote this short program for my grandson: > >from random import sample > >soups = ['Onion soup', 'Veggie soup', 'Chicken soup', 'Corn soup'] >salads = ['Veggie', 'Onion', 'Cabbage', 'Lettuce', 'Caesar', 'Tomato'] >main = ['Crab cake', 'Catfish', 'Ribs', 'Chopped liver', 'Meat balls'] >beverage

[Tutor] Hi Tutor

2016-01-09 Thread yehudak .
I wrote this short program for my grandson: from random import sample soups = ['Onion soup', 'Veggie soup', 'Chicken soup', 'Corn soup'] salads = ['Veggie', 'Onion', 'Cabbage', 'Lettuce', 'Caesar', 'Tomato'] main = ['Crab cake', 'Catfish', 'Ribs', 'Chopped liver', 'Meat balls'] beverage = ['Wine'

Re: [Tutor] Hi there,

2016-01-02 Thread Steven D'Aprano
On Sat, Jan 02, 2016 at 02:45:30PM +0200, yehudak . wrote: > I'm trying to write a Python 3.5 program to find how many trailing zeros > are in 100! (factorial of 100). > I downloaded factorial from Math module, but all my efforts to solve the > problem failed. > > I know the mathematical way to so

Re: [Tutor] Hi there,

2016-01-02 Thread Alan Gauld
On 02/01/16 12:45, yehudak . wrote: > I know the mathematical way to solve it (resulting in 24), but I want a > Python solution. Show us your code. Usually "the mathematical way to do it" works in Python too. Although there will likely be other ways that may sometimes run faster or easier to co

[Tutor] Hi there,

2016-01-02 Thread yehudak .
I'm trying to write a Python 3.5 program to find how many trailing zeros are in 100! (factorial of 100). I downloaded factorial from Math module, but all my efforts to solve the problem failed. I know the mathematical way to solve it (resulting in 24), but I want a Python solution. Thank you. ___

Re: [Tutor] Hi pyusb Cant Connect Hid Device !

2015-12-21 Thread Alan Gauld
On 21/12/15 03:36, Seint Aksoy wrote: > Hello i ve searching some information for my problem . > i m trying to write data to usb hid device This list if for learning the core python language and standard library. Pyusb is not part of that and a bit more technical than our normal scope. You would b

[Tutor] Hi pyusb Cant Connect Hid Device !

2015-12-21 Thread Seint Aksoy
Hello i ve searching some information for my problem . i m trying to write data to usb hid device idVendor=0x0123, idProduct=0x0012 its pic18f2550 Bus 001 Device 008: ID 0123:0012 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass

Re: [Tutor] Hi

2015-04-11 Thread Alan Gauld
On 11/04/15 13:32, Vick wrote: "The vast majority of numerical codes in science, including positional astronomy, are written in Fortran and C/C++. True, because the vast majorioty of "scientific codes" (ie libraries) were written many years ago and are still maintained in the languages used

Re: [Tutor] Hi

2015-04-11 Thread Steven D'Aprano
On Sat, Apr 11, 2015 at 08:35:08PM +0400, Vick wrote: > Given that all scientists like to code in Fortran but does it mean that > Python is inferior to it in terms of mathematical / scientific computation? Scientists do not like to code in Fortran. Anybody who tells you that is mistaken. If they

Re: [Tutor] Hi

2015-04-11 Thread Vick
...@mac.com] Sent: Saturday, 11 April, 2015 17:40 To: Vick Cc: William R. Wing; webmas...@python.org; tutor@python.org Subject: Re: [Tutor] Hi > On Apr 11, 2015, at 8:32 AM, Vick wrote: > [byte] > However I recently talked to a guy online and he told me the > following, which actually i

Re: [Tutor] Hi

2015-04-11 Thread Martin A. Brown
Greetings Steven, Much great advice snipped. Is it possible (using U+1F600 through U+1F64F or otherwise) to offer a standing ovation for such a relevant, thorough, competent and well-written reply? Thank you, as always, -Martin (You know, Steven, we had gotten so accustomed to your slapda

Re: [Tutor] Hi

2015-04-11 Thread William Ray Wing
> On Apr 11, 2015, at 8:32 AM, Vick wrote: > [byte] > However I recently talked to a guy online and he told me the following, > which actually intrigued and surprised me: > > "The vast majority of numerical codes in science, including positional > astronomy, are written in Fortran and C/C++.

Re: [Tutor] Hi

2015-04-11 Thread Steven D'Aprano
Hi Vick, and welcome! My replies to your questions are below, interleaved with your comments. On Sat, Apr 11, 2015 at 04:32:38PM +0400, Vick wrote: > However I recently talked to a guy online and he told me the following, > which actually intrigued and surprised me: > > "The vast majority of nu

[Tutor] Hi

2015-04-11 Thread Vick
Hello I've been using Python 27 on Windows for as long as I have used a computer for intelligent purposes, viz. since 2000 I think, well the earlier versions till the current version I'm using now. I used it primarily for mathematical precision on numerical computations. I make my own codes.

Re: [Tutor] Hi!

2013-11-12 Thread Amit Saha
Hello, On Sun, Nov 10, 2013 at 7:04 AM, Vlad Olariu wrote: > Hello. I am new to python and mailing lists. Where should I post some code > if I need to? Welcome. Here is an example of a post with code. Assume that I am explaining to someone how they can exit out a while loop before the condition

Re: [Tutor] Hi!

2013-11-12 Thread Joel Goldstick
On Sat, Nov 9, 2013 at 4:04 PM, Vlad Olariu wrote: > Hello. I am new to python and mailing lists. Where should I post some code > if I need to? > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.

Re: [Tutor] Hi!

2013-11-12 Thread Mark Lawrence
On 09/11/2013 21:04, Vlad Olariu wrote: Hello. I am new to python and mailing lists. Where should I post some code if I need to? Here but only after you've read this http://sscce.org/ -- Python is the second best programming language in the world. But the best has yet to be invented. Christi

[Tutor] Hi!

2013-11-12 Thread Vlad Olariu
Hello. I am new to python and mailing lists. Where should I post some code if I need to? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] hi

2013-08-22 Thread Oscar Benjamin
On 20 August 2013 13:49, Vick wrote: > > From: Oscar Benjamin [mailto:oscar.j.benja...@gmail.com] > >> Well just send me some tutorial on how to build and obtain the >> coefficients for the butcher tableau for the RK4 as an example, and >> after I've mastered it, I'd give the dopri8 a shot. > > I

Re: [Tutor] hi

2013-08-20 Thread Vick
-Original Message- From: Oscar Benjamin [mailto:oscar.j.benja...@gmail.com] Sent: Tuesday, 13 August, 2013 01:01 > Well just send me some tutorial on how to build and obtain the > coefficients for the butcher tableau for the RK4 as an example, and > after I've mastered it, I'd give t

Re: [Tutor] hi

2013-08-08 Thread Vick
tutor@python.org Subject: Re: [Tutor] hi On 1 August 2013 12:32, Vick wrote: > Hi, Hi Vick, sorry I've been away and I've only had a chance to look at this now. > As per your request below, I have attached a stand-alone example > (test3d.py) of my problem. I am trying to pl

Re: [Tutor] hi

2013-08-07 Thread Vick
42 To: Vick Subject: Re: [Tutor] hi On 31 July 2013 22:20, Vick wrote: > Hello, Hi Vick, I would prefer it if you would send questions like this to the tutor mailing list rather than directly to me. This is because: 1) I'm often unable to respond and there are many other people there who

Re: [Tutor] hi

2013-07-23 Thread Vick
Vick -Original Message- From: Oscar Benjamin [mailto:oscar.j.benja...@gmail.com] Sent: Monday, 22 July, 2013 15:59 To: Vick Cc: Tutor@python.org Subject: Re: [Tutor] hi On 12 July 2013 11:08, Vick < <mailto:vick1...@orange.mu> vick1...@orange.mu> wrote: > Hi, Hi Vi

Re: [Tutor] hi

2013-07-18 Thread Joel Goldstick
On Fri, Jul 12, 2013 at 6:08 AM, Vick wrote: > Hi, > > ** ** > > I’m using Windows 7 and Python 2.7.3 > > ** ** > > I have written a code to perform a numerical solution to 1st order > Ordinary Differential Equations (ODEs). I have written codes for the famous > Runge Kutta 4th order and

Re: [Tutor] Hi, First question

2013-06-16 Thread Alan Gauld
On 15/06/13 06:22, Patrick Williams wrote: Hi so I am making a bit of code to extract a bit of numbers data from a file and then find the average of that data, however while I can get the code to extract each specific piece of data I need, I can't seem to get the numbers to add separately so I c

Re: [Tutor] Hi, First question

2013-06-16 Thread Steve Willoughby
On 16-Jun-2013, at 09:21, Mark Lawrence wrote: > On 16/06/2013 16:55, Chris “Kwpolska” Warrick wrote: >> On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams wrote: >>> Hi so I am making a bit of code to extract a bit of numbers data from a file >>> and then find the average of that data, however

Re: [Tutor] Hi, First question

2013-06-16 Thread Mark Lawrence
On 16/06/2013 16:55, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams wrote: Hi so I am making a bit of code to extract a bit of numbers data from a file and then find the average of that data, however while I can get the code to extract each specific piece of d

Re: [Tutor] Hi, First question

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams wrote: > Hi so I am making a bit of code to extract a bit of numbers data from a file > and then find the average of that data, however while I can get the code to > extract each specific piece of data I need, I can't seem to get the numbers > to a

Re: [Tutor] Hi, First question

2013-06-16 Thread Alexander
On Sat, Jun 15, 2013 at 1:22 AM, Patrick Williams wrote: > Hi so I am making a bit of code to extract a bit of numbers data from a > file and then find the average of that data, however while I can get the > code to extract each specific piece of data I need, I can't seem to get the > numbers to

[Tutor] Hi, First question

2013-06-16 Thread Patrick Williams
Hi so I am making a bit of code to extract a bit of numbers data from a file and then find the average of that data, however while I can get the code to extract each specific piece of data I need, I can't seem to get the numbers to add separately so I can get a proper average. My sum1 variable see

Re: [Tutor] Hi Folks...Need help with a modified version of the Subset sum problem.

2013-05-21 Thread Peter Otten
spiff007 wrote: > Hi there Tutor folks > > I need your help with a modified version of the subset sum problem [ > http://en.wikipedia.org/wiki/Subset_sum_problem]. > > The problem i am facing is a bit hard to describe (as most complex problem > always are :D ), so please bear with my longish art

[Tutor] Hi Folks...Need help with a modified version of the Subset sum problem.

2013-05-21 Thread spiff007
Hi there Tutor folks I need your help with a modified version of the subset sum problem [ http://en.wikipedia.org/wiki/Subset_sum_problem]. The problem i am facing is a bit hard to describe (as most complex problem always are :D ), so please bear with my longish articulation :) Here it goes : A

Re: [Tutor] Hi

2010-11-06 Thread Luke Pettit
Wow information overload lol Thanks everyone this is great. On 7 November 2010 13:43, trench wrote: > I'd also point out that Google has created a very awesome Python course > which is heavily dependent on video lectures by Nick Parlante. Included in > the course are downloadable exercises and e

Re: [Tutor] Hi

2010-11-06 Thread trench
I'd also point out that Google has created a very awesome Python course which is heavily dependent on video lectures by Nick Parlante. Included in the course are downloadable exercises and examples (all mentioned in the video lectures). After you review all of this quality (not to mention free) mat

Re: [Tutor] Hi

2010-11-06 Thread Glen Clark
Also, if you have not yet chosen an IDE I recommend eclipse with the pydev extension. Google them or if you use gnu/linux (like ubuntu) you can get it from the package manager. It is a very simple interface, with syntax highlighting, debug mode and console. On Sat, 2010-11-06 at 14:45 +, Glen

Re: [Tutor] Hi

2010-11-06 Thread Glen Clark
Luke, I used a video from Lynda.com, simply because I already had a subscription. The price was about $25 per month which I think is more expensive that showmedo. Or you could buy it for $99 (Python 3 Essential Training (DVD-ROM)). The video's were very good for me personally because he was stra

Re: [Tutor] Hi

2010-11-06 Thread Luke Pettit
Thanks Alan I found those about an hour ago :) On 6 November 2010 20:11, Alan Gauld wrote: > > "Luke Pettit" wrote > > > I was interested in which video tutorials Glen was watching, and if anyone >> else could recommend some video tutorials to watch, >> > > I don;t know what Glen was watching

Re: [Tutor] Hi

2010-11-06 Thread Alan Gauld
"Luke Pettit" wrote I was interested in which video tutorials Glen was watching, and if anyone else could recommend some video tutorials to watch, I don;t know what Glen was watching but thhere are a whole bunch of videos at showmedo.com Alan G. __

[Tutor] Hi

2010-11-05 Thread Luke Pettit
Hi everyone, I'm just about to begin to learn python and have bookmarked a number of sites to learn from http://www.alan-g.me.uk/ is the main one but after reading this ""On Nov 4, 2010, at 3:10 PM, Glen Clark wrote: Hello, I have completed my first python script. This is after watching a video

Re: [Tutor] Hi everybody stuck on some error need help please thank you!!

2010-04-24 Thread Dave Angel
(Don't top-post. Either put your remarks immediately after the part they reference, or at the end of the message. Otherwise, everything's thoroughly out of order.) Marco Rompré wrote: I tried to enter model = Modele (nom_fichier) but it still does not work. You didn't define the global no

Re: [Tutor] Hi everybody stuck on some error need help please thank you!!

2010-04-23 Thread Steven D'Aprano
On Sat, 24 Apr 2010 01:33:46 pm Marco Rompré wrote: > I tried to enter model = Modele (nom_fichier) but it still does not > work. What does "still does not work" mean? Please copy and paste the error you get. > And for the list I don't understand very well, Open an interactive session and

Re: [Tutor] Hi everybody stuck on some error need help please thank you!!

2010-04-23 Thread Marco Rompré
I tried to enter model = Modele (nom_fichier) but it still does not work. And for the list I don't understand very well, Do you know where I can pay someone to help with my programming. Because I feel to annoy tutors with my basic stuff On Fri, Apr 23, 2010 at 11:22 PM, Steven D'Aprano wrote: > O

Re: [Tutor] Hi everybody stuck on some error need help please thank you!!

2010-04-23 Thread Steven D'Aprano
On Sat, 24 Apr 2010 01:07:11 pm Marco Rompré wrote: > Here's my code: [...] > class Modele: > """ > La definition d'un modele avec les magasins. > """ > def __init__(self, nom_fichier, magasins =[]): > self.nom_fichier = nom_fichier > self.magasins = magasins [...]

[Tutor] Hi everybody stuck on some error need help please thank you!!

2010-04-23 Thread Marco Rompré
Hi everybody, I would appreciate your help on this one In this program I want to create 2 concepts each with 2 or 3 properties My first concept is magasin(shop in french) and my shop has 3 attributes: nom(name in french), items and ville (city in french) the second one is items and its 2 attributes

Re: [Tutor] Hi there :.)

2010-03-16 Thread Stefan Behnel
Alan Gauld, 15.03.2010 20:28: wrote (apparently python is slow ?!?). It is all relative. If you want to write fast moving graphics etc then yes, you probably need C++. For anything else you might find Python is fast enough. A good approach tends to be: write it in Python first, benchmark it

[Tutor] Hi there!

2010-03-16 Thread Marco Rompré
Hi! Does anyone of you know where to find all the solutions of Gerard Swinnen Python tutorial exercises In the tutorial we just have the solutions to half of the exercises. Thank you -- Marc-O. Rompré ___ Tutor maillist - Tutor@python.org To un

Re: [Tutor] Hi there :.)

2010-03-15 Thread Alan Gauld
wrote Just introducing myself to say hiHi! Hi welcome, but please don't include lots of attachments. It blows up people's mailboxes and bandwidth allowances. Better to post them on a website and send a link. I'm very new to programming, ... place to start I found out that python a

Re: [Tutor] Hi there :.)

2010-03-15 Thread Wayne Werner
On Mon, Mar 15, 2010 at 10:23 AM, wrote: > Hey, > Just introducing myself to say hiHi! > > I'm very new to programming, I got interested in it when I decided to have > a go at html. When looking around for a place to start I found out that > python and C++ are the usual starting place bu

Re: [Tutor] hi everyone!

2009-08-09 Thread Alan Gauld
"malathi selvaraj" wrote i am new one to this programming language. Hello and welcome. what i do to learn python in proper manner. First of all make sure you download Python v2.6 rather than v3. v3 is not ideal for learning just yet it is still rather new. Do you know any other progra

[Tutor] hi everyone!

2009-08-09 Thread malathi selvaraj
i am new one to this programming language. i like to learn python,what i do? what i do to learn python in proper manner. -- Regards, S.Malathi. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] HI

2009-07-07 Thread A.T.Hofkamp
Vishnu S wrote: Sir/Madame, i'm a begginner to Python help me in putting the first step to this world Welcome! A useful first page may be http://wiki.python.org/moin/BeginnersGuide for an overview, and http://wiki.python.org/moin/BeginnersGuide/NonProgrammers where you can find a lot of link

[Tutor] HI

2009-07-07 Thread Vishnu S
Sir/Madame, i'm a begginner to Python help me in putting the first step to this world With regards Vishnu S ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi,

2009-06-26 Thread bob gailer
Kgotlelelo Legodi wrote: Hi, I am trying to write a program in python that solves a system of nonlinear equations using newton's method. I don't know what I am doing wrong. Please help Mostly what you are "doing wrong" is failing to tell us why you think there is a problem! What results are

[Tutor] Hi,

2009-06-26 Thread Kgotlelelo Legodi
Hi, I am trying to write a program in python that solves a system of nonlinear equations using newton's method. I don't know what I am doing wrong. Please help from scipy import* x = array([0.0,0.0,0.0]) n=len(x) tol= 0.1 N=30 k=1 while k <= N: def f(x): f= zeros((len(x)),flo

Re: [Tutor] Hi

2009-06-08 Thread Alan Gauld
"Eddie" wrote Hi, I'm new and just starting to learn Python. Just testing if this works or not and if anybody reads it lol. Welcome! If you take a look at the archive on the web site you'll see that quite a lot of folks read it - and many reply too! You might even find answers to a lot

Re: [Tutor] Hi

2009-06-08 Thread Christian Witts
Eddie wrote: Hi, I'm new and just starting to learn Python. Just testing if this works or not and if anybody reads it lol. Eddie ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor Welcome to the list and enjoy you

Re: [Tutor] Hi

2009-06-08 Thread Kent Johnson
On Mon, Jun 8, 2009 at 7:30 AM, Eddie wrote: > Hi, I'm new and just starting to learn Python. Just testing if this > works or not and if anybody reads it lol. Yes, it works. Welcome! Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/ma

[Tutor] Hi

2009-06-08 Thread Eddie
Hi, I'm new and just starting to learn Python. Just testing if this works or not and if anybody reads it lol. Eddie ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi everyone....thanks for the help

2009-05-21 Thread Doug Reid
Thank you all for the help.  I believe I understand now, and think this will be a great group to learn from.   Doug ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi everyone

2009-05-21 Thread W W
On Thu, May 21, 2009 at 2:42 AM, spir wrote: > >while word: > position = random.randrange(len(word)) >jumble += word[position] >word = word[:position] + word[(position + 1):] > Something that many of us use for debugging, and is also useful for comprehension is a sim

Re: [Tutor] Hi everyone

2009-05-21 Thread spir
Le Wed, 20 May 2009 18:25:07 -0700 (PDT), Doug Reid s'exprima ainsi: > "The next line in the loop, >word = word[:position] + word[(position + 1):] > > creates a new version of word minus the one letter at position position. > Using slicing, the computer creates two new strings from word. The

Re: [Tutor] Hi everyone

2009-05-20 Thread Lie Ryan
Doug Reid wrote: Now here is the code I'm having trouble following: while word: position = random.randrange(len(word)) jumble += word[position] word = word[:position] + word[(position + 1):] position = random.randrange(len(word)). This will create a starting point for the progra

[Tutor] Hi everyone

2009-05-20 Thread Doug Reid
Hi,   I'm teaching myself Python mainly for to use as a hobby.  I'd like to do graphical programs eventually and maybe some simple graphic games.  I feel I'm doing well with the tutorial I'm using but it would be nice to have some real people to ask questions and opinions, so on that note, I'm h

Re: [Tutor] HI, #Include like in python

2009-03-20 Thread A.T.Hofkamp
wesley chun wrote: import listen You can use the __import__ function if you want, but generally you want the import statement as above. The equivalent to 'import listen' is: listen = __import__('listen') See the tutorial here: http://docs.python.org/tutorial/modules.html you also hav

Re: [Tutor] HI, #Include like in python

2009-03-19 Thread wesley chun
>    import listen > > You can use the __import__ function if you want, but generally you > want the import statement as above.  The equivalent to 'import listen' > is: > >    listen = __import__('listen') > > See the tutorial here: http://docs.python.org/tutorial/modules.html you also have to ma

Re: [Tutor] HI, #Include like in python

2009-03-19 Thread John Fouhy
2009/3/20 andré palma : > Hi \o > I'm asking if there is any #include( C) like or any include('File.php') > (php) like in python. > I have 2 files: "usbconnection.py" and "listen.py", And i want to use some > classes avaiable in "listen.py" on my main file "usbconnection.py". I've > tryed to do __i

[Tutor] HI, #Include like in python

2009-03-19 Thread andré palma
Hi \o I'm asking if there is any #include( C) like or any include('File.php') (php) like in python. I have 2 files: "usbconnection.py" and "listen.py", And i want to use some classes avaiable in "listen.py" on my main file "usbconnection.py". I've tryed to do __import__("listen.py") but obvious

Re: [Tutor] hi...

2008-08-24 Thread broek
- Message from [EMAIL PROTECTED] - Date: Sun, 24 Aug 2008 01:31:28 -0500 From: Alberto Perez <[EMAIL PROTECTED]> Reply-To: Alberto Perez <[EMAIL PROTECTED]> Subject: [Tutor] hi... To: tutor@python.org run a program in interactive mode, the program run ve

Re: [Tutor] hi...

2008-08-24 Thread Alan Gauld
"Alberto Perez" <[EMAIL PROTECTED]> wrote . How clear the screen of GUI python interactive bhaaaluu answered that and which is the difference between interactive mode and not interactive mode WW answered that because when I run a program in interactive mode, the program run very

Re: [Tutor] hi...

2008-08-24 Thread bhaaluu
On Sun, Aug 24, 2008 at 2:31 AM, Alberto Perez <[EMAIL PROTECTED]> wrote: > I have a problem with python, I'm begginner in python. How clear the screen > of GUI python interactive I'm not sure what you mean by GUI interactive? However, at the Python interactive prompt, I can "clear the screen"

[Tutor] hi...

2008-08-24 Thread Alberto Perez
I have a problem with python, I'm begginner in python. How clear the screen of GUI python interactive and which is the difference between interactive mode and not interactive mode because when I run a program in interactive mode, the program run very good, but if run in not interactive

Re: [Tutor] Hi

2008-01-25 Thread bob gailer
Firoze Khan wrote: > Hi, > I want Tutors mailing List If you want to subscribe visit: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi

2008-01-25 Thread Kent Johnson
Firoze Khan wrote: > Hi, > I want Tutors mailing List You seem to have found it. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Hi

2008-01-25 Thread Firoze Khan
Hi, I want Tutors mailing List ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi,every one

2007-06-23 Thread Sridhar Ratna
On 6/23/07, Yang Yang <[EMAIL PROTECTED]> wrote: > > 1.what is the best book for python study. Try "Byte of Python" http://byteofpython.info/ > > 2.what's is the better IDE for python > Start off with IDLE, which comes with the Python installer. Go through this IDLE tutorial, http://hkn.eecs

Re: [Tutor] Hi,every one

2007-06-22 Thread David Heiser
ing Python code every day for 6 years. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Gauld Sent: Friday, June 22, 2007 6:12 PM To: tutor@python.org Subject: Re: [Tutor] Hi,every one "Yang Yang" <[EMAIL PROTECTED]> wrote >i am a

Re: [Tutor] Hi,every one

2007-06-22 Thread Alan Gauld
"Yang Yang" <[EMAIL PROTECTED]> wrote i am a newman for python world Are you new to programming? Or are you just new to python? The answer to that question will affect the answers to the next. 1.what is the best book for python study. Depends on above. If you are brand new to programm

Re: [Tutor] Hi,every one

2007-06-22 Thread Rolando Pereira
Yang Yang escreveu: > i am a newman for python world > > i have some word want to ask > > > 1.what is the best book for python study. > I like Dive into Python. ( http://www.diveintopython.org/ ) > 2.what's is the better IDE for python > That depends on what OS you are. > > Thanks for all

  1   2   >