Re: What to use for finding as many syntax errors as possible.

2022-11-08 Thread Alex Hall
On Sunday, October 9, 2022 at 12:09:45 PM UTC+2, Antoon Pardon wrote: > I would like a tool that tries to find as many syntax errors as possible > in a python file. I know there is the risk of false positives when a > tool tries to recover from a syntax error and proceeds but I would > prefer th

Re: Create a GUI and EXE for a python app?

2010-10-28 Thread Alex Hall
There is tkinter or WX for a gui solution. I use wx just because I already know it and it does what I need it to do, so I see no reason to switch to a different library to do the same thing. On 10/28/10, brad...@hotmail.com wrote: > Thanks ill give it a try! Anyone know about the GUI then? > > --

Re: pythagorean triples exercise

2010-10-21 Thread Alex Hall
On 10/21/10, Baba wrote: > Hi everyone > > i need a hint regarding the following exercise question: > > "Write a program that generates all Pythagorean triples whose small > sides are no larger than n. > Try it with n <= 200." > > what is "n" ? i am guessing that it is a way to give a bound to the

Re: Global hoykey on windows

2010-10-05 Thread Alex Hall
On 10/5/10, Sebastian Alonso wrote: > Hey everyone, I've been working on an app that uses global hotkey and > it's a very important part of the app, so far I have been using > python-keybinder [0] and it's been working great on linux, but now I want to > make it work under windows and there wa

Re: Contains/equals

2010-08-19 Thread Alex Hall
On 8/19/10, Peter Otten <__pete...@web.de> wrote: > Karsten Wutzke wrote: > >> I have an object which has a list of other complex objects. How do I >> best achieve a complex "contains" comparison based on the object's >> class? In Java terms, I'm looking for an equivalent to equals(Object) >> in Py

Re: IOError and Try Again to loop the loop.

2010-07-11 Thread Alex Hall
It seems like seeing the code, or at least the bit in question, would be easier, but what about: for img in range(0, len(imagesToUpload:)) try: #do the thumbnail / upload thing on images[i] exceptIOError: i=0 This will duplicate a lot of the images already processed, but you said you are ju

Re: a +b ?

2010-06-11 Thread Alex Hall
On 6/11/10, yanhua wrote: > hi,all! > it's a simple question: > input two integers A and B in a line,output A+B? > > this is my program: > s = input() > t = s.split() > a = int(t[0]) > b = int(t[1]) > print(a+b) > > but i think it's too complex,can anybody tell to slove it with less code. Just a t

Re: General questions - where & how

2010-06-04 Thread Alex Hall
I am not sure about a search feature for the archives, but I can tell you about a "tutor" list for those new and somewhat new to Python (like me). Of course, both that list and this one are excellent resources, but the tutor list seems to be for questions generally encountered by relatively new Pyt

Re: Help (I can't think of a better title)

2010-05-22 Thread Alex Hall
On 5/22/10, MRAB wrote: > Lanny wrote: >> The answer may be right infront of me but I really can't figure this >> out. >> I'm trying to build a interactive fiction kind of game, silly I know >> but I >> am a fan of the genre. I'm trying to build up an index of all the >> rooms in >> the game from

Re: optional argument to a subclass of a class

2010-05-21 Thread Alex Hall
On 5/21/10, Chris Rebert wrote: > On Fri, May 21, 2010 at 1:09 PM, Alex Hall wrote: >> On 5/21/10, Ethan Furman wrote: >>> Alex Hall wrote: >>>> On 5/20/10, alex23 wrote: >>>> I have since updated each ship's >>>> __init__ t

Re: optional argument to a subclass of a class

2010-05-21 Thread Alex Hall
On 5/21/10, Ethan Furman wrote: > Alex Hall wrote: >> On 5/20/10, alex23 wrote: >> I have since updated each ship's >> __init__ to accept all the arguments that Craft accepts so that I can >> support all optional arguments, > > Ick. Now you'll ha

Re: optional argument to a subclass of a class

2010-05-21 Thread Alex Hall
On 5/21/10, Christian Heimes wrote: > Am 21.05.2010 04:56, schrieb Alex Hall: >> Hi all, >> I am now trying to allow my classes, all of which subclass a single >> class (if that is the term), to provide optional arguments. Here is >> some of my code: >> >>

Re: optional argument to a subclass of a class

2010-05-21 Thread Alex Hall
On 5/21/10, Terry Reedy wrote: > On 5/20/2010 10:56 PM, Alex Hall wrote: > > A couple of style comments for you to consider. > >> class Craft(): >> def __init__(self, >> name, >> isAircraft=False, >> id=helpers.id(), >> hits=0, >>

Re: optional argument to a subclass of a class

2010-05-21 Thread Alex Hall
On 5/21/10, Peter Otten <__pete...@web.de> wrote: > Alex Hall wrote: > >> Hi all, >> I am now trying to allow my classes, all of which subclass a single >> class (if that is the term), to provide optional arguments. Here is >> some of my code: >> >>

Re: optional argument to a subclass of a class

2010-05-20 Thread Alex Hall
On 5/20/10, alex23 wrote: > Patrick Maupin wrote: >> One thing you can do is in battleship, you can accept additional >> keyword arguments: >> >> def __init__(self, name, ..., **kw): >> >> Then you could invoke the superclass's init: >> >> Craft.__init__(self, name, **kw) > > _All_ of whi

Re: optional argument to a subclass of a class

2010-05-20 Thread Alex Hall
On 5/20/10, Patrick Maupin wrote: > On May 20, 9:56 pm, Alex Hall wrote: >> Hi all, >> I am now trying to allow my classes, all of which subclass a single >> class (if that is the term), to provide optional arguments. Here is >> some of my code: >> >&g

optional argument to a subclass of a class

2010-05-20 Thread Alex Hall
Hi all, I am now trying to allow my classes, all of which subclass a single class (if that is the term), to provide optional arguments. Here is some of my code: class Craft(): def __init__(self, name, isAircraft=False, id=helpers.id(), hits=0, weapons=[]): self.name=name self.id=id sel

Re: another question about classes and subclassing

2010-05-18 Thread Alex Hall
On 5/18/10, Dave Angel wrote: > Alex Hall wrote: >> Okay, that makes sense. So by calling submarine(craft) I am bringing >> in all of craft's attribs (subclassing)? Or does calling craft's >> __init__ method do that instead? Is there an advantage to doing it >&

Re: another question about classes and subclassing

2010-05-18 Thread Alex Hall
n sense of organization; speed, memory usage, less coding? Thanks. On 5/18/10, Dave Angel wrote: > Alex Hall wrote: >> Hi again all, >> More about classes. I am still looking into my battleship game, and I >> will have several different craft. All craft have common attribs >

another question about classes and subclassing

2010-05-18 Thread Alex Hall
Hi again all, More about classes. I am still looking into my battleship game, and I will have several different craft. All craft have common attribs (position, alive, and so on) but each craft may be a surface ship, submarine, or airplane. All three are craft, but a submarine can be submerged or no

Re: classes and __init__ question

2010-05-17 Thread Alex Hall
On 5/17/10, Patrick Maupin wrote: > On May 17, 3:19 pm, Alex Hall wrote: >> Hi all, >> I am a bit confused about classes. What do you pass a class, since all >> the actual information is passed to __init__? For example, say you >> have a dog class. The dog object has

classes and __init__ question

2010-05-17 Thread Alex Hall
Hi all, I am a bit confused about classes. What do you pass a class, since all the actual information is passed to __init__? For example, say you have a dog class. The dog object has a name, a size, and a color. I believe you would say this: class dog(): def __init__(self, name, size, color): s

tone generation for motherboard and sound card speakers?

2010-05-16 Thread Alex Hall
Hi all, I am wondering if there is a way to generate a tone for the motherboard speaker, like the call to Beep() in C++? Also, is there a module to generate tones in Python using the sound card? A module that can beep at a given frequency for a given time using the usual sine wave is okay, but the

Re: Data store solution need help

2010-05-14 Thread Alex Hall
An important question is: will you need this input stored across multiple runs of the program? What I mean is, do you want the user to set the data, then have those same settings even after closing and re-opening the program? On 5/14/10, Bruno Desthuilliers wrote: > Haulyn Jason a écrit : >> Hi,

Re: shortcut for large amount of global var declarations?

2010-05-08 Thread Alex Hall
On 5/8/10, Jon Clements wrote: > On 8 May, 15:08, Alex Hall wrote: >> Hi all, >> I am sorry if this is the second message about this you get; I typed >> this and hit send (on gmail website) but I got a 404 error, so I am >> not sure if the previous message made it ou

shortcut for large amount of global var declarations?

2010-05-08 Thread Alex Hall
Hi all, I am sorry if this is the second message about this you get; I typed this and hit send (on gmail website) but I got a 404 error, so I am not sure if the previous message made it out or not. Anyway, I have about fifteen vars in a function which have to be global. Is there a faster and more s

Re: importing modules

2010-05-07 Thread Alex Hall
I have a main folder. Inside that I have a "modes" package (subfolder holding __init__.py) as well as a "misc" package. When modes has to import helpers.py from misc, I use this: from .misc import helpers The period makes Python look up one level for misc, then go into it to find helpers. On 5/7/1

Re: does this exception mean something else?

2010-05-06 Thread Alex Hall
Changing the order so the function is first did it. Thanks. That is what I get for working with Java all semester... On 5/6/10, MRAB wrote: > Alex Hall wrote: >> Hi all, >> I have a file, pasted below for what good it will do, which makes a >> couple conditional calls

does this exception mean something else?

2010-05-06 Thread Alex Hall
Hi all, I have a file, pasted below for what good it will do, which makes a couple conditional calls to a function called writeDefaults. However, when I manually trigger a condition that causes the function to be called, Python gives me a name error and says that my writeDefaults does not exist. I

RESOLVED Re: dll errors in compiled python program

2010-04-29 Thread Alex Hall
lex23 wrote: > Alex Hall wrote: >> I am stumped. The compiled version of my project works on my pc, but >> when I put it on a thumb drive and try it on a laptop without python >> installed I get this: >> ImportError: DLL load failed: The specified procedure could not be fou

dll errors in compiled python program

2010-04-29 Thread Alex Hall
Hi all, I am stumped. The compiled version of my project works on my pc, but when I put it on a thumb drive and try it on a laptop without python installed I get this: Traceback (most recent call last): File "sw.pyw", line 3, in File "modes\arm.pyc", line 4, in File "dependencies\wmi1_3\wm

py2exe breaking wxPython?

2010-04-24 Thread Alex Hall
Hello all, I have a compiled version of my project, but the wx functions do not work. When run from the python source, instead of the compiled .exe file, wx works as expected. I am including msvcr90.dll in the dist folder. I looked for answers on Google, but I could not really follow the tutorials

Re: py2exe saga continues...

2010-04-15 Thread Alex Hall
On 4/15/10, Mark Hammond wrote: > On 16/04/2010 10:52 AM, Alex Hall wrote: >> 1. Is there a way to start with no command line window popping up? My >> main script is a pyw, but it still shows a dos window when the >> generated .exe file is clicked. Leaving out the "cons

py2exe saga continues...

2010-04-15 Thread Alex Hall
Hi all, I started a new thread as I already have several out there, all talking about basically the same thing. After re-visiting a StackOverflow post, thanks to the person who gave me that link, I tossed msvcp90.dll and msvcr90.dll (I use wx) into c:\python26\dlls and it now compiles! I think I ke

py2exe and msvcp90.dll

2010-04-15 Thread Alex Hall
Hi all, I am still fighting with py2exe; I keep getting "error: msvcp90.dll: no such file or directory" right after it says it is searching for required dlls. I have followed the py2exe tutorial, though, and I am not sure why it is not finding the dlls, which are in both c:\windows\system32 and in

Re: Updated License Term Agreement for VC Redistributable in VS 2008 SP1

2010-04-14 Thread Alex Hall
I do not see anything about redistribution, only installation, unless I am missing something? On 4/14/10, pyt...@bdurham.com wrote: > I just stumbled across the following page which seems to indicate that > the MS VC 2008 runtime files[1] required to distribute Python > applications compiled with

Re: msvcr90.dll is MIA?

2010-04-14 Thread Alex Hall
On 4/14/10, Enrico wrote: > Il 14/04/2010 14:25, Alex Hall ha scritto: >> I notice that I do not have the dll when py2exe says it cannot locate >> the dll. If I need vs2008, then what good is vcredist_xxx.exe? It does >> not seem to give me the dll, but the py2exe tutorial

Re: msvcr90.dll is MIA?

2010-04-14 Thread Alex Hall
On 4/14/10, Christian Heimes wrote: > On 14.04.2010 14:25, Alex Hall wrote: >> I notice that I do not have the dll when py2exe says it cannot locate >> the dll. If I need vs2008, then what good is vcredist_xxx.exe? It does >> not seem to give me the dll, but the py2exe

Re: msvcr90.dll is MIA?

2010-04-14 Thread Alex Hall
I notice that I do not have the dll when py2exe says it cannot locate the dll. If I need vs2008, then what good is vcredist_xxx.exe? It does not seem to give me the dll, but the py2exe tutorial says that it will. What am I missing? On 4/14/10, Christian Heimes wrote: > On 14.04.2010 13:22, A

Re: msvcr90.dll is MIA?

2010-04-14 Thread Alex Hall
llina wrote: > En Wed, 14 Apr 2010 00:07:48 -0300, Alex Hall escribió: > >> For testing purposes, and because I am not yet distributing my >> application (which, thanks to you all, is now running perfectly!), I >> am going to just bundle msvcr90.dll. However, I cannot find

missing dll follow-up

2010-04-14 Thread Alex Hall
Hi again, I said "msvcr90.dll", but I meant "msvcp90.dll". In either case, I cannot locate the dll to include in my project and I am not sure what else I can do. The vcredist_x86 was, I thought, supposed to give me the dll, but it does not seem to have done so. -- Have a great day, Alex (msg sent

msvcr90.dll is MIA?

2010-04-14 Thread Alex Hall
Hi all, For testing purposes, and because I am not yet distributing my application (which, thanks to you all, is now running perfectly!), I am going to just bundle msvcr90.dll. However, I cannot find it! I ran vcredist_x86.exe (I have a 64-bit version of win7, but all I have is the x86 version of t

Re: packaging multiple python scripts as Windows exe file

2010-04-14 Thread Alex Hall
way of compiling Python to .exe which gives me one file containing all my dlls and Python dependencies? If not then a folder is not bad, but a single file would be best. On 4/13/10, Joaquin Abian wrote: > On Apr 13, 9:56 pm, Mike Driscoll wrote: >> On Apr 12, 5:20 pm, Alex Ha

Re: curious about python version numbers

2010-04-13 Thread Alex Hall
f P. Steinbach wrote: > >> * Alex Hall: >> >> Hi all, >>> I am just curious: if Python3.x is already out, why is 2.7 being >>> released? Are there two main types of Python? Thanks. >>> >> >> Old code and old programming habits may work as-i

packaging multiple python scripts as Windows exe file

2010-04-13 Thread Alex Hall
Hi all, While my project is still suffering from major import problems, I will soon have to try to package it as a Windows executable file. I do not want an installer; I want the user to be able to run the program for as long as they want, then to quit (by using a command from inside the program) a

curious about python version numbers

2010-04-13 Thread Alex Hall
Hi all, I am just curious: if Python3.x is already out, why is 2.7 being released? Are there two main types of Python? Thanks. -- Have a great day, Alex (msg sent from GMail website) mehg...@gmail.com; http://www.facebook.com/mehgcap -- http://mail.python.org/mailman/listinfo/python-list

Re: On Class namespaces, calling methods

2010-04-10 Thread Alex Hall
On 4/10/10, vsoler wrote: > Still learning python, especially OOP. > > While testing classes, I sometimes think of them as "ordinary > containers" of values and functions (methods). That is, values and > functions can be grouped together inside "namespaces" calles classes. > > class Uno: > a=1

Re: Imports again...

2010-04-09 Thread Alex Hall
Okay, what you all say makes sense, and I am going to try the package thing again. The "modes" dir is from my last attempt, as is its "weather" subdir. I think I see what I did wrong, at least I hope I do. I will also remove the init file from the main dir. Yes, "arm" is the main directory of the p

Imports again...

2010-04-09 Thread Alex Hall
Hello all, once again: http://www.gateway2somewhere.com/sw/sw.zip The above link is to a project. I am new to using multiple files in Python, and I have a lot of tangled imports where many files in the same folder are importing each other. When I tried to follow the manual to make some files into

imports again

2010-04-06 Thread Alex Hall
python2.6. -- Forwarded message ------ From: Alex Hall Date: Tue, 6 Apr 2010 13:06:24 -0400 Subject: imports again To: python-us...@python.org Hello all, My project is stalled because of an import problem. I know my imports are a tangled mess (1 imports 2 3 and 4, 2 imports 1 and 3, 3 imports 2 and 4,

Re: Have you embraced Python 3.x yet?

2010-03-26 Thread Alex Hall
Because of compatibility, and many modules being built for 2.6 only, I am still on 2.6.4 (updating to .5 soon). On 3/26/10, Harishankar wrote: > Have you people embraced Python 3.x or still with 2.5 or 2.6? > > I personally want to switch over but not too sure how many people are > using 3.x as o

Re: threads (specifically timers) and releasing resources

2010-03-25 Thread Alex Hall
Thanks, this should work. On 3/25/10, Tim Golden wrote: > On 25/03/2010 02:31, Alex Hall wrote: >> Okay, I have my program and it has three different modes (there will >> be more than that). Each mode will have a timer attached to it. If the >> mode remains active and

threads (specifically timers) and releasing resources

2010-03-24 Thread Alex Hall
Okay, I have my program and it has three different modes (there will be more than that). Each mode will have a timer attached to it. If the mode remains active and the timer runs out, a function specific to that mode is called. If that mode is switched away from, however, the timer is canceled and

timers not canceling!

2010-03-24 Thread Alex Hall
Hi all, I am having trouble with a timer I am trying to use. It is the same timer, but I need to cancel it when a certain event happens, then start it again when a second event happens. The below is from a shell session, not a file, but it shows my problem: I call cancel on a timer, then call start

Re: exiting threaded program?

2010-03-24 Thread Alex Hall
010 10:43, Alex Hall wrote: >> Hi all, >> I have a program with a timer in it, therefore I have multiple >> threads. My method of exiting by using "user32.PostQuitMessage (0)" no >> longer seems to be doing the job since I added the timer. What else do >> I have

Re: using message loop for hotkey capturing

2010-03-24 Thread Alex Hall
Thanks, it seems to be working for now... Hopefully that trend continues! On 3/24/10, Tim Golden wrote: > On 23/03/2010 17:01, Alex Hall wrote: >> Hi all, but mainly Tim Golden: >> Tim, I am using your wonderful message loop for keyboard input, the >> one on your site tha

exiting threaded program?

2010-03-24 Thread Alex Hall
Hi all, I have a program with a timer in it, therefore I have multiple threads. My method of exiting by using "user32.PostQuitMessage (0)" no longer seems to be doing the job since I added the timer. What else do I have to do to close my program? I say it is not closing because, before, I would be

Re: using message loop for hotkey capturing

2010-03-23 Thread Alex Hall
On 3/23/10, MRAB wrote: > Alex Hall wrote: >> Hi all, but mainly Tim Golden: >> Tim, I am using your wonderful message loop for keyboard input, the >> one on your site that you pointed me to a few months ago. It has been >> working perfectly as long as I had only one

Re: using message loop for hotkey capturing

2010-03-23 Thread Alex Hall
Sorry about that, it is fixed now. On 3/23/10, Tim Golden wrote: > On 23/03/2010 17:01, Alex Hall wrote: >> Hi all, but mainly Tim Golden: >> Tim, I am using your wonderful message loop for keyboard input, the >> one on your site that you pointed me to a few months ago. I

using message loop for hotkey capturing

2010-03-23 Thread Alex Hall
Hi all, but mainly Tim Golden: Tim, I am using your wonderful message loop for keyboard input, the one on your site that you pointed me to a few months ago. It has been working perfectly as long as I had only one dictionary of keys mapping to one dictionary of functions, but now I want two of each.

Re: dll in project?

2010-03-15 Thread Alex Hall
Okay, I got a new copy and all seems well now. The dll is found and loaded. The functions inside the dll are not working, but that is not Python's fault. Thanks to everyone for your help and suggestions! On 3/15/10, Ulrich Eckhardt wrote: > Alex Hall wrote: >> On 3/15/10, Ulrich E

Re: dll in project?

2010-03-15 Thread Alex Hall
On 3/15/10, Ulrich Eckhardt wrote: > Alex Hall wrote: >> I have a dll I am trying to use, but I get a Windows error 126, "the >> specified module could not be found". Here is the code segment: >> nvdaController=ctypes.windll.LoadLibrary("nvdaControllerCli

dll in project?

2010-03-14 Thread Alex Hall
Hi all, I have a dll I am trying to use, but I get a Windows error 126, "the specified module could not be found". Here is the code segment: nvdaController=ctypes.windll.LoadLibrary("nvdaControllerClient32.dll") I have the specified dll file in the same directory as the file trying to use said d

Re: problem with variable and function

2010-03-14 Thread Alex Hall
s to have done it, thanks. Sorry about top-posting; inline posting is much harder to read when using a screen reader, as I do, so I am used to top-posting. On 3/14/10, Chris Rebert wrote: >> On 3/14/10, Chris Rebert wrote: >>> On Sun, Mar 14, 2010 at 10:26 AM, Alex Hall wrote

Re: problem with variable and function

2010-03-14 Thread Alex Hall
ed above the nextMode function. def nextMode(): global HOTKEYS global HOTKEY_ACTIONS global mode global modes global modeNum global modeNames global funcs #mode=mode+1 #check to make sure the newly selected mode is enabled tmp=0 while(tmp wrote: > On Sun, Mar 14, 2010 at 10:26 AM,

problem with variable and function

2010-03-14 Thread Alex Hall
Hi all, I have a file with a dictionary and a function. The dictionary holds the name of the function, and the function references the dictionary. If I put the dictionary first, the function is happy but the dictionary says the function is not defined. If I switch the two and put the function first

wx error, I suspect my class

2010-03-13 Thread Alex Hall
Hello all, I am trying to make a gui out of xrc and wxpython, but I think my understanding of Python's class/method structure is causing problems. The below code returns an error on the line panel=xrc.XRCCTRL(mf, "dl") The error goes back to wxPython itself and says "attribute error: 'none' type

Re: importing modules from subdirs

2010-03-11 Thread Alex Hall
Halfway there. It imports now, but it says that the module does not have functions which I know it does have. I will just leave it all in one folder for now and play with organization after I get the project working better. On 3/11/10, Steve Holden wrote: > Alex Hall wrote: >> Hi al

unable to run wxPython script: dll errors

2010-03-11 Thread Alex Hall
Hi all, I am trying to run a file that should pop up a dialog. The dialog is fine (I used XRCed to create it and running it from within that editor brings up the dialog I want). When I run my file, though, I get this traceback: C:\Users\Alex>c:\python26\python.exe i:\arm\dictionary.py Traceback (m

importing modules from subdirs

2010-03-11 Thread Alex Hall
Hi all, The manual says, for modules in a project stored in subdirectories, you can do: import folderName.module I have a couple questions, though: 1. Do I then have to call functions from module like folder.module.function, or can I still use the normal module.function? 2. When I try to do this,

Re: odd error

2010-03-10 Thread Alex Hall
I am honestly a bit lost as to why keys.append() is not a good choice here, but I have it working. I apparently have to use the ascii for capital letters if I am capturing the shift modifier, not the lowercase ascii. Using 67 instead of 99 works as expected. I use append because the program has th

Re: odd error

2010-03-09 Thread Alex Hall
ction is not called, and this is a huge limitation for the rest of the program since I am stuck with just the ten numbers available on the keyboard. Any suggestions would be great! On 3/9/10, Tim Golden wrote: > On 09/03/2010 13:55, Alex Hall wrote: >> Hi all, >> In the same p

Re: odd error

2010-03-09 Thread Alex Hall
happening? On 3/9/10, Ulrich Eckhardt wrote: > Alex Hall wrote: >> Now, though, when I press ctrl-shift-c (keystroke 11), nothing >> happens. > > Control-C sends a special signal to the console, like Control-Break. > >> Pressing any other keystroke after that will crash

odd error

2010-03-09 Thread Alex Hall
Hi all, In the same program I wrote about yesterday, I have a dictionary of keystrokes which are captured. I just tried adding a new one, bringing the total to 11. Here are entries 10 and 11; 10 has been working fine for months. 10 : (57, win32con.MOD_CONTROL), 11 : (99, win32con.MOD_CONTROL |

Re: imported var not being updated

2010-03-08 Thread Alex Hall
out of a job... Thanks again. On 3/8/10, Gary Herron wrote: > Alex Hall wrote: >> Hello all: >> I have a project with many pyw files. One file holds a variable and a >> function that I find myself using across many other pyw files, so I >> called it helpers.pyw. The vari

imported var not being updated

2010-03-08 Thread Alex Hall
Hello all: I have a project with many pyw files. One file holds a variable and a function that I find myself using across many other pyw files, so I called it helpers.pyw. The variable is "mostRecent", which is a string and is meant to hold a string so I know what the program most recently output;

python on a thumb drive?

2010-03-05 Thread Alex Hall
Hello all, My name is Alex. I am pretty new to Python, but I really like it. I am trying to put my python and pythonw executables on my thumb drive, along with packages, using Moveable Python, but I cannot figure out how to run scripts using it. I would rather use a shell than the script runner gu