Re: Sourcing Python Developers

2007-01-29 Thread Kartic
Paul Rubin sayeth, on 01/29/2007 03:44 PM: > Kartic <[EMAIL PROTECTED]> writes: >> In any case, we have immediate requirements for a Pythonista with C++, >> MySQL, XML, Debian expertise. Please email resume to: > > Generally it's ok to post here to the newsgr

Re: Sourcing Python Developers

2007-01-29 Thread Kartic
Current requirements in US only. Kartic sayeth, on 01/29/2007 01:56 PM: > Hello, > > My company has quite a few opening involving python expertise. We are > always looking for python resources (and find it difficult filling these > positions, might I add). Is there an

Sourcing Python Developers

2007-01-29 Thread Kartic
y one knows of a resume repository (other than Monster, Dice, Costs-an-arm-and-leg job site) please share. In any case, we have immediate requirements for a Pythonista with C++, MySQL, XML, Debian expertise. Please email resume to: python-resumes(at)temporaryforwarding.com Thank you, --K

Re: Any python based "Live Web Chat Support"

2007-01-12 Thread Kartic
ich you can customize. --Kartic -- http://mail.python.org/mailman/listinfo/python-list

[OT] Exciting Job Opporunity : Python and Configuration Management

2006-08-09 Thread Kartic
Hello, We are looking for an experienced configuration management engineer for a client based in Cincinnati, Ohio. Below is a summary of the job. Kindly email resumes to email address shown below. Thank you, --Kartic Job Title: Configuration Management Engineer Job Reference: OHCM Job

Re: html source

2006-02-14 Thread Kartic
the user-agent. Thanks, --Kartic The Great 'Steve Holden' uttered these words on 2/13/2006 4:53 PM: > Steve Young wrote: > >> Hi, I was wondering why when I use urllib2.build_opener().open(url), >> it doesn't give me the same thing as if I would just click on v

Re: FTP status problems. (Again)

2005-09-17 Thread Kartic
t name: filename = "/FrenchBrochure.pages.zip" target = "FrenchBrochure.pages.zip" ftp.storbinary("STOR " + target, ProgressFile(filename, "rb"), 1024) Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: FTP status problems. (Again)

2005-09-17 Thread Kartic
Hello, > file = "/FrenchBrochure.pages.zip" > ftp.storbinary("STOR " + file, ProgressFile(file, "rb"), 1024) You are using file = "/FrenchBrochure.pages.zip" (sorry I did not notice earlier). You can not use file as variable name like you have, as it represents a file object in pyt

Re: FTP status problems. (Again)

2005-09-17 Thread Kartic
ftp = ftplib.FTP("ftp.sadpanda.cjb.cc") ftp.login("sadpanda","s4dp4nd4b1g") file = "/FrenchBrochure.pages.zip.gz" ftp.storbinary("STOR " + file, ProgressFile(file, "rb"), 1024) ftp.quit() Thanks, -K

Re: Problems with Python for Windows extensions

2005-09-07 Thread Kartic
The Great 'KK' uttered these words on 9/7/2005 7:57 AM: > Hello, > I guess you could reproduce my problem, Kartic. I have tried the one u > suggested, but sadly it didn't work for me. I think the COM of pywin is > quite tricky, or it might be a bug. I have some friends w

Re: Python compiled?

2005-09-05 Thread Kartic
programs into .exe files that can be executed on any Win32 machine. So you can develop the code using the python interpreter and deploy it using either of these. I have used py2exe and nsis installer to create setup versions of my applications and it deployment is really smooth, just like any c

Re: Problems with Python for Windows extensions

2005-09-04 Thread Kartic
False, False) This finds 'Contosa' and replaces all occurances with 'Fabricam'. For a full explanation about the arguments to Execute, look it up in the VBA Help. Thanks, -Kartic The Great 'KK' uttered these words on 9/3/2005 11:14 AM: > the code below is taken

Re: Access lotus notes using Python

2005-05-23 Thread Kartic
The Great 'Michael Ströder' uttered these words on 5/23/2005 2:43 PM: > Kartic wrote: > >>The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM: >> >> >>>Is it possible to access Lotus notes using Python? Can anyone provide me >>

Re: Access lotus notes using Python

2005-05-23 Thread Kartic
rt the Perl-win32 examples to Python rather easily without knowing much perl. Cheers, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: reg mail sending without smtp module

2005-05-11 Thread Kartic
eiving server resolves it correctly. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: is there a python object which can interpret java-script?

2005-05-09 Thread Kartic
(Or if you can use win32all, you can automate IE to view source and process that source in Python to get your URL) Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How close program in the wxPython?

2005-05-02 Thread Kartic
ion #and destroy frame self.Destroy() app = wx.PySimpleApp() frame = MainFrame(None, -1, "Test Close Event", (-1,-1), (-1,-1)) app.MainLoop() -- Hope that helped. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: [newbie] Embedding Flash OCX object

2005-04-30 Thread Kartic
The Great 'Exeem' uttered these words on 4/30/2005 11:37 AM: Kartic, Thanks for your reply, I already use the wxPython to embbed my flash animation ### from wxPython.lib.activexwrapper import MakeActiveXClass ActiveXWrapper = MakeActiveXClass(flashActiveXLib.ShockwaveFlash, event

Re: [newbie] Embedding Flash OCX object

2005-04-30 Thread Kartic
ng flash player on Windows. And it is pretty nifty; take a look at the demo. From your message, it is appears you are using win32gui functions but I am unable to tell. So using Win32, I do not know how you can do what you are trying. But yeah, look into wxPython! Please let me know if you ne

Re: why "import wx" doesn't work?

2005-04-28 Thread Kartic
The Great 'monkey' uttered these words on 4/28/2005 5:50 PM: Which version of wxPython are you running? What do you mean by "does not work"...does the import fail or is your code giving errors? It is the current new version 2.6. The error message said that the class wxApp is not defined... But whe

Re: why "import wx" doesn't work?

2005-04-28 Thread Kartic
True) app = wxPySimpleApp() frame = MainFrame(None, -1, "Test Wx Old Style") app.MainLoop() --- END The old style import Hope that helped! Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: OOP

2005-04-28 Thread Kartic
p of it. Does anyone know of a good resource that could possibly put things in focus for me? Thanks. I thought the Object Orientation chapter (Chapter 5) of Python in a Nutshell by Alex Martelli, gave a good overview for Classes in Python. Please take a peek at it and see if it helps you any.

Re: why "import wx" doesn't work?

2005-04-28 Thread Kartic
The Great 'monkey' uttered these words on 4/28/2005 2:09 PM: I just learn to make a blank windows frame with python and wxpython. I found the statment "import wx" cannot work as the original "from wxPython.wx import *". I see in the readme file of wxpython that if I install it as the default one, I

Re: App suggestion please: blog / forum software in Python

2005-04-26 Thread Kartic
e rather straight forward. You can probably proxy requests to the blog piece to the Snakelets process, while the rest of your site is served by CherryPY. Googling "Python Web Logging Application" brought up http://www.kryogenix.org/code/vellum/ as well. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Parsing data from URL

2005-04-25 Thread Kartic
will help you. I am just sending the URL that I believe is relevant to you. You may want to read the entire chapter if you are interested. http://diveintopython.org/http_web_services/redirects.html (Dive into Python's Chapter 11.7. Handling redirects) Thanks, -Kartic -- http://mail.python.or

Re: web based file manager in python

2005-04-25 Thread Kartic
python web-based FM: http://snakelets.sourceforge.net/filemgr/index.html It is by Irmen De Jong, the author of Snakelets. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Decent Win32All Documentation

2005-04-24 Thread Kartic
I do is import win32process, dir(win32process), pick out a function and google it; the first couple of matches are usually the MSDN documentation for that function. The left bar on the MSDN page lists all the functions in the process API, so you can get click happy and read away. HTH,

Re: GUI woes

2005-04-23 Thread Kartic
def __init__(self, parent, id, title, pos, size, style): wx.Frame.__init__(self, parent, id, title, pos, size, style) self.Bind(wx.EVT_SIZE, self.OnSize) self.Show(True) Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: permission

2005-04-13 Thread Kartic
/lib/os-file-dir.html for more info. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to distinguish between system environment variables and the user ones?

2005-04-05 Thread Kartic
ironment 3. Lookup the environment variables present in the list (Item 1) that appear as string values under HKCU\Environment. 4. The intersecting list belongs to the user, the rest can be surmised as belonging to the system environment. Thanks, --Kartic -- http://mail.python.org/mailman/listi

ANN : Columbus OH Meetup Group

2005-04-05 Thread Kartic
Announcing the creation of a Columbus/Dublin Ohio Meetup group. http://python.meetup.com/161/ Hope to see Pythonistas from the Columbus/Dublin areas, and vicinity, sign up for this group and enrich our collective Python experience! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo

Re: enter key event in wxpython

2005-03-01 Thread Kartic
to do this? so that when i press enter key, The key id or the event to be handled. Help me pls. Take a look at the KeyEvents demo code under Processes and Events of the wxPython Demo application. In a nutshell, you have to handle the KEY_DOWN and KEY_UP events for the window. Thanks, -Kartic

Re: cannot open file in write mode, no such file or directory

2005-02-28 Thread Kartic
Could you please post your entire program, if possible? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: cannot open file in write mode, no such file or directory

2005-02-28 Thread Kartic
ename and that filename probably contains characters not allowed by the local file system OR you generate a path that does not exist. For open() to work with the 'w' flag, the path where the file you say should be created should exist. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Controlling Pc From Server?

2005-02-27 Thread Kartic
Kartic said the following on 2/27/2005 8:54 AM: For a homegrown solution, if I am not mistaken, you will have to use libpcap (or pypcap) to monitor the packets being sent and received, taking care to exclude the local subnet (or your reporting will be skewed as packets sent to the monitoring

Re: Controlling Pc From Server?

2005-02-27 Thread Kartic
[EMAIL PROTECTED] said the following on 2/27/2005 8:40 AM: Hello Kartic & NG, Thank you for your prompt answer. In effect, I'm trying to work on a NT network of 6 PC (plus the server). Sorry to not have been clearer. Ideally, I'm trying to monitor the Internet activity of each

Re: Controlling Pc From Server?

2005-02-27 Thread Kartic
d PCs). Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: how to use property

2005-02-25 Thread Kartic
BYou probably meant self.channel = choice (B (BAlso, there is a problem in your posted version. You have not defined (Bvolume before usage. So I added it to __init__(..,.., volume=120) to (Bmake it work. (B (BCheers, (B-Kartic (B-- (Bhttp://mail.python.org/mailman/listinfo/python-list

Re: wxpython tutorials

2005-02-25 Thread Kartic
. It is geared towards the wxWidget C++ library but the information can be used to build wxPython apps rather easily. The Help also annotates differences between the C++ class and wxPython (and wxPerl) usage where approporiate. Have fun! -Kartic -- http://mail.python.org/mailman/listinfo/python

Re: Python Online Programming Contest

2005-02-24 Thread Kartic
Harlin Seritt said the following on 2/24/2005 8:30 PM: Actually MIT is an abbreviation and not an acronym in the true sense of the word :) Yes...I was caught unawares by the previous poster. But in a strange way I was using the abbreviation MIT to talk about the acronym MIT (M* Institute of Tech

Re: Python Online Programming Contest

2005-02-24 Thread Kartic
Will Stuyvesant said the following on 2/24/2005 5:10 PM: [Varun] For details about samhita http://www.samhita.info/ "The Madras Institute of Technology (MIT)" it says there. The MIT acronym is taken already guys.. Will - It is a local acronym! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Modules for Various Internet Protocols?

2005-02-24 Thread Kartic
Efrat Regev wrote: > Hello, > > I was wondering whether there are any Python modules for various > Internet protocols, e.g., is there something similar to > Erfat...yes...batteries included! http://docs.python.org/lib/internet.html Thanks, -Kartic -- http://mail.pyt

Re: Working FTP server based on Twisted framework.

2005-02-24 Thread Kartic
http://twisted.sourceforge.net/TwistedDocs-1.1.0/man/mktap-man.html (ftp is explained) If you have no reason to use Twisted, may be you can take a look at http://www.mythi.cx/python/pyFTPdrop.py but this is for UNIXish operating systems. HTH! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: email-adress

2005-02-24 Thread Kartic
can choose whether or not to receive emails). Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: reading only new messages in imaplib

2005-02-23 Thread Kartic
*'-' conn.close() Please also go thru the IMAP RFC to learn more about the flags field and the IMAP protocol in general. If you're developing something serious using IMAP, it will be very beneficial to you to understand the protocol. http://www.imap.org/papers/biblio.html Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: searching pdf files for certain info

2005-02-22 Thread Kartic
. You can download for your OS from: http://www.foolabs.com/xpdf/download.html Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with tutor mailing

2005-02-16 Thread Kartic
mail delivery completely, but that means you will not get any answers related to your questions either. Believe me, it is not a bad idea or an inconvenience to receive other emails on the list; you will learn a thing or two! Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Using 'in' with a Dict

2005-02-16 Thread Kartic
>>> exec(exec2) sweet >>> exec(exec1) sweet >>> exec1.co_varnames ('m',) >>> exec2.co_varnames ('m', 'has_key') >>> The code generated with the has_key() version is slightly large (3 bytes) than the one with the membership test. The co_varnames for the two code objects vary, as the second one has the has_key method also, which the other version does not. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with tutor mailing

2005-02-16 Thread Kartic
ou will get a lot of other ideas from the other fine people on this list. HTH! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: win32 extension install hiccup

2005-02-13 Thread Kartic
MM said the following on 2/13/2005 4:50 PM: Hi, I downloaded the latest win32all build 202 and tried to install under win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run script pywin32-preinstall.py'. I checked the directories and there was no sign of this file (preinstall.py

Re: Trouble using telentlib

2005-02-12 Thread Kartic
uot;) tn.write("tail -f /tmp/logfile.txt\n") telnet_resp.append(tn.read_until("$ ")) tn.write("exit\n") telnet_resp.append(tn.read_all() ) tn.close() telnet_out = open(OUTPUT, 'a') telnet_out.write('\n'.join(telnet_resp)) telnet_out.close() Alternatively, if your box has FTP access, you can FTP the log file to a CStringIO file and operate on it. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python UPS / FedEx Shipping Module

2005-02-12 Thread Kartic
ch to download. Thanks! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Help: retrieving e-mail from yahoo pop server. what's wrong?

2005-02-09 Thread Kartic
Andre said the following on 2/9/2005 7:28 PM: Thank, Kartic I actually tried doing it with several other accounts, notably mail.com and netscape.com When i do it with netscape the dialog goes like the following: The username and password are naturally valid, but something else is wrong. Do you

Re: Help: retrieving e-mail from yahoo pop server. what's wrong?

2005-02-09 Thread Kartic
work? Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and version control

2005-02-09 Thread Kartic
I use PVCS for version control and use IDLE or Vim (depending on my mood :-)) to write the programs. So far I have had no issues, works pretty well. Somehow, and it is just me, I don't care much for version control integrated with the IDE. Thanks, -Kartic -- http://mail.python.org/ma

Re: Python mail filter

2005-02-08 Thread Kartic
I just read your requirement of a pass through... Writing the email back into sys.stdout from your script might do the trick of passing it through to the original intended recipient. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python mail filter

2005-02-08 Thread Kartic
process and also receive the email into a user account, you have to list the recipients in your .forward file. If you want to process the email through your script and _then_ send it to a user, I think the only way would be to send the email from your script to next intended recipient. Thank you, -

Re: python connect to server using SSH protocol

2005-02-08 Thread Kartic
urse, you have the usual popen() functions that you can use to invoke SSH. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Kartic
ules that my app uses. I don't know if any other option is possible. Do my stated options cover the possibilities and if so, which of these are the correct legal one that I would follow? Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: socket question

2005-02-07 Thread Kartic
tside? That is the only possibility I can think of that prevents a non-local client from connecting. Also, please do a netstat -a on the machine running the server and see the IP addresses to which the listening port is bound. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python versus Perl ?

2005-02-06 Thread Kartic
hat you asked this question as part of due diligence. These are the factors I can point out. If I have missed something or misquoted, gurus out there can correct me. Hope that helped! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Possibly OT: Controlling winamp with Python

2005-02-04 Thread Kartic
Winamp plugin that would achieve this for you? Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie: Syntax error

2005-02-04 Thread Kartic
hould use 'elif' for subsequent conditions after 'if'.) Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting strings to dates

2005-02-04 Thread Kartic
py> import time py> date_str = time.strftime('%Y-%m-%d', time.localtime()) py> date_str '2005-02-04' py> time.strptime(date_str, '%Y-%m-%d') (2005, 2, 4, 0, 0, 0, 4, 35, -1) That work? -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread in python

2005-02-04 Thread Kartic
Ah! I forgot about this link the slideshow is very informative. -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread in python

2005-02-04 Thread Kartic
arted. Also, there are good recipes in ASPN - http://aspn.activestate.com/ASPN/Cookbook/Python?kwd=Threads And last but not least, the chapter on Threads in Python Standard Library by Fredrik Lundh - http://effbot.org/zone/books.htm Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Kartic
HTML tables. And with CSS, since you style the various HTML tags, you can create different "skins" for your site too. This is definitely OT, like you said, but if you are interested, please contact me directly. I don't pretend to be a CSS expert but I can help you as much as I can. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-03 Thread Kartic
or the layout kill the browser. CSS is the way to go. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE history, Python IDE, and Interactive Python with Vim

2005-02-03 Thread Kartic
s pdb if debug is on. IPython is nifty but I am just getting a feel for it. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: errors

2005-02-03 Thread Kartic
e). It might also do you some good to join mod_python mailing list if you are going to use it regularly. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding user's home dir

2005-02-02 Thread Kartic
ms and tell me what you got? I'd like to know what it returns on different operating systems because I'm developing a multiplatform software. Thank you all. Neat! Works fine on Freebsd 5.3, Python 2.4 Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
allocate your list. iMatrix = [''] * size # where size is an integer and this will give you a list of size empty elements. If you do this, do not use iMatrix.append(). Use the array notation like you have in you code currently. Thanks -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
Tom, It has to be iMatrix.append(k), not iMatrix[index] = k. Python will give an error - list assignment index out of range - for that. Just curious - what book are you following? -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
and it is called a "List" in Python parlance. -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
ted. http://docs.python.org/tut/tut.html Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Building Python with Tcl/Tk on Cygwin_NT-5.1

2005-02-01 Thread Kartic
tock Python install that comes with Cygwin; it is tkinter enabled and works just fine? (unless you have a compelling reason to install from source) Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Suggesion for an undergrad final year project in Python

2005-02-01 Thread Kartic
within for answers :-) That way you will reinforce your theory and learn Python as well. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: "Mail receiver server"

2005-01-31 Thread Kartic
em object if subject.startswith('reboot'): os.system('shutdown -r') # reboot the Server For more information, please read the email module in the Python Module Docs. Hope that will help you get started! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with loading textfiles into dictionaries.

2005-01-30 Thread Kartic
Kartic said the following on 1/30/2005 8:21 PM: [EMAIL PROTECTED] said the following on 1/30/2005 7:43 PM: Hi - It looks like your code encountered a blank line when you got this error. You should move "if len(siteline) == 0" part right after your readline. The way you have done it r

Re: Problem with loading textfiles into dictionaries.

2005-01-30 Thread Kartic
itefile = file('sitelist', 'r+', 1) while True: siteline = sitefile.readline() if len(siteline) == 0: break site_rawlist = siteline.split() sitelist[site_rawlist[0]] = site_rawlist[1:] Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: An mysql-python tutorial?

2005-01-28 Thread Kartic
ages at IBM.com but I dont know if they have articles covering mysql. HTH! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with win32net on Windows 2K

2005-01-27 Thread Kartic
hon24\Lib\site-packages\wi n32;C:\Python24\Lib\site-packages\win32\lib;C:\Python24\Lib\site-packages\Python win;C:\WorkArea\Python / Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.Image: Couldn't add an image to the image list.

2005-01-26 Thread Kartic
for you. Thank you, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Help With Python

2005-01-26 Thread Kartic
t;Spam, " * 115)] Since you are starting off, please read and follow the tuturial that available with your Python installation or on the Python.org site at http://docs.python.org/tut/tut.html Thank you, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: import hook, overwrite import?

2005-01-26 Thread Kartic
accessing the import internals. There is also a simple example in this section. Is this is what you are looking for? Thanks, --Kartic PS: This about how much I know...the more I find out, I will share :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: FTP Server

2005-01-26 Thread Kartic
simpler but not asynchronous, I found this at the Vault called pyFTPDrop, which is aimed at *NIX. http://www.mythi.cx/python/pyFTPdrop.py / Thank you, --Kartic PS: I am sure Medusa is fairly straightforward too, but I have no experience with it. -- http://mail.python.org/mailman/listinfo/python

Re: Import from database

2005-01-25 Thread Kartic
Steve, Hmmm... Yes, I see what you are saying. Could you post your create table statement so that I can create a db and play around with dbimport? Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Import from database

2005-01-24 Thread Kartic
imported) Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Tarfile module error

2005-01-21 Thread Kartic
27; >>> NewBackupFilename 'c:skpdc01Backups\\2005-01-21 12-26-21.373000.tar.bz2' >>> TarFileBackup = tarfile.open(NewBackupFilename, 'w:bz2') >>> # Works! I changed your DirBackup to 'C:\skpdc01\Backups' Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Print a string in binary format

2005-01-20 Thread Kartic
at this cookbook entry: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/219300 Defines lambdas to convert integer to binary. The one you probably want is - >>> bstr = lambda n, l=16: n<0 and binarystr((2L<>1).lstrip('0')+str(n&1) or '0' >

Re: Print a string in binary format

2005-01-20 Thread Kartic
3!"!!8!!3!%!*!)i!)!!!3!!&Hl!3!$!!#%!!!3!*! %%!!!%!#3"K!!N!Z3!-%!!-J!N!5J!J"B1!#3'[!5!!!F!*!M8!)!!-`!N!33!!$ F!J#3'LjdCAKdrVm3`!3!N!iJ!!"J,Q4KG'%!!!"mb`%!!0! (... Big Snip ...) Or how about this? >>> f = open('C:/windows/

Re: Using Sqlite with Python under Windows

2005-01-14 Thread Kartic
other the python-sqlite module itself. Good choice on selecting Sqlite..I love it and hope you will enjoy it too! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Free python server.

2005-01-13 Thread Kartic
And yes, they have python installed... -- http://mail.python.org/mailman/listinfo/python-list

Re: Free python server.

2005-01-13 Thread Kartic
service, space is very limited but should more than serve your needs now. --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: encryption/decryption help

2005-01-12 Thread Kartic
reversible. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: python guy ide

2005-01-11 Thread Kartic
tax checking using pycheck and has good debug capabilities. From what I have seen, I like SPE quite a bit (except for my wx programs hanging). SPE - http://spe.pycs.net/ DrPython - http://drpython.sourceforge.net/ WingIDE - http://www.wingide.com/ You can google for Python IDE and see what comes up.

Re: Importing Problem on Windows

2005-01-10 Thread Kartic
on in your windows machine. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: path to python file given module

2005-01-09 Thread Kartic
That is because your module in not in a standard location that python can find it in. It is not that inspect.getsourcefile() is not working. Actually if you try reloading your filegen module after the os.chdir(), you will see that import fails. If you copy your filegen directory to the site-packag

Re: path to python file given module

2005-01-09 Thread Kartic
Try this:; >>> import filegen >>> import inspect >>> print inspect.getsourcefile(filegen.SomeClass) 'C:\\Python23\\Lib\\site-packages\\filegen\filegen.py' Cheers, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: use a file as a database, access rights

2005-01-09 Thread Kartic
Steve Holden wrote: > Sounds to me like you need to add a rights layer to gadfly. Aha...I did not consider that possibility. I have not gone indepth into Gadfly...is that a straigtforward thing to implement? -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >