Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
import sqlite3
- Page 1
OpenAI o3 vs Anthropic Claude 4 for Text Classification & Summarization
Programming
Computer Science
5 Days Ago
by usmanmalik57
… from collections
import
Counter from sklearn.metrics
import
hamming_loss, accuracy_score from rouge_score
import
rouge_scorer
import
anthropic from openai
import
OpenAI from google.colab
import
userdata OPENAI_API_KEY…
Re: How do I make my code jump back to a previous line?
Programming
3 Weeks Ago
by Dani
Organizing code into functions is always important for readability and also to be able to reuse parts of your code as your app gets bigger. Thank you for posting your updated code to share with others :)
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
2 Months Ago
by usmanmalik57
… sns from itertools
import
combinations from collections
import
Counter from sklearn.metrics
import
hamming_loss, accuracy_score from rouge_score
import
rouge_scorer from openai
import
OpenAI from google…
Integrating OpenAI Web Search API in LangGraph
Programming
Computer Science
1 Month Ago
by usmanmalik57
… application. ```python from typing_extensions
import
TypedDict from langchain_openai
import
ChatOpenAI from IPython.display
import
Image, display from langgraph.graph
import
StateGraph, START from langgraph…
How do I make my code jump back to a previous line?
Programming
1 Month Ago
by trueriver
… code was after the loop. How do I fix this?
import
time
import
sys #Global Variables firstTime = True loggedIn = False incorrectLogin = True…
Re: How do I make my code jump back to a previous line?
Programming
1 Month Ago
by trueriver
updated my code... everything is fixed :) i made functions
import
time
import
sys #Global Variables firstTime = True loggedIn = False incorrectLogin = True admin = …
Re: Coin Flip (Python Newbie)
Programming
Software Development
1 Month Ago
by jassonadder
…'t change. Here's a corrected version of your code:
import
random coin_heads = 0 coin_tails = 0 timesflipped = 0 while timesflipped <…
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
2 Months Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by lennyli
… on the computer you want to control. ```python # server.py
import
socket
import
pyautogui def main(): server_socket = socket.socket(socket.AF_INET, socket…’re using to control the other one. ```python # client.py
import
socket def main(): client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM…
Re: Java Coin Flip Program
Programming
Software Development
1 Month Ago
by jassonadder
… each result, and then shows the totals at the end:
import
random class CoinFlipper: def __init__(self): self.heads = 0 self…
Re: Need Coding Help With A Project
Programming
Software Development
1 Month Ago
by Enzo_3
…. Here's how I approached it using Python: from functools
import
reduce with open('numbers.txt', 'r') as file: content = file…
Re: How do I make my code jump back to a previous line?
Programming
1 Month Ago
by woooee
if sysInfo.lower() in ["exit", "Exit", "EXIT"]: since sysinfo is now lower(), it will never be equal to "Exit" or "EXIT"
Re: Coin Flip (Python Newbie)
Programming
Software Development
1 Month Ago
by Dani
> Presumably bumping every "coinflip" post to spam their URL Nothing wrong with that!! I'll take a trillion helpful posts if all someone wants in exchange is a free signature link back to their website (that only shows up for logged in members, so no SEO incentive).
Re: Coin Flip (Python Newbie)
Programming
Software Development
1 Month Ago
by woooee
while timesflipped < 100: timesflipped += 1 Use a for loop instead. if coin_flips == 0: And no need to add the == 0. Just *if coin_flips* (i.e. not zero) is enough
Re: Coin Flip (Python Newbie)
Programming
Software Development
1 Month Ago
by Reverend Jim
When you want to do a loop a given number of times (e.g. 100) but the loop counter is not used you can do for _ in range(100): # rest of code here
Understanding some SQLite Java Wrapper code
Programming
Software Development
15 Years Ago
by dmonopoly10
…myaggfun stuff? Around there...thanks in advance. [code]
import
SQLite.*; public class Test implements SQLite.Callback, SQLite.Function,…;); } } if (error) { System.exit(1); } } } [/code][code]
import
SQLite.*; public class Test implements SQLite.Callback, SQLite.Function, SQLite…
Re: SQLite " Item not found " exception
Programming
Software Development
14 Years Ago
by Ancient Dragon
SqLite doesn't throw exceptions, it just returns errors. You will have to change SqLite source code to make it throw exceptions like what you want. You have all the source code so you can change it any way you like.
#import instead of @class
Hardware and Software
macOS
9 Years Ago
by ravi_14
….h" @class Asset; //i have used
import
"Asset.h" which contains definition for asset @interface … second line , author has used @class. I have implemented with
import
"Asset.h" Please explain the difference between two…
import a data table with spaces and export one column
Programming
Software Development
11 Years Ago
by shakin
** #
import
a data table with space? # ** Good day! I need to …
import requests endPoint = 'https://api.mnotify.com/api/template' apiKey =
Programming
Software Development
3 Years Ago
by Wis_874
import
requests endPoint = 'https://api.mnotify.com/api/template' apiKey = 'YOUR_API_KEY' url = endPoint + '?key=' + apiKey response = requests.get(url) data = response.json();
Sqlite
Programming
Databases
12 Years Ago
by ganesh641
How to install Sqlite in windows OS and how to customize the database table in sqlite and, Tools for sqlite working like mysql workbench.
sqlite manager
Programming
Databases
12 Years Ago
by TonyG_cyprus
Hi all,Anyone know of a decent free sqlite manager. One that will work with sqlite not
sqlite3
. Ive tried some and not been able to find one that works!
sqlite query problem
Programming
Databases
12 Years Ago
by TonyG_cyprus
Hi guys, I've hit a wall again with this code and I'm sureit's something simple I'm doing wrong, I just can't see it. <?php include('php/head.php'); // form action $asset=$_POST['asset']; $item=$_POST['item']; $link=sqlite_open('data/3002.sqlite ',0666,$sqliteerror); sqlite_query($link,"INSERT …
Re: Sqlite
Programming
Databases
12 Years Ago
by pritaeas
The installer is available from the sqlite website. As a tool I use Navicat (paid), but a search will give you plenty of free ones.
Re: sqlite query problem
Programming
Databases
12 Years Ago
by TonyG_cyprus
I knew it was something I was missing... added 'ORDER BY item' to sqlite query line 18 and it all works as required
sqlite questoin
Programming
Databases
15 Years Ago
by Talguy
Does sqlite contain a function that would look at every row in a column and find the ones contain a string I supply it with. I'm trying to make a dynamic database search that would query retrieve rows from the database every time I type a new letter into my search box for a desktop app.
SQLite 2.1.0.0
Community Center
14 Years Ago
by hsamdani
Hi all can anyone tell me how to store unicode values in sqlite2.1.0.0..I am not sure whether sqlite 2.1.0.0 supports unicode format
Re: Import an new library in Netbeans (Jackcess)
Programming
Software Development
11 Years Ago
by JamesCherrill
`
import
static` imports any static final variables from a class (eg Colors from the Color class). Youu probably should be using just `
import
com.healthmarketscience.jackcess.Database.*; ` to
import
the classes.
Re: #import?
Programming
Software Development
16 Years Ago
by Radical Edward
#
import
isn't available in C or C++, but if you …
Sqlite, Glade and Python
Programming
Software Development
14 Years Ago
by viandante
…/office files. [code]
import
sqlite3
import
sys
import
gobject try:
import
pygtk pygtk.require("…pass try:
import
gtk
import
gtk.glade except: sys.exit(1) connection =
sqlite3
.connect('rubrypyth.…getSur,getPho,getCel,getEma,getAdd): connection =
sqlite3
.connect('rubrypyth.sqlite') cursor = connection.cursor()…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC