I've created a small application that when you click one of the
buttons it randomly picks a paragraphs from a list that it generates
from a text file and then copies them to the clipboard. It also has
make new/edit/delete/print/ etc functionality.
It's for work so I get some brownie points and every know and then I
could work on it and learn python while getting paid (heaven) instead
of my normal customer service job (mind I've done 95% of it at home).
I've been allowed to install it on one of the blade servers so one of
the team can use if they connect to that server. Great stuff.
When we normally connect through one of the thin clients we connect
randomly to one of three blade servers. I've just thought that when I
add the app to the other servers they will be completely separate. So
if the the paragraphs which are stored in text files are amended/
deleted/created will only happen on one server and not them all. I've
a couple of questions:
What would happen if more than one person used my application at the
same time? I haven't added any I/O exception code so I think that
would be an issue but would python crash? (it's only got simple
functions and controls in it, no threading or process code or anything
like that, i'd post it but it's 2500lines long)
What would I have to learn to be able to sync the text files on each
server? python network programming? Or something else? Sorry for my
naivety =p
Good to hear you are enjoying Python. Just to let you know, though, this
is the wxPython group, and is mostly intended to discuss wxPython (the
GUI toolkit), not things like syncing and such. A general Python question
like you have would best be posted to either the main Python group on
Google Groups or the Python tutor list. People here may very well be
able to help you out (I’m sorry, I don’t know how to help you with this
question), but you would cast a wider net, and be in the spirit of the
right groups, if you posted it to one of those other lists/groups.
Good luck.
To the wxPython group:
I have been wondering whether using Google Groups would make it more
likely that the wxPython list would receive more general Python questions
now. I think I have seen a few in the last weeks. Is this more likely? (Not
that it matters much).
I think it's more likely that we'll see more people posting here in
general because Google Groups has more exposure. So yeah, we'll
probably get more general or newb questions than before. That just
means we get to exercise some of our other skills though.
- Mike
···
On Jun 19, 3:02 pm, C M <cmpyt...@gmail.com> wrote:
On Fri, Jun 19, 2009 at 3:48 PM, dads <wayne.dads.b...@gmail.com> wrote:
> Hi
> I've created a small application that when you click one of the
> buttons it randomly picks a paragraphs from a list that it generates
> from a text file and then copies them to the clipboard. It also has
> make new/edit/delete/print/ etc functionality.
> It's for work so I get some brownie points and every know and then I
> could work on it and learn python while getting paid (heaven) instead
> of my normal customer service job (mind I've done 95% of it at home).
> I've been allowed to install it on one of the blade servers so one of
> the team can use if they connect to that server. Great stuff.
> When we normally connect through one of the thin clients we connect
> randomly to one of three blade servers. I've just thought that when I
> add the app to the other servers they will be completely separate. So
> if the the paragraphs which are stored in text files are amended/
> deleted/created will only happen on one server and not them all. I've
> a couple of questions:
> What would happen if more than one person used my application at the
> same time? I haven't added any I/O exception code so I think that
> would be an issue but would python crash? (it's only got simple
> functions and controls in it, no threading or process code or anything
> like that, i'd post it but it's 2500lines long)
> What would I have to learn to be able to sync the text files on each
> server? python network programming? Or something else? Sorry for my
> naivety =p
Good to hear you are enjoying Python. Just to let you know, though, this
is the wxPython group, and is mostly intended to discuss wxPython (the
GUI toolkit), not things like syncing and such. A general Python question
like you have would best be posted to either the main Python group on
Google Groups or the Python tutor list. People here may very well be
able to help you out (I'm sorry, I don't know how to help you with this
question), but you would cast a wider net, and be in the spirit of the
right groups, if you posted it to one of those other lists/groups.
Good luck.
To the wxPython group:
I have been wondering whether using Google Groups would make it more
likely that the wxPython list would receive more general Python questions
now. I think I have seen a few in the last weeks. Is this more likely?
(Not
that it matters much).
On Jun 19, 9:02 pm, C M <cmpyt...@gmail.com> wrote:
On Fri, Jun 19, 2009 at 3:48 PM, dads <wayne.dads.b...@gmail.com> wrote:
> Hi
> I've created a small application that when you click one of the
> buttons it randomly picks a paragraphs from a list that it generates
> from a text file and then copies them to the clipboard. It also has
> make new/edit/delete/print/ etc functionality.
> It's for work so I get some brownie points and every know and then I
> could work on it and learn python while getting paid (heaven) instead
> of my normal customer service job (mind I've done 95% of it at home).
> I've been allowed to install it on one of the blade servers so one of
> the team can use if they connect to that server. Great stuff.
> When we normally connect through one of the thin clients we connect
> randomly to one of three blade servers. I've just thought that when I
> add the app to the other servers they will be completely separate. So
> if the the paragraphs which are stored in text files are amended/
> deleted/created will only happen on one server and not them all. I've
> a couple of questions:
> What would happen if more than one person used my application at the
> same time? I haven't added any I/O exception code so I think that
> would be an issue but would python crash? (it's only got simple
> functions and controls in it, no threading or process code or anything
> like that, i'd post it but it's 2500lines long)
> What would I have to learn to be able to sync the text files on each
> server? python network programming? Or something else? Sorry for my
> naivety =p
Good to hear you are enjoying Python. Just to let you know, though, this
is the wxPython group, and is mostly intended to discuss wxPython (the
GUI toolkit), not things like syncing and such. A general Python question
like you have would best be posted to either the main Python group on
Google Groups or the Python tutor list. People here may very well be
able to help you out (I'm sorry, I don't know how to help you with this
question), but you would cast a wider net, and be in the spirit of the
right groups, if you posted it to one of those other lists/groups.
Good luck.
To the wxPython group:
I have been wondering whether using Google Groups would make it more
likely that the wxPython list would receive more general Python questions
now. I think I have seen a few in the last weeks. Is this more likely?
(Not
that it matters much).
I've created a small application that when you click one of the
buttons it randomly picks a paragraphs from a list that it generates
from a text file and then copies them to the clipboard. It also has
make new/edit/delete/print/ etc functionality.
It's for work so I get some brownie points and every know and then I
could work on it and learn python while getting paid (heaven) instead
of my normal customer service job (mind I've done 95% of it at home).
I've been allowed to install it on one of the blade servers so one of
the team can use if they connect to that server. Great stuff.
When we normally connect through one of the thin clients we connect
randomly to one of three blade servers. I've just thought that when I
add the app to the other servers they will be completely separate. So
if the the paragraphs which are stored in text files are amended/
deleted/created will only happen on one server and not them all. I've
a couple of questions:
What would happen if more than one person used my application at the
same time? I haven't added any I/O exception code so I think that
would be an issue but would python crash? (it's only got simple
functions and controls in it, no threading or process code or anything
like that, i'd post it but it's 2500lines long)
What would I have to learn to be able to sync the text files on each
server? python network programming? Or something else?
Sounds like a perfect job for a database server that is accessible from all three machines. Just store your text there and you automatically get multi-user access and with a little work can ensure that they are not overwriting each other's changes.