Hi everyone,
Can someone please help me with the following phyton script? I received the
error message DeprecationWarning: the sets module is deprecated
from sets import Set.
After googling, I have tried the methods others suggest: change sets to set or
delete the from sets import Se
michelle_low wrote:
> Can someone please help me with the following phyton script? I received
Python; write it on the blackboard one hundred times ;)
> the error message DeprecationWarning: the sets module is deprecated
> from sets import Set.
> After googling, I have tried the methods othe
On Sun, Mar 24, 2013 at 12:38 AM, Phil wrote:
> On 24/03/13 12:18, Steven D'Aprano wrote:
>> Nonsense. Not only does echo exist as a command on any Unix, including
>> Apple Mac OS, FreeBSD, OpenBSD, Solaris and others, it also exists on
>> Windows and DOS:
> I don't want to appear augmentative but
On 24/03/13 07:45, michelle_low wrote:
Can someone please help me with the following phyton script? I
received the error message DeprecationWarning: the sets module is
deprecated
from sets import Set.
I'd like to execute them with unix command
Peter answered both of
On 24/03/13 04:05, Pankaj Agarwal wrote:
I'm looking for a tool like PySMB which can provide support for SMB 2.1.
Any references will be appreciated.
This list is for learning the Python language and its core
libraries. I suspect you might get a better response for
this type of specialist ques
Thanks Alan!
On Sun, Mar 24, 2013 at 2:13 AM, Alan Gauld wrote:
> On 24/03/13 04:05, Pankaj Agarwal wrote:
>
> I'm looking for a tool like PySMB which can provide support for SMB 2.1.
>> Any references will be appreciated.
>>
>
> This list is for learning the Python language and its core
> libr
On 03/22/2013 05:02 AM, miguel.gua...@hushmail.com wrote:
Greetings all!
My name is Miguel Guasch, I'm a software tester who's trying to
slowly get into automation, and eventually (in a couple of years)
into development.
Miguel, welcome!
Depending on your skills, you might want to look up th
On 24/03/13 18:24, eryksun wrote:
PulseAudio also suggests that you're using Linux or BSD, though I
think it does have ports for OS X and Windows.
The ossaudiodev module exists on Linux/BSD, so try something
relatively simple like outputting a square wave to /dev/dsp. Here's an
example device
> Thank you for your reply Bodsda,
>
> Actually, I didn't think there was any need to make any guesses since "echo
> -e" is exclusively a Linux command. Anyway, I had already spent some time
> searching for an answerer and the answer given most often was to "modprobe
> pcspkr". This didn't lead to
On Friday 2013 March 22 18:48, Phil wrote:
> Just out of curiosity how can a beep sound be generated?
>
> My interest in this came about because echo -e '\a' no longer works.
> Also print '\a' doesn't work, presumably for the same reason. The
> following is also mute:
>
> import Tkinter
> Tkinter.T
michelle_low wrote:
> Hi Peter,
> Thanks for your help.
You're welcome. In the future, please send your mail to the list, not to an
individual poster. That way more people get a chance to read it and you are
more likely to get help.
> I have followed your advice:
>
>
> -removed the line
>
>
I've been trying to write a simple test text adventure, but have been
running into serious problems. Here is the error I get when I run it. It
will give me the opening text and lets me make my first choice. Then I get
this.
error "Traceback: (Most recent call last)
file "game1.py", line 104, in
R
On 3/24/2013 3:41 PM, John Bochicchio wrote:
I've been trying to write a simple test text adventure, but have been
running into serious problems. Here is the error I get when I run it.
It will give me the opening text and lets me make my first choice.
What did you enter? I will bet is was 'wind
1. I'm using the terminal to run the code. Using the command - (cd python
&& python2 game1.py)
2. Using python 2.6 I believe.
3. I'm running Arch Linux at the moment.
4. I'm new to python, but I assume the error must have something to do with
not having a way for the program to move to the next are
On 24/03/13 21:09, John Bochicchio wrote:
4. I'm new to python, but I assume the error must have something to do
with not having a way for the program to move to the next area of the code.
Bob already gave you the clue.
Look atyou code for window.
What does it return?
--
Alan G
Author of th
On 3/24/2013 3:41 PM, John Bochicchio wrote:
I've been trying to write a simple test text adventure
[snip]
Good first try! As you learn OOP and use of classes you will discover
ways to improve and simplify coding.
Here's an example. It is far from perfect, but definitely worth a study.
It w
On 3/24/2013 5:09 PM, John Bochicchio wrote:
1. I'm using the terminal to run the code. Using the command - (cd
python && python2 game1.py)
2. Using python 2.6 I believe.
3. I'm running Arch Linux at the moment.
4. I'm new to python, but I assume the error must have something to do
with not hav
I read your help (thanks, Peter and Alan) and thought that relational
database technology didn't naturally map to my problem domain. Here, at
each simulation timestep each entity has a run-time variable number of
pointers to other entities. Representing each entity as a table seems
unwieldy to me.
Hi, I'm sort of new to Python. I'm taking Computer Science 10 and I'm now on
Chapter 3. I don't really get how to do the first three projects.
Okay, so for the first project, I don't know how to input the ranges like
0-999, 1000-, 1+ and even the negatives. Like when I run it on the
she
On 03/24/2013 07:38 PM, Mariel Jane Sanchez wrote:
Hi, I'm sort of new to Python. I'm taking Computer Science 10 and I'm now on
Chapter 3. I don't really get how to do the first three projects.
Okay, so for the first project, I don't know how to input the ranges like 0-999, 1000-, 1+
a
Hello, everyone,
I am looking for suggestions on a beginner's book for learning Python. I
have a nursing background with basic science and math education. I have no
programming experience in any computer language.
I am currently enrolled in a Master's program for Geographic Information
Science an
On 24/03/13 23:38, Mariel Jane Sanchez wrote:
thing especially when I put 100, my typed phrase "Good Score" shows
up when "Very Impressive" is the appropriate phrase to go with that
score. And when I put in a negative score it says the same thing instead
of saying it's an invalid score. How
On 25/03/13 00:13, Mandi Seger wrote:
have a nursing background with basic science and math education. I have
no programming experience in any computer language.
I would try a library loan since such a book will be of limited value
after you've finished it. There are a few that are suitable,
On 25 March 2013 01:13, Mandi Seger wrote:
> Hello, everyone,
>
> I am looking for suggestions on a beginner's book for learning Python. I
> have a nursing background with basic science and math education. I have no
> programming experience in any computer language.
Head First Python or Head Firs
On 24/03/13 22:36, DoanVietTrungAtGmail wrote:
I read your help (thanks, Peter and Alan) and thought that relational
database technology didn't naturally map to my problem domain. Here, at
each simulation timestep each entity has a run-time variable number of
pointers to other entities. Represent
On 25/03/13 04:30, xDog Walker wrote:
Maybe something here:
http://code.activestate.com/search/recipes/#q=beep
Thanks xDog, yet another sound library (pyaudio) to play with.
--
Regards,
Phil
___
Tutor maillist - Tutor@python.org
To unsubscribe o
On Mar 24, 2013, at 8:13 PM, Mandi Seger wrote:
> Hello, everyone,
>
> I am looking for suggestions on a beginner's book for learning Python. I have
> a nursing background with basic science and math education. I have no
> programming experience in any computer language.
>
> I am currently en
On 25/03/13 00:27, Bod Soutar wrote:
Your on the right track, the other thing I've seen is pcspkr being
blacklisted. Look in /etc/modprobe.d/blacklist.conf for a line like
'blacklist pcspkr' if it's there, remove it then modprobe or reboot
and it should be working again.
Thanks Bodsda,
I had
Python website provides you a whole set of resources catering to novices.
http://docs.python.org/2/tutorial/
Nick Parlante, a Stanford lecturer has created a wonderful tutorial on Python
and you can find it in the below link:
https://developers.google.com/edu/python/
Google has free videos which
29 matches
Mail list logo