Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
python-2.7
- Page 1
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
6 Days Ago
by usmanmalik57
…-cpu ``` The script below imports the required libraries into our
Python
application. ``` from langchain_community.document_loaders import YoutubeLoader from langchain_openai import ChatOpenAI… Ark (Arc de Triomphe) for a view of the city.
2
. Having a picnic near the Eiffel Tower with food from…
Re: Which programming language is best Ludo game development?
Programming
Game Development
3 Days Ago
by kishanrg
… development, including Ludo games, are C++, C#, Java, JavaScript, and
Python
. Ultimately, the "best" programming language for Ludo game…
Re: Which programming language is best Ludo game development?
Programming
Game Development
3 Days Ago
by polles
i would choose JavaScript
Re: Installing programs from Github
Programming
Software Development
4 Weeks Ago
by rproffitt
>
Python
is an interpreted language, which means the source code of a
Python
program is converted into bytecode that is then executed by the
Python
virtual machine. As such the .exe would be the
Python
virtual machine and not your
Python
apps.
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by usmanmalik57
…language. For this purpose, you will use the
Python
[LangChain](https://
python
.langchain.com/docs/get_started/introduction) library. The LangChain…sales are: 1. Product AOZBW with 95 units sold.
2
. Product KSZOI with 122 units sold. 3. Product …with 19 orders 6. Customer UMTLM with 18 orders
7
. Customer NYUHS with 18 orders 8. Customer HGVLZ …
ABC for Github-programs and Python
Programming
Software Development
4 Weeks Ago
by Audun
… I downloaded a bunch of
Python
-tools. When I run this command in "
Python
3.12", which looks… syntax error. "To create a virtual environment,
Python
supplies a built in venv module which provides the basic…folder you have selected in your terminal / command line:
python
-m venv openai-env" The instructions said nothing …
Re: ABC for Github-programs and Python
Programming
Software Development
4 Weeks Ago
by Reverend Jim
… and do D:\>cd apps D:\apps>
python
-m venv MyVirtual If I install any packages in… done the D:\apps\MyVirtual folder contains a pile of
python
files (executables, packages, etc. You activate the virtual …really just play with environment variables so that all required
python
stuff comes from MyVirtual. Any packages you install in…
Re: ABC for Github-programs and Python
Programming
Software Development
4 Weeks Ago
by Reverend Jim
I have developed a number of GUI applications in
python
. I found that the wxpython package was far better than tkinter. wxpython is based on wxwidgets which is essentially windows controls. Because wxwidgets are compiled for each major system, controls rendered by wxpython look like the native controls for whatever system is hosting.
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
4 Weeks Ago
by Hanginium65
…the extension .tar.bz2. I’ve included the
Python
script and the errors I got after running it.… solving this issue. I’m a beginner in
Python
. from keystoneauth1 import session from keystoneauth1.identity import … is the error I got after running the script.
Python
Traceback (most recent call last): File "/opt/…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
… is file 1 $ cat foo_2.txt This is file
2
This is file two This is file too # Three…tar.gz: gzip compressed data, from Unix, original size modulo
2
^32 10240 foo.tar: POSIX tar archive (GNU) # … it is actually storing a compressed version. The tarfile
python
library does know about tar files, and gives you …
Re: Installing programs from Github
Programming
Software Development
4 Weeks Ago
by Reverend Jim
… as native controls for the platform. There is also a
python
package called pyinstaller which you can use to wrap a…
python
application as an executable (.exe). I find ths useful when …, for example, to hmviewer.exe (home movie viewer) rather than
python
.exe, which I would have to do wthout running it…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
…convert documents to numeric values) and the
Python
[LangChain](https://
python
.langchain.com/docs/get_started/introduction) library as …in an environment variable and retrieve it in your
Python
application via the following script. ``` openai_key = …containing the knowledge base you want to search.
2
. Based on the user query, use similarity …
Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
1 Week Ago
by BigPaw
… back into developing, and so I'm learning
Python
. Where should I go with
Python
, though? I'm a troubleshooter by nature…
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
…. There was a link to a [
python
api](https://github.com/rpehkone/Chat-With-RTX-
python
-api). That was just an example…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
4 Weeks Ago
by Audun
… in the "CMD" that opens when I press
Python
3.12, and what happened was, it just said nothing…
Re: Read file properties of video files in C++
Programming
Software Development
2 Weeks Ago
by rproffitt
… the man who was turned into a newt in Monty
Python
who said "I got better", such are better…
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by Dani
Pardon my cluelessness here. A $300 video card can efficiently perform complex AI tasks against DaniWeb’s entire database in real time? Missed the link to the
Python
API.
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Hanginium65
Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
Installing programs from Github
Programming
Software Development
4 Weeks Ago
by Audun
Hi I downloaded Tkinter Designer, but there´s no exe there. I´ve used Thonny as a "compiler" for running scripts, and I used it to "make" a a simple program, but I don´t know how to save as an exe, and I don´t know how I would put these files into Thonny. Am I even using the right program ?
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… is at the same height as indoor volleyball (
2
.24m for women and
2
.43m for men). The game is contested by…
Re: Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
1 Week Ago
by Dani
Perhaps a career as a [software QA engineer](https://in.indeed.com/career-advice/finding-a-job/what-is-qa-engineer) will be interesting to you?
Re: Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
1 Week Ago
by Dani
Oh ... and congratulations on your cancer remission. :)
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by rproffitt
Python
shouldn't create such an error. Reference https://www.reddit.… was mine I'd place a logging command in my
python
script at each step so I could nail down which… code threw the error. Tutorial on that at https://docs.
python
.org/3/howto/logging.html
Re: what's the correct way of learning programming?
Programming
1 Month Ago
by Dani
Python
works as a first language, but I would also recommend …
Why am getting different syntax errors when running a Python script
Programming
Software Development
2 Months Ago
by Tom_45
…, name, rank) names.append(item) #print(item) name = match[
2
] item = (year, name, rank) names.append(item) #print(item…out of range error on the name = match[
2
], which is the female name in a tuple …is being executed. Obviously, I'm new to
Python
, but have a solid understanding of how object …
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
1 Month Ago
by usmanmalik57
…static.daniweb.com/attachments/4/dde6bac6ebb29a1e02dcb63ac3f000c1.png) ##
2
. Text Summarization with Mistral 7b Let's … following script. ``` input_text = "Write a
Python
fuction to add two numbers" response = generate_response… again ask Mistral for the solutions. ##
7
. Named Entity Recognition Another common task you …
Re: Using ChatGPT to Interact with Third-Party Applications in Python
Programming
Computer Science
2 Months Ago
by catherine_11
Integrating ChatGPT with third-party applications in
Python
involves utilizing [OpenAI's API](http://www.google.com). Begin by obtaining API credentials, then craft
Python
scripts to send requests and process responses. Adhere to OpenAI's documentation for optimal integration, ensuring secure and efficient interaction with the ChatGPT model.
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
…tune the Google Gemma LLM for text classification tasks in
Python
. So, let's begin without ado. ## Installing…install -q -U peft==0.8.
2
!pip3 install -q -U trl==0.
7
.10 !pip3 install -q -U accelerate…``` The script below imports the required libraries into your
Python
application. ``` import os import transformers import torch from …
A module that comes with Python, doesn´t register?
Programming
Web Development
1 Month Ago
by Audun
Hi Title: A module that comes with
Python
, doesn´t register. This is the error message: %Run 'open … double-checked to see if I had installed it, and ...
Python
3.12. Its there. This is the guide I´m… trying to get through: https://finnstats.com/2024/01/17/
python
-for-image-based-data-mining/ It says its supposed to…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC