top of page

Search Results

600 items found for ""

  • Some basic queries In SQL Server

    1. Retrieve List of All Database EXEC sp_helpdb 2. Get the version name of SQL Server SELECT @@VERSION AS Version_Name 3. Get Current Language of SQL Server 4. Return Server Name of SQL Server. SELECT @@SERVERNAME AS 'Server_Name' 5, Retrieve Free Space of Hard Disk. EXEC master..xp_fixeddrives 6. Get First Date of Current Month SELECT CONVERT(VARCHAR(25),DATEADD(DAY,-(DAY(GETDATE()))+1,GETDATE()),105) First_Date_Current_Month; Need any help in SqlServer Please contact us If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post

  • Install Django/Virtualenv on a Mac OS X or Linux.

    Open Terminal (Applications > Utilities > Terminal) Enter the following commands: NOTE: The command sudo will require an admin password. The same password you use to install other programs. Typing will be hidden 1. Install Pip. (Python Package Installer): sudo easy_install pip 2. Install virtualenv: sudo pip install virtualenv 3. Navigate to where you want to store your code. You have two options: 1. Go to Desktop by typing below command: cd ~/Desktop 2. Create folder/ directory at Desktop with command and then change directory mkdir DjangoProject cd DjangoProject Now your are inside DjangoProject folder . and folder/directory is created to save or organise your code at one place 4. Create a new virtualenv: virtualenv venv -p python3.7 The name "venv" above is arbitrary. You can name it as you like. Also, -p python3.7 will give you Python version 3.7 for your virutalenv. For this to work, Python3.7 must be installed (see above). 5. Activate virtualenv: source bin/activate The result in Terminal should be something like: (venv) Jitu-mackbookpro:Development Jitendra$ Note: if you get any error you can navigate to bin folder and type activate command activate 6. Install Django: pip install django==2.2 NOTE: django==2.2 is for version 2.2 If you need a different version, replace those numbers accordingly. Such as django==2.0 or django==2.1.0 * If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post. #Django #DjangoPython #PythonFramework #installDjangoOnMac

  • Looking for API Developer

    We are helping in developing an API Application. On a high Level, the App will do the following 1) The API will be invoked from another Application . 2) Authentication token will need to validated against a token on a Table and if valid results will be rendered. 3) On  high level the API will return a Offer details (discount or any other offer) back . 4) The API will query the Offer Tables and brings the right offer based on certain Logic. Technology to be used Database Table: MySQL,Firebase as well Language Platform : Python/Django. If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post

  • Deploying Python and Django Apps on Heroku

    Problem Statement: I have a simple Django app hosted in Heroku which simply scrapes data from a website. What I need is that I want a Heroku command (e.g. heroku run python manage.py [custom_command] ) be mapped to a certain URL (e.g. mysite.com/run/[custom_command] ) such that when that certain URL is visited, a dyno is created that will run the command  "heroku run python manage.py [custom_command]". I think this can be easily done by editing the urls.py and views.py and utilizing the Heroku platform API, but I don't know how. Challenge: why does deploying your app on the web have to be SO difficult? Years into my experience as a software developer and to this day I find hosting online to be a PAIN. If you ever tried it, did you enjoy running into issues with static files, WhiteNoise, not installing the middleware in the right location, or a whole host of said fun stuff? Yeah, me neither. Heroku: Heroku is a cloud application platform that provides hosting services for multiple programming languages, including Python. It is basically a Platform-as-a-Service (PaaS) cloud infrastructure. You can read more about Heroku here. Of course, you need an account, so sign up here. Contact us for step-by-step introduction to deploying Python apps on Heroku from codersarts developer. If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post. #BackEndDevelopment #Django #HerokuandDjangohelp

  • Django - Add csv import/export and custom command

    Problem Statement: I have a simple Django app which scrapes product data from an online store. What I need is to add a CSV import and export functionality in my administration area and add custom commands (i.e. python manage.py [custom_command] ) that will only trigger for certain group of products in my list. Solution: Web scrapping : Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. why web scrapping: Most of the website doesn't provide API for data access then concept of web scrapping came into existence Challenges: The main challenge of web scrapping is that data is not available in correct format, extracting data from website is not hard if you have single page website link then you can easily get data. but what when data is scattered on more than 1000 pages. so main concern here is to scrap data and prepare then in the correct so that it can useful for your need or business. If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post. #Django #Djangodevelopment #pythondeveloper #webdevelopment #webAPI #Hiredjangodeveloper

  • ModuleNotFoundError: No module named 'pygame' | How to install pygame

    Stuff with pygame: Most of developer face this problem when we install pygame in system. Here we give best solution to solve this easily with the help of given steps Step1. install pygame by "pip install pygame" Step2.I found a link to the 64 pygame download! Here it is: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame Just pick the corresponding version according to your python version and it should work. like magic. Download file from here according to python version,for example. pygame‑1.9.6‑cp37‑cp37m‑win32.whl This file work in python 3.7(cp37m) like this you can download version according to our python version for example python 3.8(cp38m). And paste this file into the script folder, script folder located in this path in your system. C:\Users\naveen kumar\AppData\Local\Programs\Python\Python37-32\Scripts Step3. run cmd and run file in script folder as: C:\Users\naveen kumar\AppData\Local\Programs\Python\Python37-32\Scripts>pip install pygame‑1.9.6‑cp37‑cp37m‑win32.whl Step4. It install successfully If you face any python related stuff or project related issue, you can directly contact at here #pygameimporterror #howtoinstallpygame #Installpygame #pygame #pygameforwindows #pygamewithwhlfile #howtoinstallpygame #howtofixpygameimporterror

  • Top 5 programming language used for machine learning

    Top 5 most popular programming languages used for machine learning in which Python tops the list, there's a few surprises on there. Here we attached some link and references to make it easy for the concept of machine learning. 1. Python Highly rated machine-learning programming language To start python with machine learning first install some of libraries which is required in python machine learning: NumPy: For numerical processing with Python. PIL: A simple image processing library. scikit-learn: Popular library for data mining and data analysis that implements a wide-range of machine-learning algorithms. Contains the machine learning algorithms we’ll cover today (we’ll need version 0.20+ which is why you see the --upgrade  flag below). Keras and TensorFlow: For deep learning. The CPU version of TensorFlow is fine for today’s example. OpenCV: While we aren’t using OpenCV for this blog post, imutils depends upon it (next bullet). Because of this, you can simply use pip to install OpenCV, just bear in mind that you won’t have the full install of OpenCV and you can’t customize it. imutils: My personal package of image processing/computer vision convenience functions Machine Learning From Scratch: Bare bones but accessible implementations of machine-learning models and algorithms. ChatterBot: A machine learning, conversational dialog engine for creating chat bots 2. R Highly rated machine-learning programming language Here some important libraries and references which make better for understand and learning of R: These libraries mentioned here: Dplyr: It is mainly used for data manipulation in R. Dplyr is actually built around these 5 functions. These functions make up the majority of the data manipulation you tend to do. You can work with local data frames as well as with remote database tables. You might need to: Select certain columns of data. Filter your data to select specific rows. Arrange the rows of your data into an order. Mutate your data frame to contain new columns. Summarize chunks of you data in some way. It also has functions like sample, group by and pipe. Ggplot2: Ggplot2 is the one of the best library for data visualization in R. The ggplot2 library implements a “grammar of graphics” (Wilkinson, 2005). This approach gives us a coherent way to produce visualizations by expressing relationships between the attributes of data and their graphical representation. Ggplot2 has wide range of functions. Esquisse: It allows you to draw bar graphs, curves, scatter plots, histograms, then export the graph or retrieve the code generating the graph. It’s awesome, isn’t it? BioConductor: When you get into Data Science, you deal with different kinds of data. You may not know what sort of data you gotta deal with in future. If you are in health industry then trust me, you’ll find this very useful. I consider this library to be highly useful when you are working on genomic data. Bioconductor is an open source project that hosts a wide range of tools for analyzing biological data with R. To install Bioconductor Packages, you need to install biocmanager. click here to install it- https://www.bioconductor.org/install/ Benchm-ml: A minimal benchmark for measuring scalability, speed and accuracy of commonly used open-source implementations of machine-learning algorithms. Machine Learning in R : The framework provides code for supervised machine-learning methods like classification, regression and survival analysis, as well as unsupervised methods like clustering. 3. C++ Highly rated machine-learning programming language tensorflow: Google's widely used machine-learning framework with APIs for a wide variety of languages. Turi Create: A library that simplifies the development of custom machine-learning models for developers new to the field. LightGBM: Microsoft's gradient boosting framework designed to help increase machine-learning model training speed and efficiency. 4. JavaScript Highly rated machine-learning programming language Flappy Learning: A program that learns how to play the infamous Flappy Bird game. AI Blocks: A drag-and-drop WYSIWYG editor that aims to allow anyone to create Machine Learning models (also requires Python and tensorflow to be installed). ml5.js: Aims to make machine learning usable by artists and non-technically minded students by offering access to machine learning algorithms and models in the browser. 5. Java Highly rated machine-learning programming language Smile: A fast and comprehensive system for carrying out machine learning, NLP, linear algebra, graph, interpolation, and visualization system in Java and Scala. H20: An in-memory platform for distributed, scalable machine learning that works on existing big data infrastructure, on bare metal or on top of existing Hadoop or Spark clusters. It offers APIs in Java (Restful API), Python, R and Scala. It has best of class algorithms for classification, Regression, Clustering etc. and seamlessly integrates with Apache Hadoop and Spark EasyML: A general-purpose dataflow-based system designed to make it easier to apply machine learning algorithms to real-world tasks. If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post.

  • Build a network from scratch: Networkx Python

    NetworkX is the most popular Python package for manipulating and analyzing graphs. Several packages offer the same basic level of graph manipulation, and study of the structure, dynamics, and functions of complex networks. Pygraphviz is a Python interface to the Graphviz graph layout and visualization package.Python language data structures for graphs, digraphs, and multigraphs. Nodes can be "anything" (e.g. text, images, XML records)Edges can hold arbitrary data (e.g. weights, time-series)Generators for classic graphs, random graphs, and synthetic networksStandard graph algorithmsNetwork structure and analysis measuresBasic graph drawingOpen source BSD licenseWell tested: more than 1500 unit testsAdditional benefits from Python: fast prototyping, easy to teach, multi-platform. Installing Packages If you've done any sort of data analysis in Python or have the Anaconda distribution, my guess is you probably have pandas and matplotlib. However, you might not have networkx. pip install pandas pip install networkx pip install matplotlib Next we will present simple example of network with 5 nodes. To fire up network, we have to import networkx. import networkx as nx import matplotlib.pyplot as plt %matplotlib inline Create Graph Now you use the edge list and the node list to create a graph object in networkx. # Create empty graph G = nx.Graph() "G" is the name of the graph you build. Next we add nodes. There are two ways to add nodes: one by one, print(type(G)) #type=global keyword/class G.add_node("A") G.add_node("Python") ##to find the first node #first make a node list nodelist = list(G.node) print(nodelist[0]) #python starts with 0 Add in a list of Nodes nodelist = ['B','C','D','E'] G.add_nodes_from(nodelist) Then we add edges. Also there are two ways, either one by one G.add_edge('A','B') G.remove_node('Python') Add in a batch edgeList = [('A','B'),('B','C'),('C','D'),('A','D')] #list of tuples G.add_edges_from(edgeList) Finally we will visualize our work and get basic information of network. nx.draw(G, with_labels =True, node_color = 'pink', node_size = 900) #PythonAssignmentHelp #PythonExpertHelp #networkxAssignmentHelp #MachineLearningAssignmentHelp #DataAnalystAssignmentHelp #PythonGUIProjectHelp #PythonProjectHelp #PythonAssignmentDeveloper #HirePythonDeveloperforAssignment #PythonDeveloper #PythonCodingHelp #DJangoProjectHelp #PythonProjectHelp #pythonDeveloperHelp If you like Codersarts blog and looking for Assignment help,Project help, Programming tutors help and suggestion you can send mail at contact@codersarts.com. Please write your suggestion in comment section below if you find anything incorrect in this blog post.

  • 10 Most Common Commands in MongoDB

    Here we discuss about ten most commonly used commands for MongoDB beginners. Please feel free to comment and make suggestions if I failed to mention any important points! After installation: 1. Start MongoDB: Open cmd and run mongod >mongod Open another cmd and run this commend >mongo 2. Show All Databases: >show dbs 3. Select Database to Work With: >use databaseName 4. Authenticate and Log Out From Database: // Authenticate // >db.auth("username", "password"); // // Logout // >db.logout() 6. Create a Collection: >db.createCollection("collectionName"); 7. Insert a Document in a Collection: Once a collection is created, the next step is to insert one or more documents. Following is a sample command for inserting a document in a collection. // Insert single document // >db..insert({field1: "value", field2: "value"}) // // Insert multiple documents // >db..insert([{field1: "value1"}, {field1: "value2"}]) >db..insertMany([{field1: "value1"}, {field1: "value2"}]) 8. Save or Update Document: The save command can be used to either update an existing document or insert a new one depending on the document parameter passed to it. // Matching document will be updated; In case, no document matching the ID is found, a new document is created // >db..save({"_id": new ObjectId("jhgsdjhgdsf"), field1: "value", field2: "value"}); 9. Display Collection Records: The following commands can be used to retrieve collection records: // Retrieve all records >db..find(); // Retrieve limited number of records; Following command will print 10 results; >db..find().limit(10); // Retrieve records by id >db..find({"_id": ObjectId("someid")}); // Retrieve values of specific collection attributes by passing an object having // attribute names assigned to 1 or 0 based on whether that attribute value needs // to be included in the output or not, respectively. >db..find({"_id": ObjectId("someid")}, {field1: 1, field2: 1}); >db..find({"_id": ObjectId("someid")}, {field1: 0}); // Exclude field1 // // Collection count // >db..count(); 10. Administrative Commands: Following are some of the administrative commands that can be helpful in finding collection details such as storage size, total size, and overall statistics. // Get the collection statistics // >db..stats() >db.printCollectionStats() // // Latency statistics for read, writes operations including average time taken for reads, writes // and related umber of operations performed // >db..latencyStats() // // Get collection size for data and indexes // >db..dataSize() // Size of the collection >db..storageSize() // Total size of document stored in the collection >db..totalSize() // Total size in bytes for both collection data and indexes >db..totalIndexSize()// Total size of all indexes in the collection For more details contact at here #Howtoimplementmongodbcommand #Top10commandinmongodb #Howtoinstallmongodbcommand #Importantmongodbquery #Crudoperationinmongodb #Basiccommandofmongodb #HowtostartMongoDBincommandprompt #Howtoshowdatainmongodb #Howtoinsertrecordinmongodb #Howtoupdaterecordinmongodb

  • How to implement Keyboard and Mouse click event in tkinter | Tkinter event handling | Event and Bind

    Whenever we use Tkinter, we are not just limited to bind one function to one widget. With widgets, we can bind multiple events to it depending on what we do with that widget, it behaves in different kind of ways. We can have a button, and if we left click it, something happens and if you right click it, something else happens. Tkinter also lets you install callables to call back when needed to handle a variety of events. However, Tkinterdoes not let you create your own custom events; you are limited to working with events predefined by Tkinter itself. Tkinter provides a powerful mechanism to let you deal with events yourself. For each widget, you can bind Python functions and methods to events. widget.bind(event, handler) If an event matching the event description occurs in the widget, the given handler is called with an object describing the event. 1- The Event Object: General event callbacks must accept one argument event that is a Tkinter event object. Such an event object has several attributes describing the event: widget, x_root , y_root, x, y, num, keysym, char 2- Binding Callbacks to Events: Usually enclosed in angle brackets ('<...>') 3- Event Names: Frequently used event names, which are almost all enclosed in angle brackets, fall into a few categories. 1-Keyboard events 2-Mouse event, Keyboard Event: Key, Special keys, Normal keys, Button-1, Button-2, Button-3, B1-Motion, B2-Motion, B3-Motion, ButtonRelease-1, ButtonRelease-2, ButtonRelease-3, Double-Button-1, Double-Button-2, Double-Button-3, Enter, Leave etc 4-Event-Related Methods: Each widget w supplies the following event-related methods. bind w.bind(event_name,callable[,'+']) w.bind(event_name,callable) sets callable as the callback for event_name on w. w.bind(event_name,callable,'+') adds callable to the previous bindings for event_name on w. bind_all w.bind_all(event_name,callable[,'+']) w.bind_all(event_name,callable) sets callable as the callback for event_name on any widget of the application, whatever widget w you call the method on. w.bind_all(event_name,callable,'+') adds callable to the previous bindings for event_name on any widget. unbind w.unbind(event_name) Removes all callbacks for event_name on w. unbind_all w.unbind_all(event_name) Removes all callbacks for event_name on any widget, previously set by calling method bind_all on any widget. ------------------------------------------------------------------------------------------ Example:1 Handling Mouse event -------------------------------------------------------------------------------------------from tkinter import * var = Tk() def leftclick(event): print("left") def middleclick(event): print("middle") def rightclick(event): print("right") frame = Frame(var, width=300, height=250) frame.bind("", leftclick) frame.bind("", middleclick) frame.bind("", rightclick) frame.pack() var.mainloop() ------------------------------------------------------------------------------------------- Example 2: Capturing keyboard events ---------------------------------------------------------------------------------- from tkinter import * root = Tk() def key(event): print("pressed", repr(event.char)) def callback(event): frame.focus_set() print("clicked at", event.x, event.y) frame = Frame(root, width=100, height=100) frame.bind("", key) frame.bind("", callback) frame.pack() root.mainloop() ---------------------------------------------------------------------------------- Click here for any tkinter GUI related assignment help or any programming assignment help. #tkintereventhandling #tkintermouseandkeyboardeventhandling #tkinterevent #handletkintereventwithmouseandkeyboard #Stuffintkintereventhandling #Howtohandletkinterevent #Howtocreatesimplegameusingevent #tkinterexperthelp #Tkinterassignmenthelp #TkinterHomeworkhelp #Helpwithtkinter #createsimpleeventhandlingapp #Typesofeventintkinter #Typesofeventinkeyboard #HelppythonGUIUsingevent

  • How to declare Static variable in python | Access static or class variable | Static variable in pyth

    The Python approach is simple, it doesn’t require a static keyword. All variables which are assigned a value in class declaration are class variables or static variable. And variables which are assigned values inside class methods are instance variables. For more clarify see below example or go to the github link: https://gist.github.com/CodersArts/c4a2f3e1e3c8290ab4691a11164c6dfa Contact here for more help #Pythonprogramminghelp #weneedpythonprogramminghelp #Helpmeinpythonprogramming #Howtodeclarestaticvariableinpython #Staticvariableinpython #objectorientedprogrammingassignmenthelp #Howtoaccessstaticvariableinpython

  • Top 10 Python Assignment Help | Python Expert and Programming help | Python from beginners to expert

    In this article, we will offer top 10 learning Areas in python that will help jump start your journey from beginners to becoming a Advanced Python programmer! Python Questions: Codersarts Expert team give the solutions of python related questions asked by student or a our client. Our team always ready to give a best solution to the client. Python has turned the 3rd most in-demand programming language sought after by employers. Hence, we brought 100 essential Python interview questions to acquaint you with the skills and knowledge required to succeed in a job interview. Python programming: Welcome! Are you completely new to programming? If not then we presume you will be looking for information about why and how to get started with Python. Fortunately an experienced programmer in any programming language (whatever it may be) can pick up Python very quickly. It's also easy for beginners to use and learn, so jump in. Machine Learning: Need Help Getting Started with Applied Machine Learning? We provide the 24/7 Online support for Machine Learning assignments. We are the team of experts for machine learning, provide the help for writing the Principles of pattern recognition, machine Optimization methods, Learning algorithms, Probability theory, Machine learning model. We are having capability to complete your assignment within the deadline. We also help in partial or incomplete or wrongly written assignments and convert it to complete and correct solution, so that the students obtain maximum scores in their assignment. We provide free solution for your doubts related to the topics. Here Some L. functions to learn before start machine learning: numpy - mainly useful for its N-dimensional array objects pandas - Python data analysis library, including structures such as dataframes matplotlib - 2D plotting library producing publication quality figures scikit-learn - the machine learning algorithms used for data analysis and data mining tasks Data Science: Codersarts is one of the best places to get help with your data science assignment solution. Our data science assignment experts have extensive knowledge and experience in the fields of statistics, mathematics and computer science and they also have industrial level data analyzing experience. Our data analysis and data science assignment help experts have helped over 5000 students, worldwide, in need of solving data analysis assignment solutions. Python GUI: To get the help for Python GUI based assignments, send your requirements at hello < at > codersarts <.> com or else upload inquiry on the website. Our tutors and experts are available to help you instantly and ready to manage the tight deadlines. Simple steps: 1- Send us the exact requirements and instructions for your Python GUI assignment / Python GUI homework / Python GUI project. 2- We build the solution using Python GUI tool / library accordingly and send it to you. 3- You get high grades. Python Projects: Codersarts team done more than 1000 projects in different areas like Game, healthcare, web, education and researches etc. We providing you high grade projects before your given deadline. We will not stop until you not satisfied. If you need need any help related to python project than contact to the codersarts team. Click here to get help or contact at given link. #PythonProgramminghelp #Machinelearninghelpinpython #GUIhelpinpython #DataSciencehelpinpython #PythonwebApplicationhelpinpython #PythonProjecthelp #PythonModulesandpythonLibrarieshelpinpython #pythonprogrammingAssignmenthelpAustralia #needhelpwithpythonassignment #pythonprogrammingassignmenthelpfromexperts #Onlinepythonprogramminghelp #Onlinepythonhomeworkhelp #onlinepythonprojecthelp #Howtomakepythonproject #AdvancedprojecthelpinpythonHOw

bottom of page