3,044 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for razstec

Anyone know why this is not adding borders to my sheet? thick = Side(border_style="thick", color='FF0707') ws['F1'].border = Border(top=thick, left=thick, right=thick, bottom=thick) for row in ws['A1:D10']: for cell in row: cell.border = Border(top=thick, left=thick, right=thick, bottom=thick)

Programming openpyxl python
Member Avatar for Reverend Jim
0
37
Member Avatar for kasmar45

I want to make several of my textbox.text properties equal to variables. I tried: Dim outcome As New txtResult.Text outcome = "xxxxx" this produced an error. :( first, is this possible and if it is, what am I doing wrong???

Member Avatar for Reverend Jim
0
134
Member Avatar for dimitrilc

## Introduction ## Before Java 8, methods had to throw an exception or return `null`, with neither of which approaches were perfect. Optional, OptionalInt, OptionalLong, and OptionalDouble were introduced in Java 8 to represent values that might possibly be `null`. Optionals have two internal states, **empty** or **present**. An Optional …

Member Avatar for JamesCherrill
2
1K
Member Avatar for dimitrilc

## Introduction ## There are many ways to design secure Java objects. In this tutorial, we are going to learn how to create secure Java objects by understanding **Accessibility**, **Extensibility**, and **Immutability**. ## Goals ## At the end of this tutorial, you would have learned: 1. Understand how and why …

Member Avatar for JamesCherrill
2
144
Member Avatar for dimitrilc

## Introduction ## Java 15 introduced Text Blocks. The main reason behind Text Blocks is that programmers can write multiline strings without having to specify escapes for the most common scenarios. ## Goals ## At the end of this tutorial, you would have learned: 1. How to store multiline String …

Member Avatar for JamesCherrill
2
141
Member Avatar for redZERO

Hi guys I can't seem to get a new line in a [CODE]JOptionPane.showMessageDialog(null, " ");[/CODE] statement. I try the /n command, but it still doesn't seem to work. Is there any way I can get a paragraph in a dialog box like this? Thanks.

Member Avatar for Samukelo
0
18K
Member Avatar for colby.christensen

Years ago I wrote a program in Fortran for a structural analysis class. At the time I had very little programming experience and mottled my way through the assignment. Fast forward to now and I'm attempting to teach myself Python 3. I figured I'd would try to convert the old …

Member Avatar for Reverend Jim
0
4K
Member Avatar for martin_57

Hi, I am currently working on a banlist and I am thinking about which data type to choose for storing the IP address in the database. Will the Binary data type be ideal?

Programming mysql
Member Avatar for Vikas_30
0
514
Member Avatar for SoftBa

Hi guys, I have one question about Visual Basic and DataGridView behaviour. So, after I type all the text boxes and click on button (save data), I would like user to get focus on that new data. Now, each time button is clicked, DataGridView goes on a first row. New …

Member Avatar for SoftBa
0
246
Member Avatar for Khen Louegie

I'm supposed to make a menu with choices, the choices being different kinds of java syntax. import java.util.*; public class Start { public void menu() { System.out.println("[1] If\n[2] If else\n[3] For loop\n[4] Switch Statement\n[5] One dimension"); System.out.print("Select program: "); } public void backend() { System.out.println("[9] Menu\n[0] Quit"); Scanner q = …

Member Avatar for JamesCherrill
0
172
Member Avatar for Sagar_9

Hi All, Good Day. Is there any sample code in JAVA for generating encrypted block PIN in the similar fashion as the Hardware Security Module Regards, Sagar

Member Avatar for Sagar_9
0
92
Member Avatar for Rishabh_8

I have learning this from youtube,php quiz using ajax. I am facing problem when click on next button after last question it is not redirecting on final page. Please help me to fix this. I think responseText not working. Question.php page to where i display question <script type="text/javascript"> var questionno="1"; …

0
83
Member Avatar for forgot

> Hi guys, I blinked and got lost. All I want to do is copy Payfile to Pmtfile and then update records in Payfile that have been paid(amtpaid !=''). The update doesn't happen and the insert-note comments at botom of post. <?php $link = mysqli_connect("localhost", "root", "", "prerentdb"); // Check …

Member Avatar for patk570
0
75
Member Avatar for Hackmoses

A program A class has Random number of students.... They took an exam and got random scores from 1 to 100. Write to the console: the number of students in the classes The number of students that passed (above 70) The number of students that got average scores (between 50 …

Member Avatar for Vikas_30
0
61
Member Avatar for Bright_4

From the below, how can I make the variable $new_status recognisable within those brackets? $sendData = '{ "messages" : [ { "content" : "Your order is $new_status.", } ] }'; Problem: The above sends out text message successfully on status update, but the variable $new_status does not get updated. I …

Programming php
Member Avatar for Dani
0
58
Member Avatar for Frank_43

I was wondering how to make a paint program exclusively from graphics.py not tkinter.py Here is my code by I don't know how to continue it from graphics import * win=GraphWin('Buffet Hot Pot',1200,800) win.setBackground('whitesmoke') while True: click=win.getMouse() clickX=click.getX() clickY=click.getY()

Programming python
Member Avatar for rproffitt
0
53
Member Avatar for aditi_13

I am new to python dataframes so please help me do a merge on pandas dataframe. df1 custid custname email phone x tina z.gmail.com 345-345-3456 y mina z1.gmail.com 445-345-3456 z zina z2.gmail.com 555-345-3456 q pina 233-456-3456 df2 custid custname email phone x tina z.gmail.com 345-345-3456 y xina z1.gmail.com 445-345-3456 k …

Programming python
Member Avatar for bboycage
1
233
Member Avatar for Zirely

Hello, I need help to make this code to run please. this is just a part of the code. I have the imports below, but hsa.Console is not imported, I have tried to download de jar files for it but cannot find it. Is there a way I could make …

Programming java
Member Avatar for rproffitt
0
154
Member Avatar for Paul_97

This is a complete tutorial on creating a Deterministic Finite Automata (DFA) in Swift. Go through the entire post to get familiar with all aspects of DFAs, and then implement your own DFA in Swift from scratch by following the steps given here. This will give you real-world experience on …

Programming dfa swift theory
2
325
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will focus on how to manage IO permissions to read, write, and delete local files using the `SecurityManager` class. ## Goals ## At the end of this tutorial, you would have learned: 1. What policy files are and how to use them. 2. …

2
254
Member Avatar for Reverend Jim

# Comparing two videos side by side I have been creating walk-through videos on the cheap by just wandering through an area with my little Sony camera. Lacking a steady-cam I just try to hold the camera as steady as possible. Fortunately, with the proper (free) tools I can still …

Member Avatar for Reverend Jim
1
863
Member Avatar for din_hilmi

hello, i'm newbie here and also in programming world. so I would to request help from pros here. my question is, how to print out number entered in random in ascending order WITHOUT USING ARRAY AND FUNCTION? let say the user key in 4, 56, 31, 90, 11 and the …

Member Avatar for Aditya_47
0
44K
Member Avatar for usdblades

I just started learning Python Last Night and I am curious of how to put a pause at the end. I did the Famous Hello World Program and when saved and Executed it seems like it runs and closes before I can even read the text. I tried raw_input("Press ENTER …

Member Avatar for Theofanis
0
2K
Member Avatar for Sagar_9

Hi Everyone, Is there a java code to convert SWIFT MT103 message to pacs 008 ISO20022 format? Thank you. Regards, Sagar

Member Avatar for Sagar_9
0
441
Member Avatar for brodeur

// The "FriedmanRPSgame" class. import java.awt.*; import hsa.Console; public class FriedmanRPSgame { static Console c; // The output console public static void main (String[] args) { c = new Console (); // VARIABLES int rock; int paper; int scissors; // INPUT c.println (" Choose 1 for rock, 2 for paper, …

Member Avatar for Zirely
0
240
Member Avatar for oladiti4real

How can I build a responsive mobile app with PHP as a web developer, I'm a newbie in web development please and I wish to maintain apex growth in this field

Member Avatar for Dani
0
146
Member Avatar for Gerard_1631

Good afternoon, I'm haven't coded in a very long time, and now I have some time in my life I'm actually coding a Quiz application in vb.net using ms access for the question/answer database. This project is what the student will see when their taking the test, and my issue …

Member Avatar for Reverend Jim
0
128
Member Avatar for Bright_4

I need to add variable called $new_status, but its not being recognised on php, any suggestions. $sendData = '{ "messages" : [ { "content" : "Your order is $new_status.", } ] }';

Programming php
Member Avatar for patk570
0
85
Member Avatar for katesfb

Hi, I am new to this forum and also new to android programming using Android Studio and am stuck on a coding problem so i am not sure this is the right forum but any help is much appreciated: I am trying to get some some code via the processing-core …

0
48
Member Avatar for Tierra

#include <iostream> using std::cin; using std::cout; using std::endl; using std::ios; #include <iomanip> using std::fixed; using std::setw; using std::setprecision; using std::showpoint; int main() { const int PEOPLE = 5; const int PRODUCTS = 6; int sales[5][6]={{1},{2},{3},{4}}; double value; double totalSales; double productSales[ PRODUCTS ] = { 0.0 }; int salesPerson; int …

Programming c++ javascript
Member Avatar for Adnane_2
0
15K

The End.