Python

3K

Solutions

23

Articles & Videos

2K

Contributors

Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in other languages. Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive set of standard libraries, including NumPy, SciPy, Django, PyQuery, and PyLibrary.

Refine results

Hi everyone,

I have attached a python script. The code works to merge together a bunch of .csv files and then produces a file called “output.csv”. The problem is that the csv files need to be in th…

1944 views
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Effectively, I am waiting till the VMs are in a state where my script can continue to action upon them.  However, the VMs are not quite built by the time this loop looks for them (in other words, ther…

413 views

Someone posted a solution on HackerRank to a sorting problem.  The challenge is simple, return a sorted string in this order: lowercase, uppercase, odd nums, even nums, and the solution looks like:

518 views

If I just use the python interpreter interactively and import a module then if I type module.<double tab> then it can show me all the module available

Thanks

121 views

I have a simple text file that looks like this (Please ignore all the line numbers in the output.):
(CODE)It's just a bunch of yes's and no's in a straight text file in Windows 7.  However, I've trie…

725 views

I have a few simple scripts written in Python and I want a web interface for it.
Below is what I want, written in HTML/PHP.  This is trivial in PHP.

How can I do this in Python?

(CODE)
where…

1268 views

Hi everyone,

I'm trying to run python from the command line on Windows 7. To do this I did the following:

(1) Clicked on the start menu then right-clicked on Computer and chose "Properties"
(2)…

939 views

Hi everyone,

I have a small python script that I've been running on my mac computer through the terminal, however I need to give the script to someone using a PC so that they can run it on their lo…

1237 views

I'm trying to use the itertools groupby function here:
https://docs.python.org/2/library/itertools.html#itertools.groupby

but there are no examples of how to do this with count.  Doing the followi…

318 views

I have below two usage

(CODE)
and
(CODE)

what is the difference between these two statement?

Thanks

117 views
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Hi Guys,

I have the below python script:

data = siWfc.getWFContent("processString")
node = siWfc.getWFContent("processNode")
try:
        if len(data) > 0:
                parms = data.split…

733 views

HI have a large Selenium Python 3.5.2 32 bit script running on Windows 7.  However, I only need to focus on the part that uses control a to select the source code of the page copy it to pyperclip perf…

2482 views

hi i am new to python and need to produce a text file based on the categories in  http://m.highways.gov.uk/feeds/rss/AllEvents/East%20Midlands.xml

I have read loads and all fail. so back to basics.…

228 views

What is Python programming

364 views

Ptyhon Dex  how to use this regex for this python script: (CODE)

I have my country language wich contains 100% words in my language (CODE)
This is regex i want to integrate this regex code and use…

4047 views

Python2.7:I need a script to cut and separate in 2 parts this delimiter :
I have 3 Gb combo list so need something faster,thank you
example:
john:john
maddie:12345

would be

john
maddie

221 views

this is the line:

(CODE)

first i wanna cut this:
(CODE)

then cut this
(CODE)

thnak you

552 views

I'm running a python file on startup (@reboot python /home/me/mine/superScript.py)

I made some modifications to the file, it runs fine when launched from the console but on boot it hangs for some r…

338 views

I have a private cms summary page of posts and each post has a unique link.  When I do a source on the post hyperlinks I see the links are not there so they are  being created dynamically.  When you m…

432 views
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Nmap:How to scan rdp only open port 3333? I use this syntax but I receive port 3333 open for mysql , for rdp and for other hosts. My question is: how to scan 100% RDP ,to show only RDP open ports:3333…

565 views

I need to automate the modification of a line in the /etc/default/rsC file on Debian Wheezy using a python script

I want to change  FSCKFIX=no to FSCKFIX=yes as root

any idea how to do that?

420 views

I want to write a bash script to change the crontab from:

I want to replace:
@reboot /home/me/mv/myTempBashScript.sh &

with:
@reboot python /home/me/mv/MyPythonApp.py &

Is it possible? If s…

321 views

I'm a developer with a dual boot win 10/ubuntu 16 laptop.  Most of my php & python work is done in Ubuntu (phpstorm & pycharm).  I only boot into windows to use adobe illustrator from time to time.

434 views

I'm using the following code in python to update the system date time.  Basically user toggles the new date time with some spinners and presses enter and this is the code that is called ultimately.

637 views

Python:Remove duplicates without sorting?i want lines keep the order and not be sorted,anywaone have a  good python script?
thank you

558 views
Show more content
201506-LO-Top-001
Top Experts In
Python

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Scripting Languages
    (26,419)
  2. Programming
    (51,882)
  3. Programming Languages-Other
    (19,672)
  4. Linux
    (64,364)
  5. Perl
    (25,947)
  6. MySQL Server
    (46,362)
  7. Shell Scripting
    (9,783)
  8. Java
    (98,634)
  9. PHP
    (117,271)
  10. VB Script
    (36,267)