[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

Re: [Tutor] Python programming help!

2018-09-23 Thread V E G E T A L
: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 other. Pretty simple

[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

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

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 d...@hashcollision.org wrote: @google.com and @gmail.com both work and resolve to the same mailbox, just fyi.

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

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

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

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

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 in

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

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 error pops up:

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 this

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] 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 rich set

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 ./MyWebServer.py

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 'some oneliner'? Embarassingly, I had no answer, but I figure, someone on the list will know. His use

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

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

[Tutor] http connection, windows xp

2005-06-07 Thread t sr
with windows networking properties to no avail. I'm new to python, can someone please help me get a clue :) T sR __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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

[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] 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: my code def list2str(list): ip='' for part in list: if len(ip)!=0: ip=ip+'.'+part else: ip=ip+part return ip iplist = []