[Tutor] Help request ERROR installing beautifulsoup

2019-04-29 Thread Dr. Luca T
Hi, i'm new in python, i tried to install beautifulsoup but i had back this error: ERROR: Complete output from command python setup.py egg_info: ERROR: Traceback (most recent call last): File "", line 1, in File "C:\Users\Luca\AppData\Local\Temp\pip-install-u6zd808q\beautifulsoup

Re: [Tutor] Python programming help!

2018-09-23 Thread V E G E T A L
Sep 23, 2018 3:33 AM, "V E G E T A L" > wrote: > > > > Hello folks! So, I'm pretty much a noob still experimenting with basic > > commands. I wanted to make a code that checks if the value of one > variable > > is less, equal or greater than the o

[Tutor] Python programming help!

2018-09-23 Thread V E G E T A L
Hello folks! So, I'm pretty much a noob still experimenting with basic commands. I wanted to make a code that checks if the value of one variable is less, equal or greater than the other. Pretty simple right? But then, this problem emerged. I would really love some help, since I'm stuck and can't f

Re: [Tutor] Remove artca...@google.com from mailing list, PLEASE

2014-11-04 Thread Huy T
Yeah this is correct. When I went to test google autocorrected google to googlemail.com Typing fast and gmail built in autosuggest = :( On Tue, Nov 4, 2014 at 2:29 PM, Danny Yoo wrote: > >> @google.com and @gmail.com both work and resolve to the same mailbox, >> just fyi. Something wasn't terr

Re: [Tutor] Remove artca...@google.com from mailing list, PLEASE

2014-11-04 Thread Huy T
When you unsubscribe be sure to put the email address you sub'd with. @google.com and @gmail.com both work and resolve to the same mailbox, just fyi. Something wasn't terribly efficient of notifying people of. So if you have a @gmail.com, you also have @google.com On Tue, Nov 4, 2014 at 1:37 PM,

[Tutor] run perl script files and capture results

2013-01-09 Thread T. Girowall
New to programing and need some help.   I have multiple perl script files that I would like to automate using python. Currently each one is ran individually and the output is manually examined. The perl script is ran form the command promp with arguments as follows:   c:\scripts\perl>perl plscr

[Tutor] Telnet login

2012-11-08 Thread T. Girowall
Hello All,  I'm trying to telnet to a device with a particular IP address. I'm using the sample code below and get the following error:  Erro 10061: "No connection could be made because the target machine actively refused it" My firewall is turned off.  I'm using Python 2.7 I'm using Windows XP

[Tutor] Columnar Transposition Cipher question

2010-11-08 Thread Natalie Kristine T. Castillo
Hi, I need help on how exactly to solve this: To send secret messages you and your partner have decided to use the columnar function you have written to perform columnar transposition cipher for this course. You have received the ciphertext EXLYHILOSHOOAETU from your friend. You two decide

[Tutor] creating a class

2010-10-05 Thread T MURPHY
how do i go about creating a class in python. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] Doubly linked list

2010-09-30 Thread T MURPHY
I was having trouble, where on the python site can i find steps on classes and making a doubly linked list, is there a help option for linked lists. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python

[Tutor] python and serial port

2009-06-09 Thread Ranjeeth P T
sir, I am new to python i want to communicate i.e send and receive b/n an arm device and pc via a serial port,arm part is fine i want to know abt the pc part in python which library and module should i use and also the funtions. Please help me Ranjeeth p t http://ranjeethpt.wordpress.com

[Tutor] Question about Python.

2009-03-25 Thread T
Hi. I'm working on Paper, Rock, Scissors in Python. I need to make it a loop, and test the values (1, 2, 3, /Rock/Paper/Scissors) yet, but i'm kind of stuck. Could you help me? import random #Imports the random modual from the library. def main(): #First function. print 'Lets play Paper

[Tutor] running python script

2008-08-10 Thread r t
currently i have a batch file that is associated with .txt extentions so when i double click on a text file, windows runs the batch file that then sends command line args to MY text editor program..."Texteditor.py", instead of Microsofts *feature rich* Crappad. :-P this works, but the problem is th

[Tutor] help with list permutations

2008-01-03 Thread c t
Greeting from a real newbie, I think that their might exist an easy way, in Python, for my list permutation issue. I need to be able to permute all elements from across several lists, while ensuring order is maintained across the lists. For example: list1=[a b] list2=[c d e] list3=[f] list4=[

Re: [Tutor] Creating folders

2007-01-10 Thread Glenn T Norton
Toon Pieton wrote: > Hey friendly users! > > My question is pretty simple. How can I create a folder with Python? > Trying to make a program which will allow me to save my notes (txt > files) quickly and cleanly. Having to create folder manually would > really make it a bit obsolete. > > Thanks

Re: [Tutor] SPE - Stani's Python Editor ?

2007-01-04 Thread Shanmuhanathan T
I found eclipse+pydev to be as good as/better than komodo or wingware. also eclipse has other plugins which makes it a powerful IDEs for php/ruby/perl etc. Regards, Shanmu. On 1/4/07, Mike Hansen <[EMAIL PROTECTED]> wrote: > -Original Message- > From: OkaMthembo [mailto:[EMAIL PROTEC

Re: [Tutor] Writing a list in a text file

2006-12-03 Thread Glenn T Norton
Mihai Iacob wrote: >Hello > > >def saveBugs(data): >store = open(filename, 'w') >for timeMark,aList in data.items(): >store.write(timeMark + '\n') >store.write(aList + '\n') >store.close() > >data is a dictionary >aList is a list > >After i run this part the following e

Re: [Tutor] Database Table Primary Keys

2006-11-21 Thread Glenn T Norton
Tod Haren wrote: >Using a DBAPI 2.0 module such as ADODBAPI, how can a I identify the >primary key fields of a table. cursor.desctription doesn't hold this >info, unless I'm missing something. I just don't see it in the >documentation. Maybe there's an SQL statement I haven't found yet. > >Is t

Re: [Tutor] One million and counting

2006-10-31 Thread Glenn T Norton
Alan Gauld wrote: >Hi folks, > >In just thought I'd mention that my web tutor has now passed >the million visitors mark. Thanks to all those on the tutor >list who have paid a visit. > >Alan Gauld >Author of the Learn to Program web site >http://www.freenetpages.co.uk/hp/alan.gauld >

Re: [Tutor] re-import

2006-10-29 Thread Glenn T Norton
jhl wrote: > Hi- > > How is the 1st import of a module removed so that new edits on the > module can be re-imported? > > DETAIL: > > I am working on a module/file and importing it into a python shell, > trying it out and then tweaking/editing the module. Then to see the > effects of the edits,

Re: [Tutor] basic question ...

2006-10-27 Thread Glenn T Norton
Ravi Kondamuru wrote: > Hi, > > How does one figure all the builtin libraries/ classes that python > supports? > > For example if I want to sort a list of names, I would normally think > of implementing the sorting routine in C. I am just beginning to learn > python. It looks like there is a ri

Re: [Tutor] Getting the type of a variable

2006-10-27 Thread Glenn T Norton
Etrade Griffiths wrote: >Hi > >I want to check the type of a variable so that I know which format to use >for printing eg > >def print_correct_format(a): > > if type(a) == 'int': > print "a is an integer, value %i" % (a) > elif type(a) == 'float': > print "

Re: [Tutor] Equivalent to perl -e

2006-10-15 Thread Glenn T Norton
Chris Lasher wrote: >My professor and advisor has been "inspired" by me to give Python a >try. He's an avid Perl user, and challenged me with the following: > >What is the Python equivalent to perl -e ''? > >Embarassingly, I had no answer, but I figure, someone on the list will >know. His use of P

Re: [Tutor] CGIHTTPServer - redirect output to a log file

2006-10-15 Thread Glenn T Norton
Paulino wrote: >How can I redirect the output of an CGIHTTPServer from the console to a >logfile? >___ >Tutor maillist - Tutor@python.org >http://mail.python.org/mailman/listinfo/tutor > > > You can start it from a shell script #!/bin/sh ./MyWebServ

Re: [Tutor] Python Magazine

2006-10-14 Thread Glenn T Norton
Amadeo Bellotti wrote: > I no im probally not the best pereson to go about this but maybe > people in this community are. I was wondering if there was or maybe > someone can start a Python maganize kinda like 3dCreative or 2d > Artist. that is an PDF magazine with tutorials interviews, python

Re: [Tutor] A puzzle for you

2006-10-14 Thread Glenn T Norton
John Fouhy wrote: >>From the python_dev LiveJournal community --- > >Predict the outcome of the following code: > >## >from random import * >seed() >[choice(dict((x+1,0) for x in range(1000))) for x in range(693)][0] >## > > > random.choice( [ SyntaxError: invalid syntax, 42 the answer is young

Re: [Tutor] Help

2006-10-01 Thread Glenn T Norton
Kefka Palazzo wrote: > OK, first of all, I just started learning python a few hours ago so > deal with me here. > > I'm picking up quite fast on Python since I took a C++ class a year > ago when i was 13. However, before I go deep into learning it, I want > to know if Python will work for the p

[Tutor] http connection, windows xp

2005-06-07 Thread t sr
or, msg IOError: [Errno socket error] (10060, 'Operation timed out') I've tried turning off the firewall and tinkering with windows networking properties to no avail. I'm new to python, can someone please help me get a clue :) T sR ___

[Tutor] using counters and timers in text based programs

2005-05-16 Thread T Petersen
Hi, This is my first post here, and I'm new to programming (and therefore Python also:-)) I've made a almost functioning chess program which works in the shell. Now, I would like to add some type of counters, e.g. time used so far and/or move depth searched which should be updated continously. Is

[Tutor] Re: design questions: pythonic appraoch to ostriches

2005-04-25 Thread Greg T
Greetings. Any comments made by me will certainly not be the 'pythonic' way to do things, but I would like to make a few comments on the subject, and possibly weave in a few questions of my own. (I took a brief detour into Common Lisp after joining this list, not too long ago. Thanks Mr. Gauld.) >

[Tutor] Learning python as a thing to do

2005-02-27 Thread Greg T
Hi, I am a Rubyist, but I've decided to learn Python so that when a conversation springs up about the merits of the two languages amd how they compare, I will be well informed. As it stands now, what you usually see is people well versed in one or the other, making generalizations when they dont re

[Tutor] Re: Create list of IPs

2005-02-20 Thread Greg T
> I am wondering how I would go about making a list of > IPs between two set > IPs. > This is my initial code: > > > > def list2str(list): > ip='' > for part in list: > if len(ip)!=0: > ip=ip+'.'+part > else: > ip=ip+part > return ip > > ip