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
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
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
ich you can customize.
--Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
>>
rt the Perl-win32 examples to Python rather easily without knowing
much perl.
Cheers,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
eiving server resolves it correctly.
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
(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
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
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
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
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
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
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.
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
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
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
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
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,
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
/lib/os-file-dir.html for more info.
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
Could you please post your entire program, if possible?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
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
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
[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
d PCs).
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
. 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
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
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
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
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
can choose whether or not to receive emails).
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
*'-'
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
.
You can download for your OS from:
http://www.foolabs.com/xpdf/download.html
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
>>> 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
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
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
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
ch to download.
Thanks!
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
work?
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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,
-
urse, you have the usual popen() functions that you can use to
invoke SSH.
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
Winamp plugin that would
achieve this for you?
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
hould use
'elif' for subsequent conditions after 'if'.)
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
Ah! I forgot about this link the slideshow is very informative.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
or the layout kill the browser. CSS is the way to go.
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
and it is called a "List" in Python parlance.
--
http://mail.python.org/mailman/listinfo/python-list
ted.
http://docs.python.org/tut/tut.html
Thanks,
-Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
for you.
Thank you,
--Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
imported)
Thanks,
--Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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'
>
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/
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
And yes, they have python installed...
--
http://mail.python.org/mailman/listinfo/python-list
service, space is very limited but should more than
serve your needs now.
--Kartic
--
http://mail.python.org/mailman/listinfo/python-list
reversible.
Thanks,
--Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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.
on in your windows machine.
Thanks,
--Kartic
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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 - 100 of 125 matches
Mail list logo