Hi! My first "ever" program that I've created is a simple game called "State
Capitals". It's straight forward; 5 simple questions about state capitals ina non-GUI format. Can someone look over my code and offer tips, suggestions,criticism? Also, I'd like to be able to end the program if the user mi
Joseph Quigley wrote:> How do I read xml? The python documentation doesn't help me.
> Or, how can I remove the (tags?) ?If you want to strip out all the tags and just leave the text,Strip-o-Gram might do it.
http://www.zope.org/Members/chrisw/StripOGramThere was a thread here recently
How do I read xml? The python documentation doesn't help me.
Or, how can I remove the (tags?) ?
thanks,
Joe-- There are 10 different types of people in the world.Those who understand binary and those who don't.
___
Tutor maillist - Tutor@python.org
http
if int(time.strftime(%H)) > 4:some end the program command
else:continuewhat would be best used here ?
I would use raise SystemExit
But another possibility is:
import sys then to exit sys.exit()-- There are 10 different types of people in the world.T
Sorry, this is a little console project to tell me when there new
headlines on slashdot.org using their rss file. All it does is see if
there's something different and if there is it will tell you.
Here's my timer:
while True:
if count > 1800:
break
time.sleep(1)
to make the computer sleep in a specific time.
Example:def main(): time.sleep(2) # sleeping 2 second print 'finish'Cheers,pujo
On 12/6/05, Joseph Quigley <[EMAIL PROTECTED]> wrote:
I'd like to make a 30 minute timer. How an I do that? With time?
Thanks,
Joe-- The
I'd like to make a 30 minute timer. How an I do that? With time?
Thanks,
Joe-- There are 10 different types of people in the world.Those who understand binary and those who don't.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/l
Hi, thanks for the info.
I'd like o know if you guys know of any good documentation on the
threading module. Or if you could give me a quick intro to it. Or am I
asking too much? If so I'll try to work it out on my own for a little.
___
Tutor maillist -
I'm back to my IRC client. I accidentally found the thread module in the
Python 2.3 documentation while looking at the time module.
What I can't get ideas or hints from the documentation is:
What will i do to receive and send at the same time via console?
or:
Should I forget the i
Hi,
Thank you all for your help. I must say that the python mailing list is
the most helpfull of any place I've ever asked for help on. A close
second comes linuxquestions.org.
Somehow sort() got passed me in the Python Documentation and sort() has
fixed all my problems.
EDIT> Sort still didn'
Hi,
Here's my directory listing as a list:
['ga041001.gif', 'ga041002.gif', 'ga041003.gif', 'ga041004.gif',
'ga041005.gif', 'ga041006.gif', 'ga041007.gif', 'ga041008.gif',
'ga041009.gif', 'ga041010.gif', 'ga041011.gif', 'ga000619.gif',
'ga050101.gif', 'ga050102.gif', 'ga050103.gif', 'ga050104.gif',
> You are welcome. This time I would like to help you but the code is
> incomplete
> (import error for Image) and I have never used urllib2 so I don't really know
> what to
> do.
> Again, try to debug it with pdb. Place "import pdb; pdb.set_trace()" where
> you want
> the break point and see
Michael Wrote:
>Hi Joe,
>
>the image won't refresh until you explicitely tell Tk to do so, so you would
>have to do some more
>in newPic(); btw, it looks overly complicated to me to use a "Data" class
>where a simple variable
>will do the trick, so I would suggest to change the code like this:
>
Hi,
I've written an image reader that uses the PIL module.
I have a variable that uses os.listdir('mydir') to make a list of all
the pictures in the folder... here's what I'm talking about:
pics = os.listdir(imgDir)
pics.remove('license.txt')
pics.remove('gacor.py')
class Data:
pic = 0
print "
/usr/bin/env python
##
# Created by Joseph Quigley #
# This program is under the GNU GPL Licence #
# Either version 2 or any higher version. #
# Garfield and the Garfield trade mark are #
# Cop
Javier wrote:
> Class Data has a class attribute, 'f', defined as an empty string. Check if
> Data.f is initialized before calling getImg.
> Also, why initialize with an empty str? Put a None in there or don't define
> the attribute at all.
> A tip: in line 126 there is a print Data.f. This
rl()
AttributeError: 'str' object has no attribute 'geturl'
My code is attached (sorry, but it's got lot's of text)
#! /usr/bin/env python
##########
# Created by Joseph Quigley #
# This program is under the GNU
croller v 0.1 a very simple Super #
# Mario type game engine #
# #
# Created by Joseph Quigley#
# Released under the GNU GPL (any version) #
import os, sys
import pygame
from
Hi Michael,
You're explanation helped a lot, however, I'm really not good at gui
programming and the irc client was supposed to be a console application,
but: Would it be hard to just have a send texbox and receive read-only
text box?
I'll try this, but I think I should mention that I'm using p
Hi, I've got a problem:
I've got a semi working IRC client. There's a function that is for
receiving and one for sending. How can I have a loop where I can receive
messages, yet still have a send prompt?
Thanks,
Joe
___
Tutor maillist - Tutor@pyth
Hi,
Ok, I'll try to convince them to try python... but still, would it be
best to just:
Program in C with Python and Java scripts
Program in Python with a little bit of C?
The game we're trying to make is a Super Mario type game (or super tux
for you like linux games).
I suppose pygame would mak
>From: Kent Johnson <[EMAIL PROTECTED]>
>Subject: Re: [Tutor] Embedding
>
>
>Not easily. You can embed C in Java with JNI.
>
Thanks, that just migh be perfect... or is there a program that will
embedd Java into C/C++?
> You can access the result from Jython. But the original requirement seems
hi,
I'm working on a game with other friends who don't use python. However
they'd like to use Java Python and C/C++. I was wondering if I could
embedd C in a Python program in Jython and lastly in java (or the other
way arround). My goal is: Can these for languages be used to make one
program?
Hi,
>From: "R. Alan Monroe" <[EMAIL PROTECTED]>
>
>They're easy. Just put stuff in square brackets with commas between.
>
>mycoollist = [1,5,9,3,6,9,2,6]
>mystringlist = ['a', 'u', 'e', 'b', 'd', 'h', 'q', 't']
>
>
Ah sorry I forgot to say: I know how to print them but that's about it.
>Can you
Hi I'm playing with a Binary to text & text to binary converter. I can't
figure out how to replace the characters (first stage: text to binary).
I thought lists would be the best but I really don't know how to use
them... here's my code:
#! /usr/bin/env python
A = "0101"
B = "0110"
C = "
Hi,
I'd like towrite some internet applications but I don't know how to test
them unless I have python
on my server. However, It's running Apache 1.3.3 and it's a remote one
(I'm in the Americas and it's in Europe) so I don't know how to access
it. I also would like to know what platform of pyth
Hi,
Liam Clarke-Hutchinson wrote:
Hi Joseph,
while (1):
buffer = Data.IRC.recv(1024)
msg = string.split(buffer)
Just a warning, the string module will be removed/deprecated come Py3K.
Better to use -
buffer.split()
nick_name = msg[0][:msg[0].find("!")]
filetxt.w
Hi,
My IRC Client can't print the IRC server messages without a newline for
each message in a giant list that I recieve...
here's my code:
import socket, string, sys
#some user data, change as per your taste
class Data:
SERVER = 'irc.freenode.net'
CHANNEL = "#python"
NICKNAME = "Pyth
Ismael wrote:
>Do you know about Dosage? It downloads lots of comics (around 500 - of
>course, you choose which ones). Among those, there's Garfield. It's
>"catchup" option will download past comics for you, and even generate
>RSS feeds and html pages if you wish to.
>
>http://slipgate.za.net/d
Alan G wrote:
>> f = file("foo", 'w')
>
>
> Using 'w' will destroy the contents of the file, I assume you are
> really using 'r'?
Ah yes.. sorry.
>
> Each line will be terminated by a newline, you can use rstrip() to
> remove it:
>
>> print fileContents[0].rstrip() + "Hi!"
>
Thanks a lot! This
Hi. I'm using
f = file("foo", 'w')
fileContents = f.readlines()
print fileContents[0] + "Hi!"
and I get:
Foo
Hi!
How can I get rid of that new line? fileContents[1] has Bar.
I wrote the file using Joe (a *nix test editor) and for the new line I
pressed Enter to add Bar.
This is a pain as I don't
Poor Yorick wrote:
> Joseph Quigley wrote:
>
> You might want to look into Twisted at http://twistedmatrix.com/
>
> A quick google for "python twisted irc" turned up this:
>
> http://sourceforge.net/projects/pynfo/
>
Thanks, but as I forgot to mention, I c
/bin/env python
##
# Created by Joseph Quigley #
# This program is under the GNU GPL Licence #
# Either version 2 or any higher version. #
# Garfield and the Garfield trade mark are #
# Copyrigh
Hi,
I've googled, checked out the Python Cookbook but still can't find
anything usefull. I need to make python IRC client or find one written
in python to start off with. DO you know of anything?
thanks,
Joseph
___
Tutor maillist - Tutor@pytho
Ok... more probs with my GetGarf program...
First I acidently and permanently deleted all versions and now I've
improved it but it won't download new images
Here's the code (attached... sorry :-( )
More Questions to come later.
Thanks,
Joe
___
Tut
>
>
>> And also, is Python capable of writing an OS?
>
>
Actually, yes. Google for "Python OS" and look for Unununium (or
something like that. I can never remember). It has no kernel and to
booting process may not exactly be in Python... but they say it's an OS
written in Python and that it bo
Kent Johnson wrote:
> I don't think the object returned from urllib2.urlopen() has save() and get()
> > methods. According to the docs urlopen() "returns a file-like object
> with two
> additional methods:
>
>* geturl() -- return the URL of the resource retrieved
>* info() -- return
ZIYAD A. M. AL-BATLY wrote:
>Since you're running some kind of Unix (maybe Linux or FreeBSD), all
>these command are available for you. By commands I mean: "cron",
>"wget", and "date".
>
>
>
Wow. That's a good idea.. however this is a "gift" for someone who wants
me to make a program to do it
ZIYAD A. M. AL-BATLY wrote:
>Since you're running some kind of Unix (maybe Linux or FreeBSD), all
>these command are available for you. By commands I mean: "cron",
>"wget", and "date".
>
>
>
Wow. That's a good idea.. however this is a "gift" for someone who wants
me to make a program to do it
Hi,
I'm a Garfield fan and I thought that I'd make a program that would
enable me to read the online comics without opening firefox and typing
the url and waiting for all the other junk to load. Here's my code:
# import modules
import time
import urllib2
class data:
# Define time and date
Byron Wrote:
>I believe this is what you are looking for:
>http://www.pygame.org/
>
>Byron
>---
>
>
Pygame? Well I'll take a look... do they have documentation for Game
Engine writing?
___
Tutor maillist - Tutor@python.org
http://mail.python.org/ma
Are there any Game engine tutorials or howto's for Python? Because I
googled and can't find any? I'm considering making my own game engine in
Python with some C/C++ as well.
Or does anyone know of a good Game Engine writing tutorial in another
language?
Hi,
I sympathize (is that right?) I live in guatemala and the education
system here sucks (luckily I'm homeschooled). I picked up Python after a
year with Quick BASIC and 5 months later made my own GUI (Graphical User
Interface if you don't know already...) program.
First off you'll need the p
Danny Yoo wrote:
Hi Joe,
That actually sounds right in a sense. Any internet address with
'192.168.x.x' is a "local" IP address, and is commonly allocated to folks
on an internal network. For the really dull details about this, see RFC
1918 on "Private Address Space":
http://www.faqs
Danny Yoo wrote:
>On Fri, 5 Aug 2005, Joseph Quigley wrote:
>
>
>
>>Is it possible to get my internet and/or network IP address from Python?
>>Is there any other way to get it?
>>
>>
>
>Hi Joe,
>
>I think you're looking for socket.gethost
Hi.
> I want the program to say "You're stupid!" When a player fails to guess in
> 10 tries.
> But, it's not working..
Very simple fix for bug:
> elif (guess < number):
> print "Higher...\n"
> elif (tires > 10):
> print "You're stupid!"
> else:
> print "Error!
Hi.
> I want the program to say "You're stupid!" When a player fails to guess in
> 10 tries.
> But, it's not working..
Very simple fix for bug:
> elif (guess < number):
> print "Higher...\n"
> elif (tires > 10):
> print "You're stupid!"
> else:
> print "Error!
Hi. I have 7.8 GB of music (1808 songs) and I use XMMS to play them.
However I can't find some songs. Apparently there is no song search
feature in XMMS (something I plan to add whenever I learn C or can
incorporate Python into C.. unless someone else has already done this)
so I have a hard tim
Thanks.. I hoped python had something like that!!!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Is it possible to get my internet and/or network IP address from Python?
Is there any other way to get it?
Oh. If you're wondering what I mean by Internet and/or network IP I'm
talking about the 4 sequence IP (IPv4) (used primarily in small
networks) and
the 6 sequence IP (IPv6) found on the inte
Hi,
I changed my mind. After I got interested in socket programming I
decided to make a bot. But then I got an idea to make a chatting
program. It worked nicely on our home network but it had a small
problem you can't type anything and send it to the person you are
chatting with untill the
Hi,
Ok. But what if I wanted to send a 1 mb message? Could I leave
.recv(1) in and send 'Hi!' as well or would I have to change it?
Thanks,
JQ
Adam Bark wrote:
> You have to put in how many bytes of data you want to recieve in
> clientsocket.recv() eg. clientsocket.recv(1024) for 1kB.
Hi Johan,
Johan Geldenhuys wrote:
> I have more advanced examples if you want them, but start here and
> look at the socket lib and you can start using select if you want to
> wait for stuff from the server or client.
>
> Johan
I'd love to see your examples. Could you send them directly to m
Hi Kent,
I have Python in a nutshell but I haven't read much. Thanks for tellling me.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi Dan,
Danny Yoo wrote:
>##
>clientsocket.recv()
>##
>
>should work better.
>
>
Ok well I tried your examples but they didn't work. I still get:
TypeError: recv() takes at least 1 argument (0 given)
How can I fix this?
___
Tutor maillist -
I've got a little problem with my socket program(s):
#Client
import socket
#create an INET, STREAMing socket
s = socket.socket(
socket.AF_INET, socket.SOCK_STREAM)
s.connect(("localhost", 2000))
s.send('hello!'[totalsent:])
#Server
import socket
#create an INET, STREAMing socket
serversocket
optparse.. Can I download that as a module or do I have to download epython?
Thanks,
JQ
Hugo González Monteverde wrote:
> I use optparse wich can take some getting used to in the beginnning,
> but it help you easily create very powerful command line options. I is
> shipped with th epython
How do I add an argument too my program (with sys.argv) so that at a
console I can type:
python foo.py -info
or
python foo.py open /home/joe/foo.txt
Thanks,
Joe
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listin
Hi,
what's the **kw stand for, used for? What does it mean?
> Some comments ---
>
> You create a Frame, but you never use it.
>
> You've put a whole lot of code in a class, but it's not in a class method.
> This
> is kinda missing the point of using classes in the first place (and it j
Hi first off, here's my code:
# -*- coding: utf-8 -*-
from Tkinter import *
import random
import time
import about
import quotes
def closeprog():
raise SystemExit
class main:
root = Tk()
frame = Frame()
root.title("Quoter %s" % (about.ver))
root.minsize(300, 50)
sho
I've been looking a lot for a mod that will automatically find the
pixels in an image but I can't find one. Do you know of one? imageop
and imghdr don't have anything like that.
Thanks,
Joe
___
Tutor maillist - Tutor@python.org
http://mail.python.
I have finally made my very first GUI program!! It needs some work
before I would ever consider putting it on sourceforge (ha ha ha). I
have a problem though. I can't find an image lib that will detect the
picture's height and width automatically. I can use wave to detect mono
or stereo but tha
Traceback (most recent call last):
> File "NovusExtension.pyw", line 8, in ?
> File "Pmw\__init__.pyc", line 28, in ?
> WindowsError: [Errno 3] El sistema no puede hallar la ruta especificada:
this: > WindowsError: [Errno 3] El sistema no puede hallar la ruta especificada:
is spanish for:
Hi,
I could use some howto's or tutorials in python, on how to build an
image reader (like: Kview, or Kodak's Easy Share Software).
I searched Google but can't find anything (I also have pay-by-the-minute
dial up so I don't surf much)
I know it's reinventing the wheel, but, I just want to learn
Hi, I'm replying to you both...
At 03:16 PM 5/24/2005, you wrote:
>Strangely... I do not believe the wave module is meant to actually
>_play_ a wav file. It looks to me like it is only intended to read and
>parse the file for meta information.
>
>You could try passing the name of the file to anoth
I can't get:
import wave as w
def manipulate():
manipulate = raw_input("Type 'help' for help\nManipulate>> ")
if manipulate == "play":
w.tell()
elif manipulate == "back()":
main_menu()
def open():
while True:
file_name = raw_input("Open: ")
>__init__.py will be executed when a package is imported.
Oh. So it will (for instance) compile .py to .pyc after the installation is
finished.
Nice. Thanks,
JQ
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/
I've seen many (python) "plugins" (some located in site-packages [windows
here]) with the name __init__.py.
What's their use?
class foo:
def __init__:
print "this starts first"
def foo1():
print "this comes later. Init initializes the chain of
funct
>What are you trying?
>You could simply read through the file line by line using the string
>search methods. Store the previous 2 lines then when found print the
>previous two lines, the current line and then read and print the next
>two lines. There are more sophisticated methods but that should
I'm making a program that opens a file and tries to find the word you specify.
I can't get it to find the word! I also would like to know how I can get
it to print 2 lines above and 2 lines below the line with the word specified.
One more thing, the try: IOError won't work... I type the name of a
If you intend to make a text
editor (something which allows the user to browse
through the text and manipulate it at will) using just raw_input and
print, I
think you've set yourself an impossible task. For a console editor you
should
probably look at curses
(http://www.amk.ca/python/howto/curses
YATENJoe (Yet Another Text Editor, Named Joe)
First off, If this isn't the right place to ask, tell me so. That way I
won't make this mistake again :-)
I want to make a text editor. I know that there are hundreds out there,
but practice makes perfect, and I need the practice. My problem is
that I
#x27;t mind.
Date: Wed, 4 May 2005 11:33:53 -0700
From: "D. Hartley" <[EMAIL PROTECTED]>
Subject: [Tutor] Fwd: No Need to press Enter (Joseph Quigley)
To: Python tutor
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
I don't know if t
Traceback (most recent call last):
File "C:\Python24\saved\Geek Dictionary\jargon_file.py", line 39, in
-toplevel-
main()
File "C:\Python24\saved\Geek Dictionary\jargon_file.py", line 26, in main
lobby.lobby()
File "C:/Python24/saved/Geek Dictionary\lobby.py", line 51, in lobby
ect: [Tutor] Fwd: No Need to press Enter (Joseph Quigley)
To: Python tutor
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
I don't know if this is what you're looking for, but in my game I
set
Running = 1, and then had:
if event.key ==
For those who use Psyco:
Is it any good? I'm searching for instructions on how to use it, should
I
stop?
For those who don't know about Psyco:
It is supposed to be a Python Compiler. The programs are said to run
faster than normal Python and they almost run as fast as C.
__
What is the secret to have the user press the "Q" key, and the program
exits without pressing the "Enter" key?
Or the "Control" and "Q" keys to exit?
For the Macintosh, would the same command/s for "Control Q" keys be the
same as the "Apple Q" key?
Thanks,
JQ
___
Hi all,
How could I have the user name his file? I learned that I type file_name =
"foo.bar"
How could I make it that the use could name it "hello.hi"?
Thanks,
Joe
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/
Interesting. So several distros use rpms? I though only red hat used 'em.
Rpm does in fact have dependency resolution, and rpm-based distributions
use a
package manager that can download the dependencies and install them for you -
urpmi on mandrake, yum or apt4rpm on Fedora and Redhat, Yast on Su
In QBASIC there was the command "CLS"
this wiped the screen and "started printing letters to the screen at the
top " of the console window.
Is there any such command in Python? Would a Python cook book have this (I
have pay-by-the-minute dial-up Internet so I can't go online for long)?
Thanks i
Ahh. I really like the ability to make my own exceptions. This info will
help alot.
Thanks,
Joe
PS. Would the Tutorial included with IDLE be the same as the site's docs?
The standard (built-in) exceptions are documented here:
http://docs.python.org/lib/module-exceptions.html
If you don't
(here I go again?)
Where could I find a nice long list of the errors I can raise? (I mean like
EOF errors when some one doesn't fill in their name when they're supposed to).
Thanks,
Joe
___
Tutor maillist - Tutor@python.org
http://mail.python.org/ma
Its not hard, but its not easy either to do it right.
And given the profusion of installers already available
ranging from free to expensive there really is little
point in writing something that probably won't be as
good as the already available alternative.
Remember user expectation, if you writ
Here I go, hogging the Tutor list again :)
I have a friend who recently got a hush-hush contract. He told me that it
was for writing an installation program for Windows and that he
considered python and Tkinter as an option.
I know there are installers written in python for Linux. I suppose they
Hi all,
Another function question.
def bar(x, y):
return x + y
bar(4, 5)
So I can put anything I want in there. What good is a function like that?
Of course I know about.
def foo():
print "Hello all you who subscribe to the Python Tutor mailing list!"
So what do you use the
def
Thanks a lot. Now I need to find the rules.
BTW. What about the counter? If I win I get 110 dollars. On the next round
I start out with 100 dollars again, when I should have 110!
Joe
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman
if letter == 'O':
>print letter + 'u' + suffix
>elif 'Q':
>print letter + 'u' + suffic
>else:
>print letter + suffix
>
>Do you see? The == "binds more tightly" than the or. And, in python, 'Q' is
>considered True for the purposes of tests.
>
>So this is what happens:
>
prefix
I get an eternal loop on this game that I don't want and can't figure out
how to fix.
BTW any of you know the rules to craps? I don't remember them all so this
game may be different than the casino version.
Here's my code:
import random
# generate random numbers 1 - 6
loop = True
def play_again(
>Well you did come up with a way that would work sort of and you seem to be
>ont eh right track. I would make 1 small change if using your approach.
>
>prefixes = 'JKLMNOPQ'
>suffix = 'ack'
>
>for letter in prefixes:
> if letter == 'O' or letter == 'Q': print letter + 'u' + suffix
> else: print l
At 02:02 PM 4/11/2005, you wrote:
Send Tutor mailing list submissions to
tutor@python.org
Hey all,
Sorry for the bother, thanks for the help
#first of all, why does this have to be here?
password="foobar"
count=3
current_count=0
while password !="unicorn":
if current_count
print "
Oh, now I understand
def silly(a_name_I_picked_at_random): # well, not
quite
... print
a_name_I_picked_at_random # at random ;-)
...
silly(42)
42
The name a_name_I_picked_at_random is like a "placeholder"
inside the
function for whatever input we gave to the function. And *th
It works if you run from the command line instead of inside IDLE. I
thought IDLE was supposed to be
able to run Tkinter programs since Python 2.3 but it doesn't seem to work?
AFAIK IDLE runs on Linux. There are many other possibilities listed here:
http://www.python.org/moin/IntegratedDeve
Well, now I've learned what def
is good for. But what could I put in the parenthesis of
def foo():?
Of course self is always available, but what would maybe
def foo(number1): do? An error
right? So I now repeat my self, what else besides self could I put in
there?
Thanks,
Joseph
__
Hi,
It seems that whenever I click the QUIT button the TK windows freezes,
then I have to CTRL-ALT-DEL to be able to shut it down. Here's the code
(its not mine though):
from Tkinter import *
class App:
def __init__(self, master):
frame = Frame(master)
frame.pack()
Joseph Quigley wrote on Fri, 08 Apr 2005 16:58:37 -0600:
> import is handy. But my questions are:
> is there a type of unimport or something to unload a module?
Things which are not used are cleaned up automatically at some point. What
would you like to do do that this mechanism doesn
class Message:
def init(self, p = 'Hello world'):
self.text = p
def sayIt(self):
print self.text
m = Message()
m.init()
m.sayIt()
m.init('Hiya fred!')
m.sayIt()
> Well this OOP stuff is realy hard for me as I have never even
> programmed it took me a while just to understand defs.
Th
I don't think I have said it already, but I'll say it again just incase
:-), I'm new to python. I started Feb. this year.
import is handy. But my questions are:
is there a type of unimport or something to unload a module? Foo: What's it
good for?
___
Joseph Q. (Uspantan, Guatemala) Using Python 2.4
I downloaded py2exe and can't get it to make exe's of my python files.
There are a list of instructions:
# A very simple setup script to create 2 executables.
#
# hello.py is a simple "hello, world" type program, which alse
allows
# to explore the
Maybe I shouldn't be posting this...
I downloaded py2exe and can't get it to make exe's of my python files.
There are a list of instructions:
# A very simple setup script to create 2 executables.
#
# hello.py is a simple "hello, world" type program, which alse
allows
# to explore the environment
Hi,
I have some code on a geek dictionary that I'm making where the
command geeker() opens a module for the "real" geek dictionary
(where you can type a word to see what it is geekified). Supposedly, you
type lobby() to go back to what I call the lobby (where you can get
info on the web site an
100 matches
Mail list logo