Archives : March-2019

Email Over the past decade, the popularity of Python as a mainstream programming language has exploded. Notable advantages of Python over other languages include, but are not limited to; It is a very simple language to learn and easy to implement and deploy, so you don’t need to spend a lot of time learning lots ..

Read more

EmailIf you use a source code repository like Git or Subversion and have to push code manually you’re missing out. There are deployment tools that can save you a lot of time. You can also set up automatic deployment so that every time you push a commit to your repository the change gets automatically deployed ..

Read more

EmailThe first step in checking your website’s source code is to view the actual code. Every web browser allows you to do this easily. Below are the keyboard commands for viewing your webpage source code for both PC and Mac. Firefox – CTRL + U (Meaning press the CTRL key on your keyboard and ho..

Read more

following code use  <!doctype html><html><head><meta charset=utf-8><title>textarea character limit</title></head><body><textarea maxlength=”50″ id=”text”>This textarea has a limit of 50 characters.</textarea></body></html> css code:  textarea {width: 240px;height: 80px;padding: 5px;} Javascript : function maxLength(el) { if (!(‘maxLength’ in el)) {var max = el.attributes.maxLength.value;el.onkeypress = function () {if (this.value.length >= max) return false;};}} maxLength(document.getElementById(“text”)); OR  use the HTML code  <textarea rows=”4″ cols=”50″ ..

Read more

EmailJavascript using Excel and PDF exporting the using Javascript You create the Two Button and apply the code this particular  code <script type=’text/javascript’ charset=’utf-8′> var value_pass = ” <?php echo “DueslistBR”.$br.”-“.date(“dmY”) ?> “; $(document).on(‘click’,’.excel’,’pdf’,function(){ $(“#result_table th”).removeAttr(‘style’); $(“#result_table”).table2excel({ exclude: “.noExl”, name: value_pass }); }); </script> <script type=”text/javascript”> function Export() { html2canvas(document.getElementById(‘result_table’), { onrendered: function (canvas) { ..

Read more

EmailThis following code using we can refresh code one page to other page Redirect , using this html code we can redirect the first index page. <html> <meta name=”Generator” content=”EditPlus”> <meta name=”Author” content=”DQS-India”> <meta name=”Keywords” content=”DQS India Top Certification, Training, Audit and Assessment Organization”> <meta name=”Description” content=” DQS India Top Certification, Training, Audit and Assessment ..

Read more

EmailThis error coding #include <stdio.h> int main() { char a123 = ‘a’; float b=0.233; int _c, _d45, e; printf(“%c n ,%f”, a123 b); return 0; }   this answer coding   #include <stdio.h> int main() { char a123 = ‘a’; float b=0.233; int _c, _d45, e; printf(“%c n ,%f”, a123,b); r..

Read more

Email  c programming Escape Sequences   We are using the coding file a Alarm or Beep b Backspace f Form Feed n New Line r Carriage Return t Tab (Horizontal) v Vertical Tab \ Backslash ‘ Single Quote ” Double Quote ? Question Mark ooo octal number xhh hexadecimal n..

Read more

Email Have you ever been troubleshooting a problem with remote SQL Iproxy MP, remote DB, etc) and wanted to test to see if the local system account (or any account for that matter) could make a remote connection to SQL but you didn’t want to install the SQL tools just to make that test?  Seems ..

Read more

EmailIf you want to search in files: Ctrl+H and then choose tab File Search. If you want to search for resources: Ctrl+Shift+R. If you want to search for Java types: Ctrl+Shift+T. If you want more shortcut keys: Ctr..

Read more

EmailPlease follow the coding using our project folder and Create the files name like  .htaccess and file  the past this file and run the code and remove all .php and other   RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^([^.]+)$ $1…

Read more

EmailThis code error in we are adding one string and one number here we cannot add the string and number Traceback (most recent call last): File “C:/Users/root/Tkineter Project tutorial/venv/ad2.py”, line 5, in <module> print(b+a) TypeError: can only concatenate str (not “int”) to str expl: a = 3 b = “this string ” print(b+a) right code: ..

Read more

EmailWrapping things inside a Class – Python GUI using Tkinter from tkinter import * class MyButton: def __init__(self,master,text): frame= Frame(master) frame.pack() self.printButton = Button(frame, text=text, command=self.print1) self.printButton.pack() def prinf1(self): print(“this is values”) if __name__ == ‘__main__’: root=Tk() MyButton(root, “My Button1”) MyButton(root, “my Button2”) root…

Read more

EmailCreating a User Prompt in a Tkinter GUI – Python GUI using Tkinter following code using an application to the development of the GUI from tkinter import * import tkinter.messagebox def custom_quit(): answer = tkinter.messagebox.askokcancel(“Are You sure?”,”data will be losse form the coding “) if(answer): print(“exit” ) quit() def work(): print(“this working “) root.geometry(“600×600”) def ..

Read more

EmailCreating a Status Bar in a Tkinter GUI – Python GUI using Tkinter Following coding to use the for Status Bar in python application development from tkinter import * def work(): print(“this working “) root.geometry(“600×600”) def run(): print(“this is run coding”) root.geometry(“200×200”) root = Tk() root.geometry(“600×600″) menu1 = Menu(root) root.config(menu=menu1) submenu = Menu(menu1) menu1.add_cascade(label=”File”,menu=submenu) submenu.add_command(label=”New Project”, ..

Read more

EmailCreating resize window option in a Tkinter GUI – Python GUI using Tkinter Use this coding for the python application creating GUI Following coding using application we can development from tkinter import * def work(): print(“this working “) root.geometry(“600×600”) def run(): print(“this is run coding”) root.geometry(“200×200”) root = Tk() root.geometry(“600×600”) menu1 = Menu(root) root.config(menu=menu1) submenu ..

Read more