by: Iain Bethune |
last post by:
I am having a problem with creating a SocketChannel which can read
data. Here is the
relevant code snippet (from the code for my networking client):
SocketChannel channel =...
|
by: Andrew Henshaw |
last post by:
Yesterday, I was writing some test code for a module and I wanted some
line-oriented text to use as a data source. I thought about using a
docstring from one of the standard modules; but, it...
|
by: CYBER |
last post by:
Hello
Is there any other way under python to create blocks ??
instead of
def sth(x):
return x
|
by: Michael Chermside |
last post by:
I (Michael Chermside) wrote:
> a brace and either way it throws the logic off. I created a
> bug in one of
> my programs recently just by adding logging. It looked like this:
>
> if...
|
by: Troll |
last post by:
Hi,
Would something like:
if (-r $name) {
: # do nothing
} else {
print "File is not readable...\n";
}
|
by: John Baro |
last post by:
I need to determine which fonts are human readable.
Webdings, wingdings etc.. are not.
Is there any easy way to accomplish this?
Cheers
JB
|
by: lucifer |
last post by:
hi
i am making an http server
it has following functions
main()
{
if option is "-?", output the hints and stop
check the directory supplied is sensible and not a security risk
become a daemon...
|
by: cokofreedom |
last post by:
I've written up a little piece of code that isn't that foolproof to
scan through a file (java presently) to find functions and then look
for them throughout the document and output the name of the...
|
by: Swifty |
last post by:
I'm sending an HTML email to Lotus Notes and I'd like to hide some text
from casual observation. There is nothing sinister in this; the text to
be hidden is simply a 12-digit number that I use to...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|