Cupric wrote:
I have a python script that runs fine from the command line or from
within IDLE, but doesn't work through the Vista Task Scheduler.
The script downloads some csv files and then uses pywin32 to combine
the csv files into a single document. When I run it through the task
scheduler, i
Greg Ewing wrote:
I'm creating a COM server in Python that will have one
main class, with methods that create and return instances
of other classes.
I've found that I need to use win32com.server.util.wrap
and unwrap on these objects when they pass over a COM
connection. This doesn't seem very co
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>, Steve
Holden wrote:
Lawrence D'Oliveiro wrote:
In message
<[EMAIL PROTECTED]>,
Michele Simionato wrote:
On Nov 7, 4:38 pm, Tim Golden <[EMAIL PROTECTED]> wrote:
Seriously, though, although Python does indeed support multiple
inher
Shao wrote:
Dear All,
I am looking for a nitty-gritty Python Ajax script to fire off a
number of processing programmes, periodically checking their
operations, sending messages back to an HTML div form by sending back
the links of generated data files, to be downloaded by end users. I am
using .
Mr.SpOOn wrote:
On Thu, Nov 6, 2008 at 7:44 PM, Tim Golden <[EMAIL PROTECTED]> wrote:
While that's no bad thing, you don't really need to do
that simply to understand these examples: they're just
saying "do whatever you need to to make these method
class methods, not instance methods".
Yes.
I
[EMAIL PROTECTED] wrote:
tmallen:
I'm parsing some text files, and I want to strip blank lines in the
process. Is there a simpler way to do this than what I have here?
lines = filter(lambda line: len(line.strip()) > 0, lines)
xlines = (line for line in open(filename) if line.strip())
Bye,
bea
Shannon Mayne wrote:
I would like to create objects with algorithmically determined names
based on other object names and use object names for general algorithm
input.
How would one extract the name of an object from an object instance as
a string. I would think that it is stored as an attribute
alex23 wrote:
On Oct 23, 3:15 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
Bruno is correct, the protocol IS https, you don't type shttp into your browser
get secure http connection.
https[1] and shttp[2] are two entirely different protocols.
[1] http://en.wikipedia.org/wiki/Htt
sa6113 wrote:
which program I have to install for using paramiko for sftp between a two
windows machine in local network??
I have installed freeSSHd for server machine but I got an Authentication
failed erro when try to connect to server using this code :
sock.connect((hostname, port))
t = par
ryan wrote:
i have implemented a small client server model to do file transfer
over a LAN network.
It work with some machines on the network and on others it doesnt.
when i run the server.py file in some machine then it pops up a
windows security alert.
The message is as follows:
Do you
azrael wrote:
I mean shttp. (secure hyper text transfer protocol)
On Oct 22, 9:48 am, Bruno Desthuilliers wrote:
azrael a écrit :
There have been some discutions with my partner about which protocol
to use. We agreed to use also http. But we are looking for a
possibility to use something to
Robocop wrote:
oops! Sorry about that, i should have just copied my code directly.
I actually did specify an int in range:
year = '2008'
month = '09'
limit = '31'
for i in range(1,int(limit)):
The code is currently failing due to the syntax in the filter,
particularly the section "date = yea
Tino Wildenhain wrote:
Hi,
Abah Joseph wrote:
I have written a small application of about 40-45 lines which is about
4KB, so I want to create a single .exe file from it, using py2exe it
created unnecessary files, that just increase the size of the program
and also less portable to me. What el
Marcin201 wrote:
Is there an built-in functionality in python to convert Windows paths
to Unix paths? I am running into problems when creating data files on
Windows and the running them on a Unix platform. I create paths using
os.path.join.
os.path.join('Pictures', '01.jpg') returns 'Pictures\
Joe Strout wrote:
On Oct 16, 2008, at 10:59 AM, Larry Bates wrote:
how do i find that the name is 'bob'
Short answer is that you can't. This because Python's names (bob) are
bound to objects (modulename.objectname()). They are NOT variables as
they are in "oth
Astley Le Jasper wrote:
Sorry for the numpty question ...
How do you find the reference name of an object?
So if i have this
bob = modulename.objectname()
how do i find that the name is 'bob'
Short answer is that you can't. This because Python's names (bob) are bound to
objects (modulenam
sa6113 wrote:
I want to connect form a windows machine to a Linux one using SSH (I use
Paramiko) and simply copy a file to Linux machine.
Would you please help me how should I start?
Is there any useful code?
I find that one of the easiest ways of doing this is to install Cygwin on the
windows
johannes raggam wrote:
On Thu, 2008-10-02 at 15:18 -0500, [EMAIL PROTECTED] wrote:
Joe> I've started to think fondly of the rock-solid stability of Python,
Joe> and have been wondering if perhaps aggressive unit testing could
Joe> mitigate most of the problems of weak typing.
Note: Pyt
Daniel wrote:
Hello,
I've been building a system that has need to send object data across
the network. The approach I've taken has been to build Data Transfer
Objects, which just contain the attributes of the objects, and to
pickle them and send them over a socket connection.
As I get deeper t
Chris Hebert wrote:
On Thu, Oct 2, 2008 at 3:20 PM, Larry Bates <[EMAIL PROTECTED]> wrote:
You can do the following:
a = [1,2,3,4,5]
del a[0]
and
a = {1:'1', 2: '2', 3: '3', 4:'4', 5:'5'}
del a[1]
why doesn't it work the same for
You can do the following:
a = [1,2,3,4,5]
del a[0]
and
a = {1:'1', 2: '2', 3: '3', 4:'4', 5:'5'}
del a[1]
why doesn't it work the same for sets (particularly since sets are based on a
dictionary)?
a = set([1,2,3,4,5])
del a[1]
Yes I know that sets have a remove method (like lists), but sin
nishalrs wrote:
Hello All,
My main motivation is to build a collection of useful mathematical
models (that I have developed over the years) to design ultrasonic
sensors. This should be some sort of a library that should be able to
be used for desktop/web application development, to run in variet
Marin Brkic wrote:
Not commercial distribution, but an academic kind of sorts - giving
the exe file to coleagues, so they can use it in their work. Giving
.py file is not an option, since due to centralized computer
maintenance, they don't (and cannot) have installed python (except the
ones that
Drake wrote:
I have a general question of Python style, or perhaps just good
programming practice.
My group is developing a medium-sized library of general-purpose
Python functions, some of which do I/O. Therefore it is possible for
many of the library functions to raise IOError Exceptions. The
Torsten Mohr wrote:
Hi,
i have some questions related to new style classes, they look
quite useful but i wonder if somebody can give me an example
on constructors using __new__ and on using __init__ ?
I just see that when using it i can't give parameters to __new__
and when i additionally defin
Bruno Desthuilliers wrote:
Bruno Desthuilliers a écrit :
Larry Bates a écrit :
(snip)
IMHO it reads better if you use the __call__ method of the class to
return the value
IMHO, it makes no sense at all to abuse the __call__ magic method here.
Sorry - after a more careful re-read of other
Marco Bizzarri wrote:
On Sat, Sep 13, 2008 at 4:11 PM, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
Marco Bizzarri wrote:
class FolderInUse:
def true_for(self, archivefolder):
return any([instance.forbid_to_close(archivefolder) for instance in
self.core.active_outgoing_regist
Strato wrote:
Hi folks,
I want to write some kind of test to check at startup if another
instance of my script is already running.
I don't want to handle writing of a PID file because it is too
Unix/Linux specific way to do this, and I need to keep the code to be
cross-platform.
I think t
Strato wrote:
Hi folks,
I want to write some kind of test to check at startup if another
instance of my script is already running.
I don't want to handle writing of a PID file because it is too
Unix/Linux specific way to do this, and I need to keep the code to be
cross-platform.
I think t
icarus wrote:
Oh ok. Thanks. In windows xp I just renamed the file extension to .pyw
That did it.
one more question...
how do I create a pythonw standalone executable that works on w32,
linux, mac, etc..?
My intent is to have the process transparent to the user. He wouldn't
even know the app w
castironpi wrote:
I will try my idea again. I want to talk to people about a module I
want to write and I will take the time to explain it. I think it's a
"cool idea" that a lot of people, forgiving the slang, could benefit
from. What are its flaws?
A user has a file he is using either 1/ to
metaperl.com wrote:
Pyparsing has a really nice feature that I want in PLY. I want to
specify a list of strings and have them converted to a regular
expression.
A Perl module which does an aggressively optimizing job of this is
Regexp::List -
http://search.cpan.org/~dankogai/Regexp-Optimizer-0.1
Rex wrote:
Hello,
I am working on an academic research project where I need to log in to
a website (www.lexis.com) over HTTPS and execute a bunch of queries to
gather a data set. I just discovered the mechanize module, which seems
great because it's a high-level tool. However, I can't find any d
Sean DiZazzo wrote:
Hi all,
I'm trying to find a way to get a list of all the installed programs
on a Windows box via Python. I thought of a few hacks that might
partially work, and then thought about "Add/Remove Programs" Seems
like the right way to go. I looked over the pywin32 docs a bit,
Mohamed Yousef wrote:
If connection is over Internet via HTTP the connection speed is so slow in
relation to the speed of your CPU that it doesn't really matter.
this is not always true , espicially when using a localhost or a local
netwtork server
the problem is the increase in cpu and memory u
Cameron Laird wrote:
In article <[EMAIL PROTECTED]>,
Uberman <[EMAIL PROTECTED]> wrote:
On Fri, Aug 29, 2008 at 6:51 AM, Heston James <[EMAIL PROTECTED]> wrote:
Good afternoon all.
I have an application/script which is launched by crontab on a regular
basis. I need an effective and accurate w
[EMAIL PROTECTED] wrote:
Hi,
How to check if something is a list or a dictionary or just a string?
Eg:
for item in self.__libVerDict.itervalues():
self.cbAnalysisLibVersion(END, item)
where __libVerDict is a dictionary that holds values as strings or
lists. So now, when I iterate
Tim Golden wrote:
[EMAIL PROTECTED] wrote:
HI,
i would like to know if there is a way to create a python script for
automate mstsc.exe username and pwd credential, i mean i would create
a script that first open mstsc.exe and in the same time is able to
fill [computer+username+pwd].
Haven't tri
Mohamed Yousef wrote:
Thanks all ,
but there is still something i forget to state -sorry - all
communication will be via Http with a server
so data is received via Http
so local network solutions won't work
the problem really starts after receiving data in storing them without
much of a CPU/Memor
jpuopolo wrote:
All:
I am using Python to read some records from the MySQL database. I am
using the mysqldb library, and things are working well.
Now, I would like to pass back the results of the query to a Web-based
front end, and I would like to use JSON. Is there a library/example of
creatin
Ben Keshet wrote:
Thanks for the reference. I tried it with a general example and got it
to work - I used an index that counts up to a threshold that is set to
break. It does not work though with my real code. I suspect this is
because I cannot really read any lines from an empty file, so the
akonsu wrote:
hello,
i need to add properties to instances dynamically during run time.
this is because their names are determined by the database contents.
so far i found a way to add methods on demand:
class A(object) :
def __getattr__(self, name) :
if name == 'test' :
Michael Ströder wrote:
Larry Bates wrote:
[EMAIL PROTECTED] wrote:
I have a machine (PLC) that is dumping its test results into a fixed-
length text file. I need to pull this data into a database (MySQL
most likely) so that I can access it with Crystal Reports to create
daily reports for my
Mathias Lorente wrote:
Hello all.
I have a simple application (C++) that relies on shared libraries. It
works fine in console mode.
Lot of job is done into the shared library, so there is some calls to
'std::cout' to inform the user in it.
Now, I would like to wrap everything into a GUI, rem
Dudeja, Rajat wrote:
Hi,
So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.
Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in i
eliben wrote:
Hello,
I want to be able to do something like this:
Employee = Struct(name, salary)
And then:
john = Employee('john doe', 34000)
print john.salary
Basically, Employee = Struct(name, salary) should be equivalent to:
class Employee(object):
def __init__(self, name, salary):
[EMAIL PROTECTED] wrote:
hi
i want to play alarm sound when i press a particular key in
keyboard.so someone help me in doing it.
Thanks and Regards
Sasil.G
When you post to this list you need to give us more to go on than you have.
1) What have you tried that doesn't work?
2) What type of s
korean_dave wrote:
for y in range(0,iNumItems):
print(str(y))
How do i make the output go IN ORDER
0
1
2
3
4
5
6
etc.
instead of
0
1
10
11
12
13
14
2
3
4
5
6
7
8
9
That's not what it does on my system (Python 2.5.2 on Windows). Please post the
code that you are "actually" running.
>>> fo
[EMAIL PROTECTED] wrote:
Hi Guys,
I'm new to Python (mostly) and I'm wanting to use it for a new project
I'm faced with.
I have a machine (PLC) that is dumping its test results into a fixed-
length text file. I need to pull this data into a database (MySQL
most likely) so that I can access it
Alexandru Mosoi wrote:
On Aug 14, 12:02 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
your use of the word "callback" is a bit unusual, and your example isn't
valid Python code, but it looks as if functools.partial might be what
you need:
http://docs.python.org/lib/module-functools.html
m
Alexandru Mosoi wrote:
does anyone know a nice implementation of callbacks in python? i have
issues mixing named & unamed parameters. i want build a callback over
a function such that some parameters are passed when callback is
created and the rest are passed when the function is called.
example
David wrote:
I am collecting informations about win32 services for Python but, except for
few basic examples about Mark Hammond's win32serviceutil, I found nothing
useful.
Any link is welcome.
Thank you.
David
Actually those examples in Python for Win32 book are quite good and basically
all
+=offSet
stopCnt+=offSet
print hitLst
Beers, Dave
On Aug 13, 12:58 am, Dave <[EMAIL PROTECTED]> wrote:
On Aug 13, 12:35 am, Larry Bates <[EMAIL PROTECTED]> wrote:
Dave wrote:
Hey there, having a bit of problem iterating through lists before i go
on any further, here is
a
Lanny wrote:
Well the othe day I was making a program to make a list of all the songs in
certian directorys but I got a problem, only one of the directorys was added
to the list. Heres my code:
import random
import os
import glob
songs = glob.glob('C:\Documents and Settings\Admin\My
Document
Dave wrote:
Hey there, having a bit of problem iterating through lists before i go
on any further, here is
a snip of the script.
--
d = "a1 b1 c1 d1 e1 a2 b2 c2 d2 e2 a3 b3 c3 d3 e3 a4 b4 c4 d4 e4 a5 b5
c5 d5 e5"
inLst = d.split()
hitLst = []
hitNum = 0
stopCnt = 6 + hitNum
for i in range(hitNu
Christian Heimes wrote:
William Purcell wrote:
Hi all,
I am wanting to check to see the last time a file was edited. For
example, I
have a directory containing two text files, file1.txt and file2.txt. I
want to be able to process these files but only if they have been edited
since the last t
[EMAIL PROTECTED] wrote:
203.114.10.66 - - [01/Aug/2008:05:41:21 +0300] "GET /stat.gif?
stat=v&c=F-Secure&v=1.1%20Build%2014231&s=av%7BNorton
%20360%20%28Symantec%20Corporation%29+69%3B%7Dsw%7BNorton
%20360%20%28Symantec%20Corporation%29+69%3B%7Dfw%7BNorton
%20360%20%28Symantec%20Corporation%29+5
azrael wrote:
looks nice. is there an oposite function of ord() so I could also
bring a binary number also back to ascii.
the speed matters if you plan to exchange about 10 M ascii chars and
don't wont to wait a year for the results. :)
On 9 kol, 15:39, John Machin <[EMAIL PROTECTED]> wrote:
Phillip B Oldham wrote:
I've been reading a lot recently on ZODB/ZOE, but I've not seen any
reference to its use in large-scale production envrironments.
Are there any real-world examples of ZODB/ZOE in use for a large
system? By large, I'm thinking in terms of both horizontally-scaled
systems a
Ryan Rosario wrote:
On Aug 4, 8:30 am, Emile van Sebille <[EMAIL PROTECTED]> wrote:
John Machin wrote:
On Aug 4, 6:15 pm, Ryan Rosario <[EMAIL PROTECTED]> wrote:
On Aug 4, 1:01 am, John Machin <[EMAIL PROTECTED]> wrote:
On Aug 4, 5:49 pm, Ryan Rosario <[EMAIL PROTECTED]> wrote:
Thanks Emile!
iu2 wrote:
Hi,
This is a little bit strange post, but I'm curious...
I learned Python from its tutorial step by step, and practicing
writing small scripts.
I haven't seen a Python program before knowing Python.
I'm curious, what did Python code look like to those of you who have
seen a bunch o
Paul Sijben wrote:
I am trying to turn my application into a WinXP exe. Py2exe has packaged
all my files up into one humongous executable. When trying to run the
app, it complains that it can not find modules I just saw it include.
These invariably are modules that have been imported using
Allen wrote:
Larry Bates wrote:
Allen wrote:
I'm in the process of developing an application that will use Python
for a scripting support. In light of the upcoming changes to Python,
I was wondering if it is possible to link to and use two different
versions of Python so that in the f
Pierre Dagenais wrote:
from Tkinter import *
win = Tk()
If I type those two lines at the command prompt (in WindowsXP) I get a
new window on my screen. Yet if I copy those lines in a file called
test.py and then run "python test.py" at the command prompt I am
returned to the command prompt a
Allen wrote:
I'm in the process of developing an application that will use Python for
a scripting support. In light of the upcoming changes to Python, I was
wondering if it is possible to link to and use two different versions of
Python so that in the future, scripts could be migrated to the
CNiall wrote:
I am very new to Python (I started learning it just yesterday), but I
have encountered a problem.
I want to make a simple script that calculates the n-th root of a given
number (e.g. 4th root of 625--obviously five, but it's just an example
:P), and because there is no nth-root
TP wrote:
Hi everybody,
When using raw_input(), the input of the user ends when he types Return on
his keyboard.
How can I change this behavior, so that another action is needed to stop the
input? For example, CTRL-G. It would allow the user to input several lines.
Thanks
Julien
Just put raw
ssecorp wrote:
in read2 it never quits when I write quit, why?
def read():
expr = raw_input("Lisp> ")
if expr != "quit":
print parse(expr)
read()
else:
print "Good session!"
def read2():
expr = ""
while expr != "quit":
expr = raw_input("Lisp>
Giampaolo Rodola' wrote:
Hi,
for an FTP server I wrote I'd need to group the FTP commands in one
table that defines the command itself, the syntax string, required
permission, whether it requires authorization, whether it takes
argument and whether there's a need to validate the path from the
arg
[EMAIL PROTECTED] wrote:
I have implemented a COM in C++,buy i don't know how to use this COM
in python.
For example: the COM's ProgID is "MyCOM1.AdvMethod".this COM have two
interfaces,the default interface's name is IAdvMethod,the second
interface's name is IBasicMethod.
How do i use those inte
kj wrote:
Yet another noob question...
Is there a way to mimic C's static variables in Python? Or something
like it? The idea is to equip a given function with a set of
constants that belong only to it, so as not to clutter the global
namespace with variables that are not needed elsewhere.
Fo
Kirk Strauser wrote:
Short question:
Is there a good library for generating HTML-style tables with the equivalent
of colspans, automatically sized columns, etc. that can render directly to
PDF?
Longer question:
I'm re-doing a big chunk of locally-written code. I have a
report-generating funct
srinivasan srinivas wrote:
Hi,
Could someone suggest me better python modules for developing web programming
related projects like web-pages download and uopload??
Thanks,
Srini
Explore your hobbies and interests. Go to
http://in.promos.yahoo.com/groups/
urllib, urllib2, httplib
All
[EMAIL PROTECTED] wrote:
On Sun, Jul 27, 2008 at 7:01 PM, Larry Bates <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
i want to send unsigned 32 bit integer to socket, and looking for
something equivalent to this method...
http://livedocs.adobe.com/flex/2/langref/flash/net/Socke
[EMAIL PROTECTED] wrote:
hi
i want to send unsigned 32 bit integer to socket, and looking for
something equivalent to this method...
http://livedocs.adobe.com/flex/2/langref/flash/net/Socket.html#writeUnsignedInt()
is there such method / library available in python?!
this is as far as i have
josh logan wrote:
Hello,
I need a round function that _always_ rounds to the higher integer if
the argument is equidistant between two integers. In Python 3.0, this
is not the advertised behavior of the built-in function round() as
seen below:
round(0.5)
0
round(1.5)
2
round(2.5)
2
I wo
Tim Cook wrote:
Hi All,
I just ran into an issue with the rstrip method when using it on path
strings.
When executing a function I have a need to strip off a portion of the
current working directory and add on a path to a log file. Initially
this worked great but then I added a branch in SVN w
King wrote:
This is a new test for object persistency. I am trying to store the
relationship between instances externally.
It's not working as expected. May be I am doing it in wrong way. Any
suggestions?
import shelve
class attrib(object):
pass
class node(object):
def __init__(self):
Fredrik Lundh wrote:
Lanny wrote:
How would one make a list of the files in the top directory
using os.walk.
I need to pick a random file from said list.
if you want a list of files from a single directory, use listdir, not walk:
>>> import os, random
>>> random.choice(os.listdir(
Marc 'BlackJack' Rintsch wrote:
On Mon, 21 Jul 2008 18:12:54 +0200, mk wrote:
Seriously, though, would there be any advantage in re-implementing
Python in e.g. C++?
Not that current implementation is bad, anything but, but if you're not
careful, the fact that lists are implemented as C array
Grant Edwards wrote:
On 2008-07-22, Larry Bates <[EMAIL PROTECTED]> wrote:
Grant Edwards wrote:
On 2008-07-22, Larry Bates <[EMAIL PROTECTED]> wrote:
You talk about "writing it in assembly language for each MPU
chip". Actually it is even better than that. We
Clay Hobbs wrote:
I am making a program that (with urllib) that downloads two jpeg files
and, if they are different, displays the new one. I need to find a way
to compare two files in Python. How is this done?
-- Ratfink
Use md5 to calculate checksum:
import md5
md5file1 = md5.md5(open(fi
Samir wrote:
Is there a way to loop or iterate through a list/tuple in such a way
that when you reach the end, you start over at the beginning? For
example, suppose I define a list "daysOfWeek" such that:
daysOfWeek = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday',
'saturda
whitemice wrote:
The only documentation regarding doing authentication for XML-RPC I
can find is -
"Both the HTTP and HTTPS transports support the URL syntax extension
for HTTP Basic Authentication: http://user:[EMAIL PROTECTED]:port/path. The
user:pass portion will be base64-encoded as an HTTP
Grant Edwards wrote:
On 2008-07-22, Larry Bates <[EMAIL PROTECTED]> wrote:
You talk about "writing it in assembly language for each MPU
chip". Actually it is even better than that. We now have
these modern inventions, called compilers that do that type of
work for us. The
Amie wrote:
Afternoon,
I would like some help on how to create a website using the python
programming language.
I've tried using enamel, but had some problems because I could not
create html tables and intergrating it with python, like you use it
when coding in php.
Any help would be appreciate
[EMAIL PROTECTED] wrote:
I'm just learning about Python now and it sounds interesting. But I
just read (on the Wiki page) that mainstream Python was written in C.
That's what I was searching for: Python was written in what other
language?
See, my concern was something like: OK, if Python is so h
bruce wrote:
i'm getting the following error:
mechanize._response.httperror_seek_wrapper: HTTP Error 500:
i'm running python 5.1
and mechanize 0.1.7b
I have no idea as to what I have to change/modify/include to handle this
issue. The link that I'm testing is at the bottom of the page. W
castironpi wrote:
Some time ago, I was asking about the feasibility of a persistent
deque, a double-ended queue.
It runs into the typical space allocation problems. If you're storing
a pickle, you have to allocate and fragment the file you've opened,
since pickles can be variable-length strings
[EMAIL PROTECTED] wrote:
Hi;
i m working on a project where i need run time creation of GUI.
i have some no. of entities for which i want checkboxes in front of
them which can be checked/ unchecked by user.
But the problem is that the number and name of entities is not fixed
and it depends on
??? wrote:
Hi all,
I'm looking for an RPC system working with twisted.
1. Binary. I want it run faster than any xml based RPC.
2. Bidirectional. Unlike HTTP, on which the client has to poll the
sever for events, the server should "call" the client's method to
notify events.
3. C/Python sup
[EMAIL PROTECTED] wrote:
I have, in the past, used SRVANY to run a Python app as a Windows
service. However, now I am interested in distributing my scripts and
want to make it as painless for the end user as possible (hands-off is
best :). How can you go about running a Python app as a Windows
Berco Beute wrote:
I remember reading somewhere how to create an instance attribute for
every method argument, but although Google is my friend, I can't seem
to find it. This could likely be done way more elegant:
=
class Test(object):
def __init__(self, a, b, c, d,
Alexnb wrote:
Hello
I am sure most of you are familiar with py2exe. I am having a bit of a
problem. See the program has a few pictures involved and the .ico it uses
for the windows. However, the pictures are stored in the same directory as
the source, something like: C:\Docs and settings\me\My d
Phillip B Oldham wrote:
We're looking at the next phase of development for our webapp, and the
main focus will be to move the core from the app to a web service so
other systems can use the data we've gathered (we're thinking along
the lines of the XML API of Highrise from 37Signals).
Its possib
Ben Sizer wrote:
Although the standard library in Python is great, there are
undoubtedly some great packages available from 3rd parties, and I've
encountered a few almost by accident. However, I don't know how a user
would become aware of many of these. http://pypi.python.org/pypi/
presumably lis
E. J. Gold is the Hi-Tech Shaman wrote:
On Jul 15, 3:38 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
Certainly a "Hi-Tech Shaman" can whip something up to do this, right?
Yes, well E.J. Gold is the Hi-Tech Shaman. I'm Terrence Brannon,
stating that fact :)
So, maybe EJ
David Lees wrote:
[EMAIL PROTECTED] wrote:
I need to know if I'm running on 32bit or 64bit ... so far I haven't
come up with how to get this info via python. sys.platform returns
what python was built on ... but not what the current system is.
I thought platform.uname() or just platform.process
[EMAIL PROTECTED] wrote:
Hi everyone,
I've heard that a 'str' object is immutable. But is there *any* way to
modify a string's internal value?
Thanks,
Sebastian
Why would you care? Just create a new string (with the changed contents) and
let garbage collection take care of the old one when
Ben Finney wrote:
Larry Bates <[EMAIL PROTECTED]> writes:
Names are pointers in Python that point to values in memory.
The term "pointer" carries much extra baggage for a programmer
thinking of C (as the original poster is). Python names give no access
to the "addre
1 - 100 of 1109 matches
Mail list logo