code review

2012-06-28 Thread Littlefield, Tyler
Hello all: I was curious if someone wouldn't mind poking at some code. I have an idea for a game I want to write (and if this works I want to use this as a framework for another project), but I'd like to make sure I'm doing things correctly/there's not a better way to do things. My concern is I

Re: code review

2012-06-29 Thread Littlefield, Tyler
On 6/29/2012 2:14 AM, Serhiy Storchaka wrote: The project page is at: http://code.google.com/p/pymud Any information is greatly appreciated. Do you mean No, I mean http://code.google.com/p/pymud -- Take care, Ty http://tds-solutions.net The aspen project: a barebones light-weight mud engin

Re: code review

2012-06-29 Thread Littlefield, Tyler
On 6/29/2012 1:31 AM, Steven D'Aprano wrote: On Thu, 28 Jun 2012 20:58:15 -0700, alex23 wrote: On Jun 29, 12:57 pm, "Littlefield, Tyler" wrote: I was curious if someone wouldn't mind poking at some code. The project page is at:http://code.google.com/p/pymud Any in

Re: code review

2012-06-29 Thread Littlefield, Tyler
I am no expert but from what have picked up so far from x import is frowned upon in most cases also this section in main strikes me as a bit odd and convoluted w = world() serv = server(client) w.server = serv serv.world = w I think you are cross referencing classes & would be better to investi

Re: code review

2012-07-03 Thread Littlefield, Tyler
On 7/3/2012 10:55 PM, Simon Cropper wrote: Some questions to Tyler Littlefield, who started this thread. Q1 -- Did you get any constructive feedback on your code? I did get some, which I appreciated. someone mentioned using PyLint. From reading, I found it was really really pedantic, so I use

modeling complex data with sqlalchemy

2012-08-25 Thread Littlefield, Tyler
Hello all: I had a quick question. In my game, I have an is-a setup, where all objects contain data like an id for sqlalchemy, a name, a description and a list of contents. In order to add functionality to an object, you add components. So for example, a player would have the Player and Living c

Re: VPS For Python

2012-08-26 Thread Littlefield, Tyler
On 8/26/2012 1:41 AM, coldfire wrote: I will really appreciate if someone type the address of any of the following for use with python 1>Webhost 2>Shell Account 3>VPS I love Linode, it's amazing and you get decent resources for a decent price. If you sign up, I'd really appreciate it if you u

Re: modeling complex data with sqlalchemy

2012-08-26 Thread Littlefield, Tyler
? I could have: id, name, component_id and then SA could use the name as the table's name, and the id as the id of the component in the other table. How would I set this up with SA? Is it a good idea to go this route? On 8/25/2012 5:53 PM, Dennis Lee Bieber wrote: On Sat, 25 Aug 2012 14:47

using uwsgi to get flask going

2012-09-19 Thread Littlefield, Tyler
Hello all: This is my first shot with UWSGI and Python on Nginx, and I'm getting kind of confused. My uwsgi init script looks like: #!/bin/sh #/etc/init.d/uwsgi ### BEGIN INIT INFO # Provides: uwsgi # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### E

request for another code review

2012-09-22 Thread Littlefield, Tyler
Hello all: I've gotten a bit farther into my python mud, and wanted to request another code review for style and the like. Mainly I'm concerned about player.py, world.py and components and other ways to handle what I'm trying to do. I didn't run pychecker just yet, so there are probably a ton o

Re: List Problem

2012-09-23 Thread Littlefield, Tyler
On 9/23/2012 3:44 PM, jimbo1qaz wrote: On Sunday, September 23, 2012 2:31:48 PM UTC-7, jimbo1qaz wrote: I have a nested list. Whenever I make a copy of the list, changes in one affect the other, even when I use list(orig) or even copy the sublists one by one. I have to manually copy each cell

keeping information about players around

2012-09-23 Thread Littlefield, Tyler
ytHello all: I've asked for a couple code reviews lately on a mud I've been working on, to kind of help me with ideas and a better design. I have yet another design question. In my mud, zones are basically objects that manage a collection of rooms; For example, a town would be it's own zone. I

Re: request for another code review

2012-09-24 Thread Littlefield, Tyler
On 9/23/2012 9:48 PM, alex23 wrote: On Sep 23, 6:14 am, "Littlefield, Tyler" wrote: I've gotten a bit farther into my python mud, and wanted to request another code review for style and the like. Are you familiar with codereview.stackexchange.com ? I actually wasn't, th

Re: request for another code review

2012-09-24 Thread Littlefield, Tyler
On 9/23/2012 9:48 PM, alex23 wrote: On Sep 23, 6:14 am, "Littlefield, Tyler" wrote: I've gotten a bit farther into my python mud, and wanted to request another code review for style and the like. Are you familiar with codereview.stackexchange.com ? I actually wasn't, th

Re: keeping information about players around

2012-09-24 Thread Littlefield, Tyler
On 9/24/2012 3:14 PM, Dwight Hutto wrote: I have yet another design question. In my mud, zones are basically objects that manage a collection of rooms; For example, a town would be it's own zone. It holds information like maxRooms, the list of rooms as well as some other data like player owners a

Re: For Counter Variable

2012-09-24 Thread Littlefield, Tyler
On 9/24/2012 6:25 PM, Dwight Hutto wrote: To highlight the vast gulf between what you think you are and what you actually produce. I produce working code, and if it works, then I don't just think...I know. Working code != good code. Just an observation. Also, I've noticed a vast differences be

Re: Who's laughing at my responses, and who's not?

2012-09-24 Thread Littlefield, Tyler
On 9/24/2012 10:43 PM, Dwight Hutto wrote: It sounds pretentious, but over the past several days, I've been slammed on every post almost. All because of an argument over me not posting a little context in a conversation, that seemed short and chatty. I was just wondering, if it's just them, or i

Re: new-style class or old-style class?

2012-09-25 Thread Littlefield, Tyler
On 9/25/2012 8:44 AM, Jayden wrote: In learning Python, I found there are two types of classes? Which one are widely used in new Python code? Is the new-style much better than old-style? Thanks!! Perhaps this is useful: http://docs.python.org/reference/datamodel.html It's 3.3 I think. -- Ta

google api and oauth2

2012-09-25 Thread Littlefield, Tyler
Hello all: I've been trying to figure out the oauth2client part of google's api, and I am really confused. It shows a flow, and even with the client flow, you need a redirect uri. This isn't important because I just want to get both an access and refresh token. Has anyone had any experience wi

Re: google api and oauth2

2012-09-25 Thread Littlefield, Tyler
ble. Still not to hard to get at, but it's not right there either. On Tue, Sep 25, 2012 at 12:04 PM, Littlefield, Tyler mailto:ty...@tysdomain.com>> wrote: Hello all: I've been trying to figure out the oauth2client part of google's api, and I am really confused

Re: Article on the future of Python

2012-09-26 Thread Littlefield, Tyler
On 9/26/2012 2:11 AM, Dwight Hutto wrote: Well, we can all use american as a standard, or maybe you'd prefer to borrow my Latin for Idiots handbook. But then again google has a Universal Communicator going, so, does it matter? Never in the field of human discussion has there been so much reason

teventlet: a light-weight method for handling events

2012-09-27 Thread Littlefield, Tyler
Hello all: This was my first PyPi project to create. I'd like some feedback as to whether or not something like this is even moderately useful, and what I could do better with it. The blog article that details some of this is: http://tds-solutions.net/blog/?p=137 And the PyPi page: http://pypi.

Re: test

2012-09-27 Thread Littlefield, Tyler
On 9/27/2012 3:36 PM, Devin Jeanpierre wrote: On Thu, Sep 27, 2012 at 5:28 PM, ForeverYoung wrote: Please ignore this post. I am testing to see if I can post successfully. Is there a reason you can't wait until you have something to say / ask to see if it works? You're spamming a large number

Re: Article on the future of Python

2012-09-27 Thread Littlefield, Tyler
On 9/27/2012 9:05 PM, Jason Friedman wrote: Fair enough, but it's the M in the LAMP stack I object to. I'd much rather have P. +1 I know this isn't the list for database discussions, but I've never gotten a decent answer. I don't know much about either, so I'm kind of curious why postgresql

Re: Stop feeding the trolls (Was: which a is used?)

2012-09-27 Thread Littlefield, Tyler
On 9/27/2012 10:50 PM, Dwight Hutto wrote: On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico wrote: On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto wrote: [ lots of screed that demonstrates that Dwight hasn't grokked the hacker culture ] Don't hack, but could very well if necessary. You coul

Re: Article on the future of Python

2012-09-27 Thread Littlefield, Tyler
On 9/27/2012 10:37 PM, Chris Angelico wrote: On Fri, Sep 28, 2012 at 2:12 PM, Greg Donald wrote: On Thu, Sep 27, 2012 at 10:37 PM, Wayne Werner wrote: the only advice I can give on that is just learn to use both. I find there's little to lose in having experience with both. Most every good

Re: Python source code easy to hack?

2012-09-28 Thread Littlefield, Tyler
On 9/28/2012 9:19 AM, stu...@molden.no wrote: kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende: This is true, but both java and .net are also relatively easy to decompile. Neither of them are very "obfuscated". In general though, why does it matter? Paranoia among man

design question:game skill system

2012-10-02 Thread Littlefield, Tyler
Hello all: I'm looking at a skill/perk system, where the player builds up his char by using perk points to add abilities. Each perk is under a category, and generally costs go up as you increase the perk. So I'm trying to figure something out; first, I'd really like the cost calculation and all

Re: design question:game skill system

2012-10-03 Thread Littlefield, Tyler
I just wanted to say thanks to all the people that provided input, both aonand off list. It gave me a good direction to head in. Thanks again. On 10/2/2012 2:34 PM, Ian Kelly wrote: On Tue, Oct 2, 2012 at 2:00 PM, Littlefield, Tyler wrote: Hello all: I'm looking at a skill/perk system,

final question: logging to stdout and updating files

2012-10-03 Thread Littlefield, Tyler
pHello all: I've seen frameworks like django reload files when it detects that they've been changed; how hard would it be to make my engine reload files that it detects were changed? I'm also curious how hard it would be to build in some error recovery. For example right now when an exception

keeping twisted and wxPython in sync

2012-02-07 Thread Littlefield, Tyler
Hello all: I have a couple questions. First, is there a way to know if connectTCP failed? I am writing a client with Twisted and would like to be able to notify the user if they couldn't connect. Second, I set the protocol on my factory after a connection has been made. So when I send my user a

Dynamic URL shortening

2011-06-14 Thread Littlefield, Tyler
Hello all: I started working on a project with someone else quite recently, and he has a request. The project requires an URL shortener, and he would like it to be dynamic for both users and developers. Apparently some applications on the mac allow for the user to input some data on a URL shor

parsing packets

2011-07-10 Thread Littlefield, Tyler
Hello all: I'm working on a server that will need to parse packets sent from a client, and construct it's own packets. The setup is something like this: the first two bytes is the type of the packet. So, lets say we have a packet set to connect. There are two types of connect packet: a auth pac

Looking for open-source Python projects to help out with

2011-09-06 Thread Littlefield, Tyler
Hello: I've got a bit of time on my hands, so I'm curious what sorts of projects there are that people needs help with. I'd like to choose something that doesn't have a ton of red tape, but is stable, which is why I ask here instead of just Googling open source projects. My main interests lie

Re: How to structure packages

2011-09-07 Thread Littlefield, Tyler
On 9/7/2011 9:56 AM, bclark76 wrote: I'm learning python, and was playing with structuring packages. Basically I want to have a package called mypackage that defines a number of classes and functions. so I create: mypackage __init__.py myfunc.py MyClass.py my __init__.py is b

Re: Absolutely Insane Problem with Gmail

2011-03-05 Thread Littlefield, Tyler
>ourEmail = ' myemaila...@gmail.com' >ourEmail = ' q...@xxx.com' You redefine this twice. You also don't define a variable down lower. ># to_address = ourEmail, > from_address = ourEmail, > to_address = emailText, I could be wrong, but emailText isn't defined. Perhaps a better var

Re: having both dynamic and static variables

2011-03-05 Thread Littlefield, Tyler
> It's worth having some syntax for constants. I'd suggest >using "let": >let PI = 3.1415926535897932384626433832795028841971693993751 in to many languages, let is just a setter. why not just const pye = 3.14... -- http://mail.python.org/mailman/listinfo/python-list

Re: How Translate This PHP

2011-03-06 Thread Littlefield, Tyler
>How do I translate this PHP code? >if($ok){ >echo "returnValue=1"; >}else{ >echo "returnValue=0"; >} print("return value = "+str(ok)); -- http://mail.python.org/mailman/listinfo/python-list

Re: What do you use with Python for GUI programming and why?

2011-03-10 Thread Littlefield, Tyler
Is there a push to one toolkit or the other? TKInter from what I understand comes with Python already. There is also PYGui and WXPython; it really depends on what you want and what you like the best. -- http://mail.python.org/mailman/listinfo/python-list

Re: Pyserial

2011-03-20 Thread Littlefield, Tyler
>The windows msi install fails saying there is no python install found >in the registry. Is there a workaround for this? Can I edit the >registry and manually enter the information? I've came to realize that the 64-bit version of python does not work with 32-bit modules in terms of the installer

Re: Writing to a file

2011-03-25 Thread Littlefield, Tyler
>with open(test_absname, 'w') as test: what's the difference in that and test = ...? I can see why you mentioned the os.path for cross-platform, but I don't understand why someone would use with over =. On 3/25/2011 7:11 PM, eryksun () wrote: On Friday, March 25, 2011 11:07:19 AM UTC-4, jy

using python to post data to a form

2011-04-03 Thread Littlefield, Tyler
Hello: I have some data that needs to be fed through a html form to get validated and processed and the like. How can I use python to send data through that form, given a specific url? the form says it uses post, but I"m not really sure what the difference is. would it just be: http://mysite.c

Re: using python to post data to a form

2011-04-04 Thread Littlefield, Tyler
>Sending POST data can be done as follows (I'm changing bar=foo to Thanks for this, and the links. On 4/4/2011 12:24 AM, Chris Rebert wrote: On Sun, Apr 3, 2011 at 10:36 PM, Littlefield, Tyler wrote: Hello: I have some data that needs to be fed through a html form to get valid

Re: Sending pictures using sockets

2011-04-06 Thread Littlefield, Tyler
On 4/6/2011 4:58 PM, craf wrote: >Hello. > >I'm testing the sockets in Python and I've seen the way in which >works to send string. My question is if anyone knows where >can find some information on how to send pictures through >Sockets. I use Python 2.7 and have read the information regarding >S

Re: fighting game made with python

2011-04-07 Thread Littlefield, Tyler
>yep, if somebody moves one more thing. there's going to be a fight... bitch in your own thread, please? We've already heard you complain plenty, no need to take it to other threads too. On 4/7/2011 9:10 AM, harrismh777 wrote: neil harper wrote: is there any fighting games(street fighter,

Re: fighting game made with python

2011-04-07 Thread Littlefield, Tyler
>Python would b ea bad choice for most of any fighting game, but >could see use as a configuration or internal scripting engine. Python's objects are rather large, which sort of makes for some slow work. Maybe a configuration setup, but Lua and Angelscript are better suited to high-end games whe

Re: Egos, heartlessness, and limitations

2011-04-13 Thread Littlefield, Tyler
RR: I do have to ask, before I feed the troll, where the hell is your spellchecker? And you were talking about people being lazy? The irony is killing me. Now, you've been told you can fork Idol if you so choose, and you've been told to write up information on how you want to replace TKInter

Re: Egos, heartlessness, and limitations

2011-04-13 Thread Littlefield, Tyler
>We all have jobs James, and we still find the time to help others out Whose we? Can you point me to a thread within the last 6 months where you actually -helped- someone? >I think he has evolved into a complete jerk (if you ask me) 1) We didn't ask you. 2) If he's been under this rock of his an

Re: Egos, heartlessness, and limitations

2011-04-15 Thread Littlefield, Tyler
>And who pissed in Guido's punch bowl anyway? Why is he such an elitist >now? Why can he not come over once and a while and rub shoulders with http://www.youtube.com/watch?v=FMEe7JqBgvg -- http://mail.python.org/mailman/listinfo/python-list

Re: De-tupleizing a list

2011-04-25 Thread Littlefield, Tyler
>What is the most Pythonic way to loop through the list returning a >list like this?: here's how I'd do it: >>> i [(1, 'a'), (2, 'b'), (3, 'c')] >>> for item in i: ... a+=list(item) ... ... >>> a [1, 'a', 2, 'b', 3, 'c'] -- http://mail.python.org/mailman/listinfo/python-list

obviscating python code for distribution

2011-05-15 Thread Littlefield, Tyler
Hello all: I have been considering writing a couple of programs in Python, but I don't want to distribute the code along with them. So I'm curious of a couple things. First, does there exist a cross-platform library for playing audio files, whose license I would not be violating if I do this?

Re: obviscating python code for distribution

2011-05-15 Thread Littlefield, Tyler
I'm putting lots of work into this. I would rather not have some script kiddy dig through it, yank out chunks and do whatever he wants. I just want to distribute the program as-is, not distribute it and leave it open to being hacked. On 5/15/2011 9:29 PM, Ben Finney wrote: "Littlefi

Re: obviscating python code for distribution

2011-05-15 Thread Littlefield, Tyler
Hello: Thanks all for your information and ideas. I like the idea of open source; I have a fairly large (or large, by my standards anyway) project that I am working on that is open source. Here's kind of what I want to prevent. I want to write a multi-player online game; everyone will essentu

Re: obviscating python code for distribution

2011-05-15 Thread Littlefield, Tyler
>Write your "game" for the "web". >Write is as a SaaS (Software as a Service) - even if it's free and open source. I understood you loud and clear. And that makes a lot of assumptions on my game and the design. I don't really care to host this over the web. I want a centralized server that woul

Re: obviscating python code for distribution

2011-05-15 Thread Littlefield, Tyler
Hello: I wanted to make the client in python, and the server possibly, though I'm not really sure on that. I was not worried about the code for the server being stolen, as much as I was worried about people tinkering with the client code for added advantages. Most of the logic can be handled b

Re: obviscating python code for distribution

2011-05-16 Thread Littlefield, Tyler
>Funny you should mention this "now" I don't go around parading the info, until I have to. >Yes I agree Flash is not very accessible (never has been). >Web Standards web apps and such however are quite >accessible! If I was making a browser-based game, yes. As I'm not though... Anyway, thanks to

Re: FW: help please

2011-05-17 Thread Littlefield, Tyler
Not to be pedantic or anything, and I may not be able to help regardless, but it looks like your space key is fixed, and I don't really care to pick through and try to play hangman with your message. On 5/17/2011 3:43 AM, hamed azarkeshb wrote: From: hamed3...@hotmail.com To: webmas...@python

Re: FW: help please

2011-05-17 Thread Littlefield, Tyler
>I can't remember exactly in which release 'perfect English skills' were >added to Python runtime requirements, could you please refresh my memory? the one that requires people use the space key and check over their messages before they hit the enter key. Not so bad a request, I don't think. I a

Re: [Python-Dev] [RELEASED] Python 3.2.1 rc 1

2011-05-17 Thread Littlefield, Tyler
>For an extensive list of changes and features in the 3.2 line, see >http://docs.python.org/3.2/whatsnew/3.2.html Might I presume that clicking the link would show the required changes? -- http://mail.python.org/mailman/listinfo/python-list

Re: obviscating python code for distribution

2011-05-18 Thread Littlefield, Tyler
>might be secure as long as attackers cannot, say: You forgot UFOs. Anyway, again, thanks to everyone for the advice, this is good reading. Incidentally, I don't know to much about security. I know about rate limiting and dos attacks, as well as some others, but I think there's a lot more that

replace parens update

2015-06-01 Thread Littlefield, Tyler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all: I've put a new version here: https://dl.dropboxusercontent.com/u/10204868/replace_parens.py It's for me, a lot easier to understand. It uses regex to replace parens rather than using a state machine and conforms to the python standards for

Re: I'm using Sphinx, but is there a UML auto generator

2015-10-02 Thread Littlefield, Tyler
> You can use Graphvix and Plant UML from inside Sphinx. > http://build-me-the-docs-please.readthedocs.org/en/latest/Using_Sphinx/UsingGraphicsAndDiagramsInSphinx.html > > Laura > Keep this in mind: However you write your docs, they should be accessible for everyone to use. That is to say, scree

Re: Hiding code from intruders, a different slant on an old question

2015-10-07 Thread Littlefield, Tyler
On 10/7/2015 5:38 AM, c...@isbd.net wrote: > I know questions similar to this are often asked but my reasons for > wanting to do this (and thus ways it can be done) are slightly different. > > I have a number of little utility scripts (python and others) which I > use to automate the process of dec

Re: what's the command for (cd ..) in python

2011-09-09 Thread Littlefield, Tyler
On 9/9/2011 6:07 AM, kaustubh joshi wrote: Hello friends, How do we carry out the command "*cd ..*" in python? os.chdir, like so: >>> os.getcwd() '/home/tyler' >>> os.chdir("../") >>> os.getcwd() '/home' So you could do something like: os.chdir("../foo") My problem

Re: Installing 2.6 on Win 7

2011-09-09 Thread Littlefield, Tyler
On 9/9/2011 2:04 PM, ray wrote: I have not found binaries for this install. The page http://www.python.org/download/windows/ takes me to http://www.python.org/download/releases/ which goes to http://www.python.org/download/releases/2.6.7/ Here are Gzip and Bzip tar balls. The readme files descr

using python in web applications

2011-09-09 Thread Littlefield, Tyler
Hello all: I'm curious if there are some good solutions for using Python in web applications. I'm not feeling particularly masochistic, so I do not want to develop this project in PHP; essentially I'm looking to build a web-based MMO. I know that you can use nginx with Python with servers lik

Re: How to structure packages

2011-09-10 Thread Littlefield, Tyler
On 9/10/2011 4:11 AM, Nobody wrote: On Fri, 09 Sep 2011 11:37:44 +1000, Chris Angelico wrote: The Java compiler also acts as a "make" program. If it doesn't find a .class file for a needed class, it will search for the corresponding .java file and compile that. So to compile a complex program,

Re: test if a subclass inherits a superclass method

2011-09-10 Thread Littlefield, Tyler
On 9/10/2011 5:58 AM, Kayode Odeyemi wrote: Hello, I'm testing Python's class abstractness and inheritance. Since interface doesn't exist, I will like to test how to have access to a superclass method from a subclass without necessary invoking or overriding the superclass method in its subcla

Re: using python in web applications

2011-09-10 Thread Littlefield, Tyler
On 9/9/2011 10:19 PM, Ben Finney wrote: "Littlefield, Tyler" writes: I'm curious if there are some good solutions for using Python in web applications. Start with: http://docs.python.org/howto/webservers.html#frameworks> http://wiki.python.org/moin/WebFrameworks> Awe

Re: using python in web applications

2011-09-10 Thread Littlefield, Tyler
On 9/10/2011 5:35 PM, Laurent wrote: [troll] For a serious web based MMO you'd rather stick to low level and forget about bloated Object Relational Mapping java-like layered kind of frameworks that are made for Rapid Applications Development, not for efficiency. [/troll] I replied to that one

using twisted as a client-server hybrid

2011-12-14 Thread Littlefield, Tyler
Hello all: I have a quick question--I am working on a project where a system will connect to me to get commands. The idea is to make the server the "client," used for dispatching commands, so I'm trying to find a way that I can set it up to listen, but poll stdin somehow for input. Is this a

python logging module:a quick question

2011-12-26 Thread Littlefield, Tyler
Hello all: I have a basic server I am working on, and wanted some input with an error I'm getting. I am initializing the logger like so: if __name__ == "__main__": observer = log.PythonLoggingObserver() observer.start() logging.basicConfig(filename='logs/server.log', level=logging.DEBUG,

a couple of questions: pickling objects and strict types

2013-04-05 Thread Littlefield, Tyler
Hello all: I've been using Python for a while now, but I have one larger problem. I come from a c++ background; though it doesn't help in catching runtime errors, being able to compile a program helps catch a lot of syntax errors. I know about pychecker, which is somewhat useful. Do people have

Re: a couple of questions: pickling objects and strict types

2013-04-05 Thread Littlefield, Tyler
On 4/5/2013 2:30 PM, Steven D'Aprano wrote: On Fri, 05 Apr 2013 12:59:04 -0600, Littlefield, Tyler wrote: Hello all: I've been using Python for a while now, but I have one larger problem. I come from a c++ background; though it doesn't help in catching runtime errors, being ab

help with link parsing?

2010-12-20 Thread Littlefield, Tyler
Hello all, I have a question. I guess this worked pre 2.6; I don't remember the last time I used it, but it was a while ago, and now it's failing. Anyone mind looking at it and telling me what's going wrong? Also, is there a quick way to match on a certain site? like links from google.com and

re: nagios

2011-01-01 Thread Littlefield, Tyler
Adam, Frankly, I am getting really tired of listening to you. I've seen numerous good posts on this list, some post more good quality information and arguments than others, and so far I have yet to see any post of yours where you do not resort to insults and totally avoid the argument. I under

Re: Screen readers for Tkinter (was Re: Tkinter: The good, the bad, and the ugly!

2011-01-21 Thread Littlefield, Tyler
>And of course, it should also offer support for Windows, since most of the computer users use Windows, especially those who need accessibility features. uh. no, and no. Plenty of those utilizing screen readers are using macs nowadays, as well as vinux or some derivitave there of. -- Thanks,

Re: documentation / reference help

2011-01-23 Thread Littlefield, Tyler
The return value simply returns a value to the calling function, which the function can handle, however it wants. so: for example def add(a, b): return (a+b) That simply returns the value a+b, which you can use however you like, like so: i=add(2,3) will assign the return value to add. I rec

Re: WxPython versus Tkinter.

2011-01-23 Thread Littlefield, Tyler
RR, I have not seen anything useful from you thus far, except: 1) "you disagree with me, troll you must be," "2) who cares if my programs have bugs and don't compile cross-platform, defective code is code, none the less. 3) And a lot of unfounded arrogance in stating that no one understands Tkin

Re: WxPython versus Tkinter.

2011-01-23 Thread Littlefield, Tyler
>PS: Be sure not to cause any segfaults because these linux folks can't >debug for shite! Or maybe it is that the person fighting and throwing insults around like candy at a parade can't code for shite. Or *gasp* the library that is supposedly cross-platform has issues on certain platforms. You

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
>I also have a segfault. You should fix that, rantingrick It's clear that the mighty text editor he's wielding in his arena of champions while taking on the world all by himself does not come with a debugger, or even the ability to run the code. Might I suggest throwing your current weapon of m

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
off the soapbox already. On 1/23/2011 11:58 PM, Octavian Rasnita wrote: From: "Littlefield, Tyler" >PS: Be sure not to cause any segfaults because these linux folks can't >debug for shite! Or maybe it is that the person fighting and throwing insults around like candy at a parad

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
Hello, I have been on another list with Octavian, and he takes his accessibility a bit to seriously. If things went his way, he wants laws where -everything- has to be accessible, and it is illegal not to do so. As a sidenote, I would like to preface everything I'm going to say by mentioning

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
Bryan: Here's a pretty good list for you. Windows: Jaws for Windows (http://freedomscientific.com). Not free, but you get a 40 minute demo before you need to reboot. Nonvisual Desktop Access: http://www.nvda-project.org/ Free, open source, written in python (with some core stuff in c/c++). Linux

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
RR, you idiot. Did you -not- read that I was blind and using a screen reader? And wasn't it -you- yelling at someone about reading and comprehention? On 1/24/2011 12:34 PM, MRAB wrote: On 24/01/2011 18:48, rantingrick wrote: On Jan 24, 12:21 pm, "Littlefield, Tyler" wrote:

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
s is awesome. We for sure need more complainers and less people to do what the complainers are complaining about! On 1/24/2011 1:49 PM, Octavian Rasnita wrote: From: "Mark Roseman" "Littlefield, Tyler" wrote: Rather, I believe those pushing accessibility should concen

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
>Because of this, many blind people try to show that they are like the sighted, that they can do everything, that they are >independent, so they like to >talk about the movies they watch, they like to have touch-pad mobile phones and so on, even though the accessibility of >those gadgets is rea

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
>I think you are lying about being blind. And if you are, i am disgusted. By golly, you caught me in the act! shhh, don't tell everyone; it's all an elaborate front. The braille, the screen reader, the cane... I just like to fake it. block quote Well if i were a blind person i would use the mo

Re: WxPython versus Tkinter.

2011-01-25 Thread Littlefield, Tyler
RR, I do hate to break the news to you, but I am -blind-, which is why I am using a screen reader. So I'm not parking anywhere--the DMV refuses to give me a license for some odd reason. What was that post about IQ you made earlier?... -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread Littlefield, Tyler
>Wow! I, I, I, I... is there a sentence that doesn't talk about your self interests? It is clear you have been taking lessons from RR; the word I does not convey self interest, in fact, it is the best word suited to speaking of oppinions (which is all that these are), in the first person. Lets m

Re: WxPython versus Tkinter.

2011-01-25 Thread Littlefield, Tyler
>What do you think Emile? I think that that starts with you. You want to be more accepting when it comes to you, but you've had no problems calling people an idiot and otherwise insulting them just as you are complaining about. On 1/25/2011 6:07 PM, rantingrick wrote: On Jan 25, 6:55 pm, Emile

Re: WxPython versus Tkinter.

2011-01-26 Thread Littlefield, Tyler
>I don't know why you didn't say this before. Comprehention, Octavian. I've made that point multiple times, but your to stuck on talking about how selfish people are. >The other part of the discussion is related to the accessibility and care for >accessibility and that discussion is not nice at

Re: WxPython versus Tkinter.

2011-01-26 Thread Littlefield, Tyler
lots of end-users are migrating to Window Eyes, NVDA or OSX because of the fact that it is both cheaper and NVDA is open source, not to mention free. Just because Jaws -was- most used and -you- use it, doesn't mean it still remains so. On 1/26/2011 8:26 AM, Octavian Rasnita wrote: From:

Re: WxPython versus Tkinter.

2011-01-26 Thread Littlefield, Tyler
its so called JAWS cursor, it offers a poor accessibility in many applications and many other issues. You are wrong, on all accounts. On 1/26/2011 10:04 AM, Octavian Rasnita wrote: From: "Littlefield, Tyler" with JAWS because it is the most used screen reader. Get off your me soap

Re: WxPython versus Tkinter.

2011-01-26 Thread Littlefield, Tyler
>Stephen "Strawman" Hansen: If he only had a brain! And you want -us- to take -you- seriously? Tell me, what did you accomplish with that insult? Beyond elevating your own ego and trolling some more, anyway. On 1/26/2011 1:37 PM, rantingrick wrote: On Jan 26, 2:07 pm, Stephen Hansen wrote:

Re: WxPython versus Tkinter.

2011-01-26 Thread Littlefield, Tyler
>I don't want to convince anyone, but I just want to inform the others and let >them know if they are doing something not recommended. not recommended by -you-, which is different than by a community or the subset of people you are attempting to represent. furthermore, your attidude is that of "

Re: WxPython versus Tkinter.

2011-01-27 Thread Littlefield, Tyler
>but what's wrong is that Python promotes a GUI which is not accessible by including it as a default GUI. You seem to have overlooked this multiple times and instead decided to shove words in my mouth and continue on your line of selfishness which is justified apparently now by the fact that you

Re: WxPython versus Tkinter.

2011-01-27 Thread Littlefield, Tyler
Eloq is an add-on, but it does support it. >but only eSpeak which sounds horrible That's your personal preference. Plenty use and like ESpeak. >it doesn't have a scripting language ready to use as JAWS and Window Eyes do, Scripting is done in Python, (no, not some native scripting language), and

Re: WxPython versus Tkinter.

2011-01-27 Thread Littlefield, Tyler
snita wrote: From: "Littlefield, Tyler" >I don't want to convince anyone, but I just want to inform the others and let >them know if they are doing something not recommended. not recommended by -you-, which is different than by a community or the subset of people you are atte

Re: WxPython versus Tkinter.

2011-01-27 Thread Littlefield, Tyler
that it appears on google says a lot. At least to me, maybe it's something you haven't been able to comprehend. On 1/27/2011 10:22 AM, Octavian Rasnita wrote: From: "Littlefield, Tyler" It doesn't support a good voice synthesizer like Eloquence or IBM Via voice Eloq i

  1   2   >