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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"

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

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

Re: [Tutor] Hi

2007-03-16 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, pygt

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 wh

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

Re: [Tutor] Hi All

2006-09-05 Thread Mike Hansen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Amit Rane > Sent: Saturday, September 02, 2006 4:52 AM > To: tutor@python.org > Subject: [Tutor] Hi All > > Hi , > This is Amit from India ... > i have just started working on Python ... >

Re: [Tutor] Hi All

2006-09-02 Thread John Purser
On Sat, 2 Sep 2006 13:39:05 +0200 tomd <[EMAIL PROTECTED]> wrote: > > i have just started working on Python ... > > please let me know the books to refer to start > > learning > > I recommend Beginning Python from Magnus Lie Hetland, apart from being > comprehensive and targetted at beginners, it

Re: [Tutor] Hi All

2006-09-02 Thread tomd
> i have just started working on Python ... > please let me know the books to refer to start > learning I recommend Beginning Python from Magnus Lie Hetland, apart from being comprehensive and targetted at beginners, it will take you through the develoopment of 10 various projects, including game,

Re: [Tutor] hi

2006-08-04 Thread Kent Johnson
anil maran wrote: > i have a textbox in a webform > i save it in postgres > in postgres, it has several newlines and it is properly displayed > when i redisplay using cheetah > it just displays in a single line and looks ugly > > is there a simple way to replace newlines with s.replace('\n', '')

Re: [Tutor] Hi, need help on zip commands for windows

2006-07-15 Thread Fabrizio Milo aka misto
> Can somebody explain what I'm doing wrong? The problem should be in the string passed to os.system try to print the complete string that you are passing to os.system. then run a shell and paste the complete string on the shell, I am sure that the shell will complain about something. Fabrizio _

Re: [Tutor] hi

2006-07-14 Thread Kent Johnson
anil maran wrote: > hi you wonderful energetic pygurus > i need to send out lot of emails and sms messages from a python program > please let me know if you know of any library like java sms library or > possible solutions smtplib will help with sending emails. I hope they are not spam! Kent ___

Re: [Tutor] Hi, need help on zip commands for windows

2006-07-12 Thread Senthil_OR
There is no zip command in as such in windows. You can install www.7-zip.com software and trying withh command command line interface as belodw zip_command = "7z -a %s %s" % (target, ''.join(source))   If you like to zip files using python:   import zipfile #create a zipzipf = zipfile.ZipFil

Re: [Tutor] Hi, need help on zip commands for windows

2006-07-12 Thread Luke Paireepinart
Ramakrishnan, Shashikanth wrote: > > Hi, > Hi. > > I have just started using Python and would appreciate if somebody > could help me out on zip commands. > > I am using C H Swaroop’s book “A byte of python” as my beginners guide. > > One example states to use >>>zip_command = "zip -qr '%s' %s" %

Re: [Tutor] Hi

2006-04-04 Thread Steve Nelson
On 4/4/06, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: > Hi ALL > > A simple query is that the python mailing List is python powered > > What does "python powered" means The list, and many like it, use a piece of software called Mailman, which is written in Python. A few years back, the tool of ch

Re: [Tutor] Hi

2006-03-22 Thread Alan Gauld
> It helps to think of the indices as pointing to in between the letters. > Not to the letters themselves. Like so, where '|' represents the mark: 'corrupt'[0:] -> '|corrupt' 'corrupt'[1:] -> 'c|orrupt' So an index of 1 moves the mark one place up. > Negative indices start from the position s

Re: [Tutor] Hi

2006-03-22 Thread Kaushal Shriyan
On 3/22/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > > I got this, Lets say if its mystring[n:m] where n may be another > > number and m may be another number so how will it work in that case, > > so this becomes general and makes more clear > > > n is the index of the first character and m is the i

Re: [Tutor] Hi

2006-03-22 Thread Alan Gauld
> I got this, Lets say if its mystring[n:m] where n may be another > number and m may be another number so how will it work in that case, > so this becomes general and makes more clear > n is the index of the first character and m is the index *beyond* the last character > Lets say if its mystrin

Re: [Tutor] Hi

2006-03-22 Thread Suri Chitti
Danny Yoo Subject: Re: [Tutor] Hi On 3/22/06, Danny Yoo <[EMAIL PROTECTED]> wrote: > > > I am new to python and I am going through the URL > > http://www.ibiblio.org/obp/thinkCSpy/index.htm, At the moment I am going > > through the Chapter 7 Strings, I am stuck with underst

Re: [Tutor] Hi

2006-03-21 Thread Noufal Ibrahim
On Wed, March 22, 2006 12:11 pm, Kaushal Shriyan wrote: > Hi > > I am new to python and I am going through the URL > http://www.ibiblio.org/obp/thinkCSpy/index.htm, At the moment > I am going through the Chapter 7 Strings, I am stuck with understanding > slice which is a part of a String, I am not

Re: [Tutor] Hi

2006-03-21 Thread Kaushal Shriyan
On 3/22/06, Danny Yoo <[EMAIL PROTECTED]> wrote: > > > I am new to python and I am going through the URL > > http://www.ibiblio.org/obp/thinkCSpy/index.htm, At the moment I am going > > through the Chapter 7 Strings, I am stuck with understanding slice which > > is a part of a String, I am not able

Re: [Tutor] Hi

2006-03-21 Thread Danny Yoo
> I am new to python and I am going through the URL > http://www.ibiblio.org/obp/thinkCSpy/index.htm, At the moment I am going > through the Chapter 7 Strings, I am stuck with understanding slice which > is a part of a String, I am not able to understand how it functions Hello, A "slice" takes

Re: [Tutor] hi

2005-09-16 Thread Jacob S.
If you would like to talk to me directly, (without the use of cluttering the list -- I mean, you can, they don't mind, but one-on-one is okay with me) I have very few things to do, and would be happy to help you out. I have a tad of experience in python (about a years' worth of fiddling, actual

Re: [Tutor] hi

2005-08-29 Thread Alan Gauld
Hi Bobby, > hello i am new to python very new as in my first time ever > using > it and no experience in programming at all In that case go to the Non Programmers web page on the Python site and follow one of the non programmers tutorials there, possibly mine! :-) http://wiki.python.org/moin/B

Re: [Tutor] hi

2005-08-29 Thread Danny Yoo
On Sat, 27 Aug 2005, bobby arocha wrote: > hello i am new to python very new as in my first time ever using it and > no experience in programming at all and i woul dliek some help to > understand how th eprogram works and how to use pythin to thelimits of > its capabilitys and i woul dlike some

Re: [Tutor] hi HELP

2005-08-19 Thread Bob Gailer
At 09:57 PM 8/14/2005, Suranga Sarukkali wrote: >I want to unsubscribe from your python mailing list and anything related >that keeps sending un imagned amount of emails that anrt spam but a bit >of shit. pls Unsubscribe me. You are on this list because you subscribed. You must also unsubscribe. C

  1   2   >