Go to advanced search

by brianmanee
Tue Sep 18, 2018 6:45 am
Forum: Python
Topic: Using global variables in functions with if statements
Replies: 7
Views: 2919

Re: Using global variables in functions with if statements

A global variable is a variable which is accessible in multiple scopes. In Python, it is better to use a single module to hold all the global variables you want to use and whenever you want to use them, just import this module, and then you can modify that and it will be visible in other modules tha...
by brianmanee
Thu Nov 02, 2017 5:34 am
Forum: Python
Topic: Trying to Send email (gmail) from a Python script
Replies: 15
Views: 9826

Re: Trying to Send email (gmail) from a Python script

The problem I am having is that I get a long error message (when I run the script via the IDLE3) the important parts of which seem to be: SMTPAuthenticationError: (534 Please log in via your web browser and then try again Learn more at https://support.google.com/mail/bin/answer.py?answer=78754 Have...
by brianmanee
Fri Oct 06, 2017 4:35 am
Forum: Python
Topic: Python Threading or Interrupts
Replies: 7
Views: 10205

Re: Python Threading or Interrupts

Check this one....basics of python threading
by brianmanee
Fri Sep 01, 2017 5:30 am
Forum: Python
Topic: Beginner Python Help - Sound from list
Replies: 6
Views: 1157

Re: Beginner Python Help - Sound from list

Check this simple...python tutorial
by brianmanee
Mon Jan 11, 2016 7:10 am
Forum: Raspbian
Topic: Raspbian Jessie Image
Replies: 17
Views: 4826

Re: Raspbian Jessie Image

7z uses LZMA which is better than LZ and LZ77 LZMA2 was created for XZ format and it includes changes that are good for that stream compression format. Also LZMA2 is better than LZMA, if you compress already compressed data. LZMA2 is faster for 4-threads, if you compress big file (more than 256 MB)...

Go to advanced search