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

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++

[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

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

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

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 >

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

[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-03 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

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.

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

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

[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

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

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

[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

[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 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

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

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

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

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 =

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

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

[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.

[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

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

[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

Re: [Tutor] Hi

2015-04-11 Thread William Ray Wing
On Apr 11, 2015, at 8:32 AM, Vick vick1...@orange.mu 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

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 vick1...@orange.mu wrote: [byte] However I recently talked to a guy online and he told me the following, which actually

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 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
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

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

[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-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.

Re: [Tutor] Hi!

2013-11-12 Thread Joel Goldstick
On Sat, Nov 9, 2013 at 4:04 PM, Vlad Olariu florinvlad.ola...@gmail.com 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

Re: [Tutor] Hi!

2013-11-12 Thread Amit Saha
Hello, On Sun, Nov 10, 2013 at 7:04 AM, Vlad Olariu florinvlad.ola...@gmail.com 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

Re: [Tutor] hi

2013-08-22 Thread Oscar Benjamin
On 20 August 2013 13:49, Vick vick1...@orange.mu 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

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 the

Re: [Tutor] hi

2013-08-08 Thread Vick
: Re: [Tutor] hi On 1 August 2013 12:32, Vick vick1...@orange.mu 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 plot in 3D using ion() from a loop

Re: [Tutor] hi

2013-08-07 Thread Vick
To: Vick Subject: Re: [Tutor] hi On 31 July 2013 22:20, Vick vick1...@orange.mu 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

Re: [Tutor] hi

2013-07-23 Thread 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 Vick, Sorry

Re: [Tutor] hi

2013-07-18 Thread Joel Goldstick
On Fri, Jul 12, 2013 at 6:08 AM, Vick vick1...@orange.mu 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

[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

Re: [Tutor] Hi, First question

2013-06-16 Thread Alexander
On Sat, Jun 15, 2013 at 1:22 AM, Patrick Williams pdw0...@gmail.com 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

Re: [Tutor] Hi, First question

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams pdw0...@gmail.com 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

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 pdw0...@gmail.com 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

Re: [Tutor] Hi, First question

2013-06-16 Thread Steve Willoughby
On 16-Jun-2013, at 09:21, Mark Lawrence breamore...@yahoo.co.uk wrote: On 16/06/2013 16:55, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams pdw0...@gmail.com wrote: Hi so I am making a bit of code to extract a bit of numbers data from a file and then find

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

[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 :

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

Re: [Tutor] Hi

2010-11-06 Thread Alan Gauld
Luke Pettit petl...@gmail.com 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.

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 alan.ga...@btinternet.com wrote: Luke Pettit petl...@gmail.com wrote I was interested in which video tutorials Glen was watching, and if anyone else could recommend some video tutorials to watch, I

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

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 +,

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)

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 trenchc...@gmail.com 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

[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 gle...@gmail.com wrote: Hello, I have completed my first python script. This is after

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

[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

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 [...] if __name__

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

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 do

[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

Re: [Tutor] Hi there :.)

2010-03-15 Thread Alan Gauld
mark-irel...@msn.com 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

[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 everyone!

2009-08-09 Thread Alan Gauld
malathi selvaraj malathira...@gmail.com 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

[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-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

[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=

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-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

2009-06-08 Thread Kent Johnson
On Mon, Jun 8, 2009 at 7:30 AM, Eddieeddie9...@gmail.com 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

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

Re: [Tutor] Hi

2009-06-08 Thread Alan Gauld
Eddie eddie9...@gmail.com 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

Re: [Tutor] Hi everyone

2009-05-21 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

Re: [Tutor] Hi everyone

2009-05-21 Thread spir
Le Wed, 20 May 2009 18:25:07 -0700 (PDT), Doug Reid rnrcr...@yahoo.com 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

Re: [Tutor] Hi everyone

2009-05-21 Thread W W
On Thu, May 21, 2009 at 2:42 AM, spir denis.s...@free.fr wrote: snip 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

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

[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

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

[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 obviously it

[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-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

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 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 very good

[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

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

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,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,

[Tutor] Hi,every one

2007-06-22 Thread Yang Yang
i am a newman for python world i have some word want to ask 1.what is the best book for python study. 2.what's is the better IDE for python Thanks for all___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

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

Re: [Tutor] Hi

2007-03-17 Thread Rikard Bosnjakovic
On 3/16/07, Ben [EMAIL PROTECTED] wrote: Is anyone can point me where I can find a good tutorial about pywin for someone like me? Pywin itself is not a package for making GUIs, it's merely a IDE for Windows and got the win32all-package included. For GUIs, you want to look at wxPython, pygtk

[Tutor] hi, learning python

2006-12-24 Thread Raven Of Night Raven Of Night
print Guesses you've taken: ,i, \nGuess letter: letter_guess = raw_input()' this is a line of my program, and raw_input only takes one argument. I want it to display like this Guesses you've taken: 0 Guess letter: (letter would go here) instead of Guesses you've taken: 0 Guess

Re: [Tutor] hi, learning python

2006-12-24 Thread Bob Gailer
Raven Of Night Raven Of Night wrote: print Guesses you've taken: ,i, \nGuess letter: letter_guess = raw_input()' this is a line of my program, and raw_input only takes one argument. I want it to display like this Guesses you've taken: 0 Guess letter: (letter would go here)

Re: [Tutor] hi, learning python

2006-12-24 Thread Alan Gauld
Raven Of Night Raven Of Night [EMAIL PROTECTED] wrote print Guesses you've taken: ,i, \nGuess letter: letter_guess = raw_input()' this is a line of my program, and raw_input only takes one argument. Yes, and that argument is the prompt to display to the user, which is what you

[Tutor] Hi, need help on terminal input

2006-09-28 Thread Ramakrishnan, Shashikanth
Hi, Does anybody know how to create a pygtk widget which can accept and diplay input from a serial port? Thanks and Rgds, Shashikanth Ramakrishnan Embedded Product Division Cell: +6-0122977087 e-mail :[EMAIL PROTECTED] ___ Tutor

  1   2   >