Cant find sorcecode

2021-06-14 Thread Madden
Hi so I've been trying to find my sorcecode files so I can 7zip them to get to the ovl_tool_gui so I can add mods but I haven't been able to find them could you help? Sent from [1]Mail for Windows 10 References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=5

Re: Newbie: Check first two non-whitespace characters

2015-12-31 Thread Cory Madden
I would personally use re here. test_string = ' [{blah blah blah' matches = re.findall(r'[^\s]', t) result = ''.join(matches)[:2] >> '[{' On Thu, Dec 31, 2015 at 10:18 AM, wrote: > I need to check a string over which I have no control for the first 2 > non-white space characters (which should

Re: I hate you all

2013-04-07 Thread Timothy Madden
make tabs work the way they used to would have been nice. Just my opinion, I do see other people here think otherwise... Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-07 Thread Timothy Madden
rice to be paid for relying solely on white space to delimit code blocks, like the python syntax does. And in actual practice, that has been shown to be a Good Thing. Yes, I agree, it is. It just could have been better. Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-06 Thread Timothy Madden
On 06.04.2013 17:20, Chris Angelico wrote: On Sun, Apr 7, 2013 at 12:52 AM, Nobody wrote: Historically, software and hardware which assigns a meaning to a tab character has come in two flavours: 1. Tab stops are every 8 columns; this cannot be changed. 2. Tab stops are configurable, defaulting

Re: I hate you all

2013-04-06 Thread Timothy Madden
will run all code written for the new "python 3 way", and brings back some compatibility, so it is not that bad. And some people might actually want it. Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-06 Thread Timothy Madden
when they no longer have a choice they used to have. But I hear programmers should get used to the feeling: using code that you did not write is bound to trigger that reaction every so often. Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-06 Thread Timothy Madden
On 06.04.2013 08:53, Ian Kelly wrote: On Fri, Apr 5, 2013 at 11:07 PM, Timothy Madden wrote: [...] So in other words, everybody must be forced to use 8-character tabs because you want to be able to mix tabs and spaces. People say I can use tabs all the way, just set them to the indent I

Re: I hate you all

2013-04-05 Thread Timothy Madden
he python syntax does. Thank you, Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-05 Thread Timothy Madden
is too much), or - drop tabs altogether The new rules may look flexible at first sight, but the net effect they have is they push me to use non-default tab size (which is not good), or drop the tabs, which I could have used before python 3 just fine. Thank you, Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

How to write a language parser ?

2013-02-22 Thread Timothy Madden
parsers you have used for complete languages ? Thank you, Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugging with gdb: pystack macro for gdb to show python stack trace

2009-09-17 Thread Timothy Madden
Timothy Madden wrote: Hello [...] Can I get the python stack trace working under gdb ? [...] Ok I found some other gdb macros on linked from the wiki page and I had to change them to get the stack trace work. I had to change the symbol PyEval_EvalFrame to PyEval_EvalFrameEx and then I

Debugging with gdb: pystack macro for gdb to show python stack trace

2009-09-16 Thread Timothy Madden
, Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing a thread-safe class

2009-09-12 Thread Timothy Madden
bal Interpreter Lock, or [...] I find that hard to believe, but I will look into it. Thank you, Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Writing a thread-safe class

2009-09-11 Thread Timothy Madden
attribute, or deletes one, in the same time with my lookup for self.lock, than the lookup is compromised. How do people create thread-safe classes in python ? Thank you, Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: Is "#!/usr/bin/env python" the better shebang line ?

2009-09-06 Thread Timothy Madden
Ned Deily wrote: In article <4aa3bfdf$0$282$14726...@news.sunsite.dk>, Timothy Madden wrote: My questions is if I should use #!/usr/bin/env python as the shebang line in a portable and open python script and if it does help with portability and usage. This question came up recen

How to debug a forked process with pdb ?

2009-09-06 Thread Timothy Madden
. Thank you, Timothy Madden --- #!/usr/bin/env python import sys, os, signal, time from pikantBlueServer import PIDFile as PIDFile, pid_file as pid_file serverRunning = False def serverRunningSignal(usrSignal, stackFrame): global serverRunning if (usrSignal == signal.SIGUSR1

Re: How to access ODBC databases ?

2009-09-06 Thread Timothy Madden
Martin P. Hellwig wrote: Timothy Madden wrote: [...] It has been a couple of years, but I remember vaguely that back in the days of PossgreSQL 6, if you want ODBC support you needed to compile PG a bit different then normal, I am not really sure what options those where and if this still

Is "#!/usr/bin/env python" the better shebang line ?

2009-09-06 Thread Timothy Madden
/env ? Thank you Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: How to refer to data files without hardcoding paths?

2009-09-06 Thread Timothy Madden
load icons from its various subdirectories. Still I would like to know why it works in imported scripts, since the doc page says sys.path[0] is the path to the script that caused the interpreter to launch. What would that mean ? Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list

Re: How to access ODBC databases ?

2009-09-05 Thread Timothy Madden
Martin P. Hellwig wrote: Timothy Madden wrote: Martin P. Hellwig wrote: Timothy Madden wrote: >>> conn = pyodbc.connect('DRIVER={PostgreSQL Unicode};Servername=127.0.0.1;UID=pikantBlue;Database=pikantBlue') Traceback (most recent call last): File "", lin

Re: How to access ODBC databases ?

2009-09-04 Thread Timothy Madden
Martin P. Hellwig wrote: Timothy Madden wrote: >>> conn = pyodbc.connect('DRIVER={PostgreSQL Unicode};Servername=127.0.0.1;UID=pikantBlue;Database=pikantBlue') Traceback (most recent call last): File "", line 1, in pyodbc.Error: ('0', '[0]

How to access ODBC databases ?

2009-09-04 Thread Timothy Madden
*pyodb* module, which is another module for ODBC access, but pyodb does not have query parameters and all the functions in the DB api, it is only meant the be a simple way to acccess ODBC. Do you know why my *pyodbc* module would not connect, when others will ? Do you know other modules to use O

Re: python3 module for dbus ?

2009-05-21 Thread Timothy Madden
Aahz wrote: In article <4a1281ef$0$90271$14726...@news.sunsite.dk>, Timothy Madden wrote: [...] Do you know if I can get dbus bindings for python3 and glib bindings for python3 ? Or could I use them otherwise (like without the modules) ? Sorry, no answers to your questions off-han

python3 module for dbus ?

2009-05-19 Thread Timothy Madden
bindings for python3 and glib bindings for python3 ? Or could I use them otherwise (like without the modules) ? Thank you Timothy Madden -- http://mail.python.org/mailman/listinfo/python-list