Re: Newbie

2006-02-12 Thread mcbooczech
For me (I am newbie as well) was following link very useful: http://benyoonline.com/pqr/PQR2.4.html Good luck with Python Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list

Re: Dealing with Excel

2005-10-18 Thread McBooCzech
Robert Sorry I was not more clear in my posting. I am solving similar problem as you are. 1) I am getting my data from the Firebird SQL database - directly, using SQL commands (kinterbasdb module), not using ODBC, or ADODB or what ever - some people here can suggest you how to connect directly to

Re: Dealing with Excel

2005-10-18 Thread McBooCzech
Robert Hicks wrote: > I need to pull data out of Oracle and stuff it into an Excel > spreadsheet. What modules have you used to interface with Excel and > would you recommend it? It is possible to control Excel directly from the Python code (you do not need to write Excel macros within the Excel).

Re: Example of signaling and creating a python daemon

2005-09-15 Thread McBooCzech
--snip-- > I have no experience daemonizing a script so this help would be much > appreciated. I have found a couple of scripts googling on creating a > deemon but not work in this way. > > Regards, > David Hi, maybe this two link can help: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe

Re: micro-python - is it possible?

2005-08-30 Thread McBooCzech
Check Lua programing language. Maybe this can fit your requirements. HTH Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list

Re: time.mktime problem

2005-08-30 Thread McBooCzech
according to the Python documentation: http://docs.python.org/lib/module-time.html ===snip=== Values 100-1899 are always illegal. . . strptime(string[, format]) . . The default values used to fill in any missing data are: (1900, 1, 1, 0, 0, 0, 0, 1, -1) ===snip=== BTW, check the following code: >

time.mktime problem

2005-08-30 Thread McBooCzech
Hi, on Linux (Fedora FC4) and Python 2.4.1 I am trying to know the time delta in seconds between two times given in the HHMMSS format. My code looks like: import datetime, time ta1=(time.strptime('01', '%H%M%S')) ta2=(time.strptime('230344', '%H%M%S')) t1=time.mktime(ta1) t2=time.mktime(ta2) p

Re: py-serial + CSV

2005-08-29 Thread McBooCzech
Thanks you all, guys, for your suggestions and help. Everything now works great :) Regards Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list

Re: py-serial + CSV

2005-08-23 Thread McBooCzech
Sergei, I do not realy understand your comment??? Am I missing something? BTW, is there some possibility to address lists like: print words [1; 3; 5] instead of print words[1], words[3], words[5] Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list

Re: py-serial + CSV

2005-08-23 Thread McBooCzech
Sorry, I did not mentioned the data flow from the serial port is permanent/continuous (as long as the GPS receiver is connected to the serial port). The input data are commning every second, they are comma separated and they are looking like: $GPGGA,174525.617,5026.1080,N,01521.6724,E,1,05,1.8,306

Re: py-serial + CSV

2005-08-23 Thread McBooCzech
So do I have to save to the file first and analyze later on? Or there is an other way how to process it (read from the serial and analyze data) on the fly? Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list

py-serial + CSV

2005-08-23 Thread McBooCzech
Hi I am just trying to analyze (parse) data from the serial port (I have connected GPS receiver to the ttyS0, so I can read ASCII characters in the CSV form on the serial port 1). I am doing this just to understand how Python works (yes, you can call me Python/Linux newbie :) My environment is Fedo

Re: Point and click GUI builder for Python

2005-08-10 Thread McBooCzech
Don't forget Eric3 + PyQt + Qt designer? I think they are great tools. -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess.call(*args **kwargs) on Linux

2005-06-21 Thread McBooCzech
Thanks a lot :) Petr -- http://mail.python.org/mailman/listinfo/python-list

subprocess.call(*args **kwargs) on Linux

2005-06-20 Thread McBooCzech
Hi all, I am trying to use subprocess module on Linux/Python-2.4.1, but I can't dig throught. I need to call executable which needs two parameters to be ginven (the serial port and the file name). It looks like /root/dex/dex /dev/ttyS0 blabla.txt in the shell. This is easy. Subprocess function "

Re: New WYSIWYG Python IDE in the works

2005-06-16 Thread McBooCzech
sorry for bothering you with my comment. From my point of view, the situation on the IDE (GUI??) development field for Python is really strange. Just try to imagine the same situation around the Python. Plenty of different approaches, versions, philosophies etc. Why people they really know the ways

Re: just learning eric ide

2005-06-13 Thread McBooCzech
Try this: http://www.pycs.net/lateral/stories/16.html HTH Petr -- http://mail.python.org/mailman/listinfo/python-list

Re: how to operate the excel by python?

2005-06-13 Thread McBooCzech
> i want to compare the content in excel,but i don't know whick module to use! > can you help me? Read "Python programming on Win32" book, use win32api module. According to Chad's advices about Excel (VBA) constants, you can find following link usefull as well. http://fox.wikis.com/wc.dll?Wiki~Exce

Olympus R1000 Linux, Qtopia, PyQt and Python

2005-05-08 Thread McBooCzech
Is here anybody who has practical experiences with programing Olympus R1000 hand-held (Linux OS) using Qtopia, PyQt and Python? If yes, can you share your experiences? I am intending to use this platform, but I would like to know if the device is mature enough and if Qtopia, PyQt and Python works

Re: Fuzzy matching of postal addresses

2005-02-19 Thread McBooCzech
Sorry for my "Ferbl typo". For the local anti-smoking campaign I am trying to link some addresses which contain following "linkable" informations (data fields) only: RECORD_ID, Street + No., City, Post code, All data are now w/o Unicode characters. Do you think it possible to try to link it with

Re: Fuzzy matching of postal addresses

2005-02-17 Thread McBooCzech
Tim, do you think Ferbel can parse properly with non English data-sets? I mean do you think it will work properly with data they include non English characters as well? As we live in Europe, we have to solve such a problems here : If the software needs some changes, I am ready, according to yo

Re: Considering python - have a few questions.

2005-02-14 Thread McBooCzech
Sorry, I have forgotten to mention binding for Firebird to Python: kinterbasdb http://kinterbasdb.sourceforge.net/ Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list

Re: Considering python - have a few questions.

2005-02-14 Thread McBooCzech
I am trying to find answers to the similar problem for nearly two months. After this time it looks for me like this: language: Python 2.3 or 2.4 IDE: Eric3 GUI toolkit: Qt (commercial but free under GPL for Linux and Mac) http://www.trolltech.com/products/qt/index.html (version 4 will be release

Re: how to generate SQL SELECT pivot table string

2005-02-04 Thread McBooCzech
Tahnks a lot. Michalels sequence works flawlessly. And it is really elegant :) John Machin wrote: >A few quick silly questions: >Have you read the Python tutorial? >Do you read this newsgroup (other than answers to your own questions)? >Could you have done this yourself in a language other than Py

Re: how to generate SQL SELECT pivot table string

2005-02-03 Thread McBooCzech
Thanks for your comment but I am NOT looking for the answer to the question: "Which SQL command will return requested pivot table"(anyway it will be an OFF TOPIC question here). My SQL SELECT statement works fine with Firebird 1.5! What I am looking how to generate this SELECT using Python. Anyway

how to generate SQL SELECT pivot table string

2005-02-03 Thread McBooCzech
s: WEEK, Y_03, Y_04 Can anyone help and give me a hand or just direct me, how to write a code which will generate SELECT string depending on the data stored in the database as I described? Thanks Petr McBooCzech -- http://mail.python.org/mailman/listinfo/python-list

Re: script to automate GUI application (newbie)

2005-01-18 Thread McBooCzech
Try following scripting language to automating Windows GUI, it simulates keystrokes (supports most keyboard layouts), simulates mouse movements and clicks and does tons of other stuff: http://www.hiddensoft.com/autoit3/ It works nicely for me. -- http://mail.python.org/mailman/listinfo/python-l

Re: Old Paranoia Game in Python

2005-01-10 Thread McBooCzech
Newbie in Python. I did copy the whole script form the web and save it as para1.py. I did download pyparsing module and save it to C:\\Python23\\Lib\\pyparsing122. I did run following script: import sys sys.path.append('C:\\Python23\\Lib\\pyparsing122') from pyparsing import * extraLineBreak = Wh

Re: Best GUI for small-scale accounting app?

2004-12-25 Thread McBooCzech
Sorry to bother, but I didn't find the final answer to the question what is the "Best GUI for small-scale accounting app"? I am the newbie in Python, so I am trying to find some "usable" GUI as well. But it looks to me there is a lot developers, beta-versions, tools etc. I have spent a lot of time

sources for DOS-16bit

2004-12-10 Thread McBooCzech
Hi all, before I decided to bother you by e-mail, I spent days (not kidding) searching on the Internet. I am looking for Python binaries for DOS-16bit Not for Win-16bit or DOS-32 which are the only DOS availabele sources on Python official site and on the other sites as well!!! I will prefere