10,754,019 members (77,270 online)
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
Javascript questions
C#4.0 questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Android
Mobile
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
728 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Reference Articles
Research Library
Questions
Answers
Forum Messages
News Items
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating (Hi - Lo)
Rating (Lo - Hi)
Popularity (Hi - Lo)
Popularity (Lo - Hi)
Modified (New - Old)
Modified (Old - New)
Thread Modified (New - Old)
Thread Modified (Old - New)
Created (New - Old)
Created (Old - New)
Title (A - Z)
Title (Z - A)
Author (A - Z)
Author (Z - A)
Price ($ - $$$)
Price ($$$ - $)
Duration (Short - Long)
Duration (Long - Short)
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Internet of Things
Article License
All Licenses
Ms-RL
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
CC (BY-ND 3.0)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Mobile Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Page 1 of 30
Page Size:
10
·
25
·
50
Tag filtered by: Python
[x]
how to generate test paths from UML diagrams
by
- NA -
Question
10 Jul 2014
license:
CPOL
I've been assigned a project to generate test paths from different UML diagrams. I've solved the program for some extent that is I have exported xmi file from the uml software and had parsed the xmi tags in the file using python code now is it possible to use the parsing python program to...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
Python
automatic virtual desktop connection
by
- NA -
Question
9 Jul 2014
license:
CPOL
Is there is any possibility to automate login into virtual desktop through any of programming languages ( either through sockets or others ) need to automate login in to vdi and access application of it in local
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
Python
socket
Virtual-Device
How Do I Connect My Check Box To Button In Pyqt4?
by
Vidhu Shah
Question
8 Jul 2014
license:
CPOL
I'm building an application in which a check box is connected to a button and the button only gets activated when the check box is marked. I have the button and check box defined in initUI function and i have created a button hide function which ive connected to my check box, but i keep getting...
General Programming
»
Uncategorised Quick Answers
»
General
Python
checkbox
buttons
Python2.7
PyQt
Why Python makes a great first programming language
by
ReadWrite
News
8 Jul 2014
Python is now the most popular introductory language at American colleges, a recent Association for Computing Machinery study reports.
Dev
Python
calling VBA from Python
by
Sergey Alexandrovich Kryukov
Answer
7 Jul 2014
license:
CPOL
Why, why those VBA scripts? If you need to manipulate Excepl workbooks with Python, use Python. There is a whole site dedicated to controlling Excel documents with Python: http://www.python-excel.org[^].—SA
General Programming
»
Uncategorised Quick Answers
»
General
Python
calling VBA from Python
by
nischalinn
Question
7 Jul 2014
license:
CPOL
I have a VBA code for manipulating the sheets of the excel workbook. I want to run this code from Python.How can I do this? Are there any good libraries in Python for VBA code. Please can anyone provide me some good examples to start with.Thanks!
General Programming
»
Uncategorised Quick Answers
»
General
Python
How do I remove the following Python Django Error?
by
09hadi
Question
7 Jul 2014
license:
CPOL
Hello everyone, I recently started working with Python django (a compulsion by my company). I have been trying to get it working but it keeps on giving me errors. Can anyone please help me with this? I am getting "ImportError at / No module named 'models'"I am following this...
General Programming
»
Uncategorised Quick Answers
»
General
Python
Django
How do I get this loop to work correctly?
by
Sergey Alexandrovich Kryukov
Answer
5 Jul 2014
license:
CPOL
The loop does work; it just has no effect, because you assign the value to the same variable several times. Each time you assign, the previous value is lost, so you see only the effect of the last assignment. All previous assignments have no side effect (except the request for input data,...
General Programming
»
Uncategorised Quick Answers
»
General
Python
How do I get this loop to work correctly?
by
- NA -
Question
5 Jul 2014
license:
CPOL
Wondering why I am not getting output into a file with this code. The loop is not working it is only catching the last entry. Whatever the last score I put in is what goes in the file. I have tried everything that I can think of or find online. The program jumps to main() back to def main():...
General Programming
»
Uncategorised Quick Answers
»
General
Python
Multiple TOR Relays Help
by
- NA -
Question
4 Jul 2014
license:
CPOL
I'm trying to use Multiple TOR exit nodes with Selenium, and I'm trying to create a function that changes the multiple identities. However, it doesn't, and returns no error. I believe there's a problem with my code that I can't quite figure out. Perhaps the controller is failing?(I have...
General Programming
»
Uncategorised Quick Answers
»
General
Python
socket
Network
Passing values from c# window forms to python script
by
Suvabrata Roy
Answer
3 Jul 2014
license:
CPOL
Hi,I never tried that.Here is way to do the same : http://stackoverflow.com/questions/11779143/run-a-python-script-from-c-sharp[^]Just before running it replace the string.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Python
Passing values from c# window forms to python script
by
Dango123
Question
3 Jul 2014
license:
CPOL
Hi,I wanted to know how do i pass values from c# window forms into a python script. I am trying to use replace the values in the python script from my c# window forms and then run the python script with the newly replaced values. Any idea how?
General Programming
»
Uncategorised Quick Answers
»
General
C#
Python
How can I capture traffic encrypt it and let it go.
by
- NA -
Question
3 Jul 2014
license:
CPOL
Hello, I want to write a program that will capture packets encrypt them and let them go on their way. Let's say that I start Firefox, and I try to connect to codeproject. Basicly I want to capture the packets that firefox has generate, encrypt them and let them go to...
General Programming
»
Uncategorised Quick Answers
»
General
Python
TCP/IP
network-programming
Faulhaber made easy
by
YvesDaoust
Tip/Trick
2 Jul 2014
license:
CPOL
Computation of the Faulhaber polynomials coefficients
General Programming
»
Algorithms & Recipes
»
Math
Python
mathematics
how to design a generic binary tree?
by
Guru Swaroop
Question
1 Jul 2014
license:
CPOL
Hi everyone, As I understand there are two kinds of binary trees: 1. Binary search trees (BST) and 2. Generic Binary treesI am looking for implementing a generic binary tree in python. I am mainly looking at designing and implementing the insertion operation in the generic...
General Programming
»
Uncategorised Quick Answers
»
General
Python
Algorithms
Finding Probability Distribution Parameters from Percentiles
by
John D. Cook
Article
26 Jun 2014
license:
Public Domain
How to determine the parameters of a probability distribution given two percentile constraints
General Programming
»
Algorithms & Recipes
»
Math
Dev
Intermediate
Python
Computing Normal Probabilities in IronPython
by
John D. Cook
Article
26 Jun 2014
license:
Public Domain
Code for computing normal probabilities and a discussion of what does and does work in IronPython
General Programming
»
Algorithms & Recipes
»
Math
Windows
Beginner
Python
Python
IronPython
Getting started with the SciPy (Scientific Python) library
by
John D. Cook
Article
26 Jun 2014
license:
Public Domain
How to get started using the SciPy library for scientific computing in Python.
Platforms, Frameworks & Libraries
»
Libraries
»
General
Dev
Beginner
Intermediate
Python
How do I use urllib2 in python for Basic HTTTP Authentication?
by
rickolous
Question
23 Jun 2014
license:
CPOL
Hey guys, I am trying to solve one of the problems in the authentication section of pentesterlabs but I just can't seem to get it right. In essence, I am trying to use the urllib2 library in python for basic HTTP authentication, however despite providing the correct username and password I keep...
General Programming
»
Uncategorised Quick Answers
»
General
Python
Base64
Basic
auhtentication
Authorization
How do I replace some letters with #'s when it is printed
by
Peter Leow
Answer
21 Jun 2014
license:
CPOL
Try this:str = "Password";str = str[:5] + "#" * len(str[5:])print str;
General Programming
»
Uncategorised Quick Answers
»
General
Python
How do I replace some letters with #'s when it is printed
by
DwindlingDwarf
Question
21 Jun 2014
license:
CPOL
Here is my code so far;Username = input ("Please enter your Username: ")Password = input ("Please enter your Password: ")print ("")print ("Your selected username: ", Username)print ("Your selected password: ", Password[0:5]+) (This is in bold as I just had to show...
General Programming
»
Uncategorised Quick Answers
»
General
Python
data train and process but dont get the correct result,why?
by
- NA -
Question
20 Jun 2014
license:
CPOL
Trainimport cv2import numpy as npfrom datetime import datetimeimport osfrom PIL import Imageimport hashlib, os, math, timeimport Image#from PIL import Imageimport ImageEnhancefrom pytesser import *from urllib import urlretrieveimport mathimport randomimport...
General Programming
»
Uncategorised Quick Answers
»
General
Python
AttributeError: 'NoneType' object has no attribute 'copy' why?
by
Boyd Hitt
Answer
20 Jun 2014
license:
CPOL
Are you sure each directory is populated? If they are not, you can fix your code by checking that img exists/ is not none and breaking the loop if it is none.Quote: img = cv2.imread(img) im3 = img.copy()Becomes img = cv2.imread(img) if img is None: break...
General Programming
»
Uncategorised Quick Answers
»
General
Python
Problem with pickling in Python
by
- NA -
Question
19 Jun 2014
license:
CPOL
HiI cannot work out why my code does not work. How do I make my program to display what has been saved to a file? Codeimport pickleclass People(): def __init__(self, name, surname, age, mobile_no, home_no): self.name = name self.surname = surname ...
General Programming
»
Uncategorised Quick Answers
»
General
Python
Finding minima of a convex list using binary seach in python
by
Homesh Rawat
Answer
16 Jun 2014
license:
CPOL
def bin_search(lis,first,end): mid = (first+end)//2 if (end - first)lis[first]: print(lis[first]) else: print(lis[end]) elif(lis[mid]>lis[mid+1]): bin_search(lis,mid,end) else: bin_search(lis,first,mid)def minima(a): b =...
General Programming
»
Uncategorised Quick Answers
»
General
Python
list
Page 1 of 30
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.8.140721.1 | Last Updated 24 Jul 2014
Copyright ©
CodeProject
, 1999-2014
All Rights Reserved.
Terms of Service
Layout:
fixed
|
fluid