Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25635

Re: Python Programming expert - adding user

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Python Programming expert - adding user
Date 2012-07-19 13:47 -0400
Organization > Bestiaria Support Staff <
References <1342576735.54186.YahooMailNeo@web193104.mail.sg3.yahoo.com>
Newsgroups comp.lang.python
Message-ID <mailman.2308.1342720076.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, 18 Jul 2012 09:58:55 +0800 (SGT), Maria Hanna Carmela Dionisio
<mmdionisio1993@yahoo.com.ph> declaimed the following in
gmane.comp.python.general:

> Im just a student :)
> 
> Our prof gave as a task that we need to make a program using python (for redhat) and c++(for windows)

	Wow... I'd have expected that to be the other way around...
Installing Python on a Windows machine is simple, compared to obtaining
C++ system (just finding the express [limited, free] edition of Visual
C++ is a pain, and to use it requires registering with M$). In contrast,
Linux systems typically include a C/C++ compiler... Though I suppose the
school's Windows machines may have an educational discount and installed
full versions (as I recall, the express edition of VC++ 2010 does not
include the MFC library).

> 
> Our objective is to make a program file and we will said it remotely to another computer via network ( its easy and i could do it lolz)..
>

	Reading that as "send it remotely" (which I really take to mean
"send it TO a remote computer"; "send it remotely" sounds like you are
commanding one remote computer to send the file to another remote
computer) gives a rather flexible answer -- FTP.
 
> the hard part is the programming..that when the user click the file a box will prompt and ask for username and a password(even without a password) then the username that he inputted will add to the user account of his/her computer :DD
>
	Very confusing phrasing here, but I'm going to interpret this to
mean that you are supposed to obtain the log-in credentials for the
/remote/ computer (the one to which you are supposed to send the file)
so that the file ends up in that user's account space.

	That you mention a "box will prompt" implies that the programs are
supposed to use a graphical interface for both selection of the file to
send and the account/password... In effect, a graphical FTP client that
only sends files.

	For Python you'll have to determine which graphical library to use
(Tkinter [interface to Tk]) is standard, but you can also obtain
libraries to code using wxWindows, GTK, and Qt. These are all different
graphical frameworks.

	For Windows, if using an express edition of VC++ you are likely
forced to use the low-level win32 libraries; higher editions (VC++
Professional) have the object-oriented MFC library.

 
> HELP HELP EXPERTSSSSSSSSSSSSSS
>

	You should realize that no one with ethics is going to write your
code for you. We will help you figure out what may be producing an error
traceback given the traceback and the section of code producing the
error -- but you will have to provide that code (preferably enough of it
to duplicate the problem when we run it).
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python Programming expert - adding user Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-19 13:47 -0400

csiph-web