843 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Hanginium65

I wrote the Python code to upload the .gz file from my local machine to the OpenStack object store using the following documentation: https://docs.openstack.org/python-swiftclient/latest/client-api.html. Below is the code I wrote. from keystoneauth1 import session from keystoneauth1.identity import v3 from swiftclient.client import Connection, logger from swiftclient.client import ClientException import gzip # …

Software Development python
Member Avatar for rproffitt
0
69
Member Avatar for Hanginium65

I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object …

Software Development python
Member Avatar for Salem
4
154
Member Avatar for fx.eko

hi.. I have a problem when compiling the program created in VB6, an error message suddenly appears visual basic has stopped working the condition of the laptop that I use with 4GB memory specifications does this correlate directly while executing the process compile, while if I compile the program with …

Software Development visual-basic windows-10
Member Avatar for pyeri
0
181
Member Avatar for baranoya

Hi, I'm trying to start learning C++ on "Sublime Text" an error came out "file not recognized: File format not recognized collect2.exe: error: ld returned 1 exit status" what can I do about it

Software Development c++
Member Avatar for baranoya
0
49
Member Avatar for shane1961

I have a parameter in a RDLC report named "allocated_jobs" There are no Available Values assigned. It has 1 Specify Values: RTrim(Allocated = "True") ie; Only rows with field name Allocated and it's contents equal "True" are to be in the report. Me.JobsDataReportViewer.LocalReport.ReportEmbeddedResource = "Data_Reporting.JobsList.rdlc" *Data_Reporting is the stored report …

Software Development vb.net
Member Avatar for trueframe
0
42
Member Avatar for Tuấn_4

hi guy! I started learn python with pandas , but now, i get the trouble so i cant understand what i should do with this trouble File "C:\Users\Administrator\site-packages\Ver6.py", line 3, in <module> abc = pd.read_csv('book2.csv') AttributeError: module 'pandas' has no attribute 'read_csv' Plz , someone help me coz i cant …

Software Development microsoft python
Member Avatar for toneewa
0
28K
Member Avatar for R_4

Hi What is wrong in my this backup code it always not working and gives me an error SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB; AttachDbFilename=D:\repos\mysales\WindowsFormsApp4\Database1.mdf; Integrated Security=True; "); string database = con.Database.ToString(); if (textBox1.Text == "") { MessageBox.Show("Please Enter Backup File Location"); } else { string cmd = "BACKUP DATABASE …

Software Development c# sql
Member Avatar for Salem
0
53
Member Avatar for li_049

![图片1.png](https://static.daniweb.com/attachments/5/081db9c666339d60f2cf91f9b3413e60.png) The value of the Class variable is '0' 'I' '0' 'H' '0' '4' I hope the value of the Class variable is A' 'T' '0' 'H' '6' '9' I tried using sort_region to sort SelectedRegions1, but it still didn't work read_image (Image1, 'C:/Users/29185/Desktop/图片1.png') get_image_size (Image1, Width, Height) dev_close_window () …

Software Development c
Member Avatar for rproffitt
1
33
Member Avatar for pritaeas

Anyone here that wants to share if they use AI Code Assistants professionally, which one and why? I'm looking for experiences with backend .NET development in Visual Studio to be specific.

Software Development artificial-intelligence-llm asp.net
Member Avatar for antwanlee
1
125
Member Avatar for cambalinho

heres my RayCasting code on VB2010(it can be another programming language, i will get the same bug): Private Function GetPositionMap(ByVal Position As Double) As Integer Return fix(Position / ObjectSize) End Function Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double …

Software Development vb.net
Member Avatar for cambalinho
0
171
Member Avatar for Olive34

This is not really a question, since I can make it work. It's just something I have not seen before and I think it is odd. I'm writing some unit tests. One test works fine, but when I change a parameter for another test, it gives an error. The parameters …

Software Development c#
Member Avatar for Ellsaheranny
1
174
Member Avatar for SoniyaJonas
Member Avatar for simhakidsden
4
414
Member Avatar for Seema_7

What's the best cloud accounting software for small businesses that handle multiple sales tax rates? Or is there an affordable web-based small business accounting software?

Software Development finance
Member Avatar for pyeri
2
415
Member Avatar for Nina0X

Anyone is building Uniswap V4 Hooks? Would love to learn more about what you are working on, looking for developers' pain points to contribute through Uniswap V4 Hook Developer's assistant chatbot!

Software Development python seo
Member Avatar for Dani
0
67
Member Avatar for samzz

Hello, I would like to wrap (surround) all words "flyer" (case insensitive) in the HTML text content, not those in the link. My RegEx works fine on Regex101: https://regex101.com/r/NVmXd1/1 Attached, my HTML file to test my (non working) JS RegEx. Thank you and regards.

Software Development html-css regex
Member Avatar for Dani
0
69
Member Avatar for Julius_10

Resolution of error "Run-time error '3709'" at make-table from sql select statement

Software Development visual-basic
Member Avatar for rproffitt
0
89
Member Avatar for zidan
Member Avatar for trueframe
0
92
Member Avatar for Airlike

Hello everybody I'm a student and having problems with an assignment - I have at the moment no idea how to achieve an appropriate solution. I'm aware that you shouldn't help me by showing some code. That's okay for me since I want to solve it by myself but I …

Software Development c++
Member Avatar for trueframe
0
7K
Member Avatar for arcon

I think I can record but I can't read with the option button checkbox I don't know if I do the recording procedure correctly

Software Development visual-basic
Member Avatar for SCBWV
0
93
Member Avatar for jprog1000

Hello, I have a program which creates multiple balls and bounces them off when they collide. This works fine. import java.awt.Rectangle; public class Ball{ private int x = 0; private int y = 0; private int radius; private int panelwidth = 500; private int panelheight = 500; private int xDx …

Software Development java
Member Avatar for aishamushtaq
2
177
Member Avatar for Fergus_1

ok so i have a page with a gridview on it and it displays rows from sql table. i have also a link assigned to each row: <asp:GridView ID="GridViewMatters" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridViewMatters_RowDataBound"> <Columns> <asp:BoundField DataField="client_ref" HeaderText="Client Reference" /> <asp:BoundField DataField="our_ref" HeaderText="Our Reference" /> <asp:BoundField DataField="client_name" HeaderText="First Name" /> <asp:BoundField DataField="section_name" …

Software Development asp.net
1
29
Member Avatar for Thomasio

I want to figure out what Windows does when you right-click a video file and check properties and I would like to write a similar piece of code in C++. I should be able to figure out how to read the file type and size, but I'm lost in how …

Software Development c++
Member Avatar for Thomasio
0
199
Member Avatar for cambalinho

these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As Double Dim VertDist As Double …

Software Development vb.net visual-basic
1
41
Member Avatar for SHWOO

Hi, I am trying to get a cat walking back and forth between the screen using a left and right tileset of bitmaps. Also, I am supposed to be able to control two caveman sprites that appear to walk left and right as you press the left and right keys. …

Software Development c++
Member Avatar for Pavel_11
0
330
Member Avatar for Audun

Hi I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools. When I run this command in "Python 3.12", which looks like CMD to me, I get a syntax error. "To create a virtual environment, Python supplies a built in venv module which provides the …

Software Development gui python
Member Avatar for Reverend Jim
1
57
Member Avatar for 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 …

Software Development python
Member Avatar for Reverend Jim
1
42
Member Avatar for Mike Askew

There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial …

Software Development c#
Member Avatar for Shahzad111
17
3K
Member Avatar for vegaseat

Using PySide's QAbstractTableModel allows you to easily customize a widget like QTableView and make it more generic in its application. Here we use it to present solvent data in tabular form and sort each column content by simply clicking on the header. You can feed it any data as long …

Software Development python
Member Avatar for Mark_94
5
6K
Member Avatar for Tom_45

I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td>238</td><td>Micah</td><td>Kristine</td> <tr align="right"><td>239</td><td>Collin</td><td>Raquel</td> I am using the pattern match = re.findall(r'<td.?>([\d+])([.?])*<\/td>', file) The file is created with a read() statement. The output should look like (236, "Roy", "Allyson") (237, …

Software Development python regex
Member Avatar for Tom_45
1
125
Member Avatar for cambalinho
Member Avatar for cambalinho
1
95

The End.