Re: [pygame] encrypt/decrypt zip/unzip

2014-10-18 Thread diliup gabadamudalige
i figured out a better way.
All the data is written to a dictionary which in turn written to a py file.
All the py file are compiled and and are INSIDE the exe.
So I deliver ONLY 1 exe.
everything including fonts are inside the exe.
:)


On Sat, Oct 18, 2014 at 5:10 AM, Stuart Axon stu.axon+pyg...@gmail.com
wrote:

 You may as well use some normal encryption using some lib, this zipped
 method is a little odd. .. unless you want something to get kids into
 cracking software, that smart kids will break open ?

 (Which is fine too).

 On 26 August 2014 14:20, diliup gabadamudalige dili...@gmail.com wrote:

 :) please don't get upset or angry. There is no need for that. :)
 i am writing this software ONLY for windows.
 it is a music teaching software.
 Thanks for the support. I have learnt a lot from these forums.



 On Tue, Aug 26, 2014 at 6:40 PM, Dan Uznanski duznan...@gmail.com
 wrote:

 This is ridiculous.  Your proposed measures 1. Disrupt normal computer
 operation far beyond any normal use case would dictate, and 2. Do not
 prevent your stated unwanted behavior.  There are lots of programs out
 there that capture screenshots and video without using the clipboard; on
 some systems (mac, for one) these are the default.  You've demanded a blood
 draw to get in the front door but the side entrance is wide open and
 wheelchair accessible.
  On Aug 26, 2014 8:47 AM, diliup gabadamudalige dili...@gmail.com
 wrote:

 Hi Alec,
 No offence to you or to anyone who may think contrary, but disrupting
 computer operation is not what this does.Sometimes when I am writing things
 to my DVD burner windows doesn't respond normally. The normal operation of
 windows is disrupted. So what is the malware here? There are many other
 situations like that. The meaning of the word malicious is intent to harm.
 So malicious software is software is software written with the intention of
 harming other software or what ever. My program is a music teaching
 software and the reason I disable certain keys after the user is informed
 is to prevent certain unwanted actions like screen copying. SO if they want
 to capture any screens while running an education program which has
 informed them that they can't capture screens while it is running is a bit
 strange. Everything is returned to normal once the program is exited. :) So
 not malware.




 On Tue, Aug 26, 2014 at 5:41 PM, Alec Bennett wrybr...@gmail.com
 wrote:

 doesn't fall into the category. :)


 Not to beat a dead horse, but I respectfully disagree. Note the first
 criteria in the first line of your linked article:

  Malware, short for malicious software, is *any software used to
 disrupt computer operation*, gather sensitive information, or gain
 access to private computer systems.[1]
 https://en.wikipedia.org/wiki/Malware#cite_note-1


 Your program clearly disrupts computer operation.


 Also was not referring to full screen mode.


  Not that it matters, but if you don't say what you're referring to,
 its hard for people to point out how your analogy is probably wrong.








 On Mon, Aug 25, 2014 at 10:49 PM, diliup gabadamudalige 
 dili...@gmail.com wrote:

 https://en.wikipedia.org/wiki/Malware

 doesn't fall into the category. :)


 On Tue, Aug 26, 2014 at 11:10 AM, Alec Bennett wrybr...@gmail.com
 wrote:

  some games lock up the os and you need to exit the game to have
 access to the os.

 I think you're referring to fullscreen, which doesn't actually lock
 up the OS, it just takes over the screen, and all functions of the OS 
 are
 still as usual. And a critical difference is that fullscreen is
 functionally important to the program, and is very obvious when its
 happening, whereas disabling the clipboard is just, in my opinion,
 malevolent.









 On Mon, Aug 25, 2014 at 10:32 PM, diliup gabadamudalige 
 dili...@gmail.com wrote:

 It is stated in the opening screen.
 some games lock up the os and you need to exit the game to have
 access to the os. Does that make the game a malware?



 On Tue, Aug 26, 2014 at 10:46 AM, Alec Bennett wrybr...@gmail.com
 wrote:

 If you're clearing the Windows clipboard, you might want to let
 the user know that. Very prominently. Otherwise your program is 
 basically
 malware in my opinion.

 It's still, in my opinion, malware, but at least you'd be warning
 the user so they'd know that running your program will cripple their 
 os
 while it's running.

 Or just don't do silly things like clear the clipboard...





 On Aug 25, 2014, at 9:40 PM, diliup gabadamudalige 
 dili...@gmail.com wrote:

 Dear Vincent and Dan,

 All points taken positively. I'm still learning Python and all
 this help and advice is making me write better and more pythonic code.

 I will leave this path and continue on the one I started
 traversing.

 I thank you all very much. May you be well.


 On Tue, Aug 26, 2014 at 2:58 AM, Vincent Michel 
 vxgmic...@gmail.com wrote:

 I agree with Dan.

 Also, there're some great answers over here:

 

Re: [pygame] Multiple sound cards

2014-10-18 Thread Jason Marshall
Sorry, no.