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.

Related Topics

  1. Scripting Languages
  2. Programming
  3. Programming Languages-Other
  4. Linux
  5. MySQL Server
  6. Perl
  7. PHP
  8. Shell Scripting
  9. Java
  10. VB Script
Refine results

Hi All,

Is there any way to convert JS file into JSON and JSON to JS using any script languages like Python or Perl?
Can you please suggest any sample code or references for this.

Thanks,

419 views
Announcing the Most Valuable Experts of 2016
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Dear all,

I am looking to convert a data frame to a nested dictionary.  I have tried: frame.to_dict(orient="records") which produces:

[{'count': 17479.0, 'std': 3.8812136764221474, 'min': …

220 views

Hi All,

I have decent powershell skills, I now want to learn either Ruby or Python , which language will you recommend  and which will be the easiest for someone from a powershell background?

760 views

Greetings,
                    I have some code in Python and want to transfer that code to a .bat script or Powershell. I have little knowledge on scripting and coding. Something I have to invest …

231 views

Hello there,

I would like to make this for loop as pythonic as possible to improve my language knowledge but my implementation does not seems to work.

Can you help?
(CODE)

328 views

I have a list of tuples of the form (A,B,C) where A, B, and C are all strings.

If, for example, lst = [ ('This','is','it') , ('This','and','that') ], the sorted order lst.sort() would give:

226 views

Hi I am trying to connect to an Oracle Database using pycharm as my IDE.  I've downloaded and installed the cx_oracle from https://pypi.python.org/pypi/cx_Oracle/5.3  

However when I try to run:

231 views

I'm using Python 3.6, and I'm getting the following error saying my variable 'quantity' is not defined, but it is defined by the users input.  Not sure why I'm getting this error.

Traceback (most …

144 views

I'm trying to get all running instances in all regions to shut them down off hours and this is the script I use. However, I get a Syntax error: return outside function. It maybe a indentation problem …

449 views

I am geting this when I attempt to use I understand that "argument of type 'NoneType' is not iterable" may be due to none being being passed as a variable?

how can I find out exactly where the …

452 views
Free Tool: Port Scanner
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hey All,

Would you recommend the best IDE for Python code development? I like to have a dark background with multiple colored code lines... Further, I would be using pandas later on, for advanced …

572 views

I have the following output i want to write a python code to read only $### and store in a list.

3/14/17
DiningGINO'S PIZZA
Dining ...2121$15.81
Open Drawer3/14/17
DiningBoosty
Dining …

951 views

https://github.com/mazen160/struts-pwn/blob/master/README.md

Refer to the above url: I've got python 2.7 installed successfully on my Win XP
ie one of the pre-requisite but still missing  …

665 views

#!/usr/bin/python

str = raw_input("Enter your input: ");
print "Received input is : ", str



[root@myserver~]# python test.py
  File "test.py", line 4
    print "Received input is : ", str…

236 views

I have an xml file that I want to extract data from and put it into a CSV file.  I have most the script working fine.  My problem is each row or data point needs a time stamp.  In the xml the times …

444 views

https://github.com/mazen160/struts-pwn/blob/master/README.md

I refer to the above url & I've got python 2.7 installed successfully on my Win XP.

When I ran the command below, got the error …

876 views

I took this code that someone posted and I'm trying to adapt it to my needs, which is stress testing a Simplex algorithm.    I've never used the subprocess function before, and the docs are not …

352 views

Hi All,

As we know that in R language you can store a  data file into a data.table and can do all kinds of data manipulations to the table variable. data.table has got a lot of built in methods …

265 views

i want to write a python code where user input a number and i want to insert in between the right place.

for example user input 35, i want to insert between 30 and 40.

a = int(input("Enter a …

447 views
Free Tool: ZipGrep
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

i want to insert 35 between 30 and 40. need to know what is the better way to do this as my code is not working properly

l1 = [10,20,30,40,50]

n=35

for e in l1:
    if e < n:
        print…

240 views

>>> s1 = set([1,2,3,4,5,6])
>>> for ele in s1:
... print(ele)
  File "<stdin>", line 2
    print(ele)
        ^
IndentationError: expected an indented block
>>>
>>> s1 = set([1,2,3,4,5,6])

240 views

here is my code can some one help me with the error please.
from download import constructYFURL
ticker = "AAPL"
start_date = "2016-01-01"
end_date = " 2017-03-06"
freq = "d"

yfURL = …

136 views

hi,

I just installed mysql and mysql workbench. I have mysql command client also installed. I have basically skipped step of installing python and completed everything as it says manual and not …

1389 views

Enviorment: Windows
Python: v3.5.2

Hi, Experts,

I am building a python file that works right now that grabs files from an URL and stores them into a variable.

Example: url1 = …

394 views

Hi,

i have a csv which has 3 separate columns .. (1) new email address (2) password (3) Old email address .

I want my python email program to send a message to "user old address" and mention his…

969 views
Show more content
201506-LO-Top-001

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.

Related Topics

  1. Scripting Languages
  2. Programming
  3. Programming Languages-Other
  4. Linux
  5. MySQL Server
  6. Perl