Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,402
» Latest member: Stephenchers
» Forum threads: 38,826
» Forum posts: 176,039

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 33 Guest(s)
Google, Bing, AOL, Applebot, Mojeek, Facebook, Stephenchers

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Stephenchers
1 minute ago
» Replies: 0
» Views: 2
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
9 hours ago
» Replies: 2
» Views: 184
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
9 hours ago
» Replies: 29
» Views: 15,745
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
9 hours ago
» Replies: 8
» Views: 3,666
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 182
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,196
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 227
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,638
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 307

 
  Comparing pictures
Posted by: pedro - Sep-11-2017, 05:33 PM - Forum: General Coding Help - Replies (1)

Hi I’m trying to compare two pictures and the objective is to illustrate changes from the original picture and the new picture. I have googled it to t..... More

Print this item

  Pipenv
Posted by: snippsat - Sep-11-2017, 05:12 PM - Forum: Web Scraping & Web Development - Replies (9)

Pipenv is now the official recommended Python packaging tool from Python.org.
The ..... More

Print this item

  python-forum source language
Posted by: hbknjr - Sep-11-2017, 04:47 PM - Forum: Board - Replies (13)

What is the python-forum websites' source language (I hope it's Python)?
And is it open source(doesn't seem like it)?

Print this item

  pylibftdi, libusb-1.0.dll, windows 7
Posted by: tigner - Sep-11-2017, 04:11 PM - Forum: General Coding Help - No Replies

Hi ,

This works on *nix,and works on *some* windows 7 machines...

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation..... More

Print this item

  function for write to chronodot
Posted by: djdan_23 - Sep-11-2017, 02:10 PM - Forum: General Coding Help - Replies (1)

function for write to chronodot

Edit
Delete post
Report this post
Quote

Mon Sep 11, 2017 12:34 pm
Hi! all
1: Is there a way..... More

Print this item

  Noob - What attributes to use for agents in evo sim (GA type)
Posted by: PySam - Sep-11-2017, 02:01 PM - Forum: Data Science - Replies (4)

Ok, hopefully this is not the wrong forum!

I'm a hatchling to Python, but understand general concepts. I want to try my hand at creating a simple lif..... More

Print this item

  API-C: call the next value from a generator
Posted by: mcanonic - Sep-11-2017, 01:52 PM - Forum: General Coding Help - No Replies

Hi all,
this is my first post and I hope that I select the right thread.
The following python code is working and I can call it from my C source cod..... More

Print this item

  How many times does it fit? help please
Posted by: skriff - Sep-11-2017, 01:06 PM - Forum: Homework - Replies (2)

What im trying to do is to check how many times does an 1x1 slice fits in the entire array, i used slice to get array "fragments" but how to check how..... More

Print this item

  Failed when communicating between threads
Posted by: pythonisse - Sep-11-2017, 11:10 AM - Forum: GUI - Replies (3)

Hi everybody,

I am trying to display an image on the window, but when I try it, I got this error:
[b]"QPixmap: It is not safe to use pixmaps outsi..... More

Print this item

  Is there any <> operator in python 3.6
Posted by: rajeev1729 - Sep-11-2017, 06:56 AM - Forum: General Coding Help - Replies (1)

Is there any <> operator in python 3.6. if yes then give me example.

Print this item

  radius of circle question
Posted by: charlottecrosland - Sep-11-2017, 05:28 AM - Forum: Homework - Replies (5)

I'm trying to run this, and it doesn't work. I accept it's a ridiculously easy program. And I'm obviously missing something terribly obvious and eas..... More

Print this item

  brute force
Posted by: skriff - Sep-11-2017, 02:44 AM - Forum: Homework - Replies (4)

I made this brute force code

[spoiler][python]tam = int(input("insert password lenght"))
if tam ==1:
for i in range(48,123):
if (i>=..... More

Print this item

  SoX Sound Exchange sample code to Rec & Play audio file
Posted by: Fran_3 - Sep-11-2017, 12:15 AM - Forum: General Coding Help - Replies (3)

Looking for a sample of how to record a sound file via Python and SoX Wrapper
Ditto for playing a recorded file.

Thanks for any help.

Print this item

  K means clustering using heatmap
Posted by: Rifscape - Sep-10-2017, 11:08 PM - Forum: Homework - No Replies

Hey guys,
So in another post I asked how to get a heat map working. Well I was able to get the heat map to work. But I've ran into another problem re..... More

Print this item

  How to split name.jpg and get the string name
Posted by: Pedroski55 - Sep-10-2017, 10:42 PM - Forum: General Coding Help - Replies (3)

As a beginner, I have almost done what I want to do.

I can use python to resize photos, resize the excel table row heights, put photos in each row..... More

Print this item

  Write two statements to read in values for my_city followed by my_state. Assign log_e
Posted by: Eliteucantbeat - Sep-10-2017, 09:29 PM - Forum: General Coding Help - Replies (1)

You can't edit lines 1-4 and line 11. This is what I have:
[python]current_time = '2014-07-26 02:12:18:'
my_city = ''
my_state = ''
log_entry = ''..... More

Print this item

  tidying Up
Posted by: SummoningZ - Sep-10-2017, 08:47 PM - Forum: Homework - Replies (1)

Hi,

I'm not sure if I have cleaned up my code enough could I make it more tidy?

[python]# PRINT ROWS #
def printing©:
print("1: " + " ".j..... More

Print this item

  parsing values and writing back in xml file
Posted by: deepa - Sep-10-2017, 04:59 PM - Forum: General Coding Help - Replies (4)

Hi All,
I am attempting to parse the values from an xml file ,modify these vales and re-write the new values back into the xml file.
I have parsed t..... More

Print this item

  Supplying 2 arguments to 3-argument function
Posted by: valtih - Sep-10-2017, 03:25 PM - Forum: General Coding Help - Replies (3)

I have the following piece of code
[python]
def visit(self, path, rootf, extraf):
return extraf(path, path.parent().visit(rootf, extraf))
[/..... More

Print this item

  Python 3.6.2 & Mac Sierra 10.12.6
Posted by: eczmrmn - Sep-10-2017, 02:35 PM - Forum: Networking - Replies (3)

Until last month I had been happily using Python 3.6.2 to control a Lifx Z multizone light strip. Then Apple did a security update (10.12.6) to the o..... More

Print this item

  TypeError: 'list' object is not callable
Posted by: rajeev1729 - Sep-10-2017, 12:36 PM - Forum: General Coding Help - Replies (4)

please give a runnable sample of your code with the full error text or a clear description of the problem[python]
aTuple = ('xyz', 'zara', 'abc')
aL..... More

Print this item

  NameError: name 'cmp' is not defined
Posted by: rajeev1729 - Sep-10-2017, 12:17 PM - Forum: General Coding Help - Replies (3)

[python]
list1, list2 = [123, 'xyz'], [456, 'abc']
print cmp(list1, list2)
print cmp(list2, list1)
list3 = list2 + [786];
print cmp(list2, list3)..... More

Print this item

  Facebook AutoPost
Posted by: badpandahere - Sep-10-2017, 11:55 AM - Forum: Web Scraping & Web Development - Replies (6)

Hello and much respect to you all Phyton Lovers! I just started learning C langguage and im not so good at Phyton but my question is:
Is it possible ..... More

Print this item

  Understanding Python terminology
Posted by: GoodGuy - Sep-10-2017, 09:38 AM - Forum: General Coding Help - Replies (3)

I want to learn Py. I have downloaded and installed Python 3.6 and prefer using an IDE.
However I am having big trouble making sense of all the vario..... More

Print this item

  Loop question
Posted by: kraven - Sep-10-2017, 06:19 AM - Forum: Homework - Replies (3)

Extremely new to programming, and I am trying to get this whole loop thing down. I am doing one of the assignment's that I am sure you all have probab..... More

Print this item

  Replace only '-' values with NaN, don't remove minus sign for negative numbers.
Posted by: rajpython - Sep-10-2017, 05:44 AM - Forum: General Coding Help - Replies (2)

I have '-' and some negative numbers '-2.5' in a column of data. How to replace only column values having only '-' with NaN, leaving negative numbers..... More

Print this item

  Using Data
Posted by: RMcGovern - Sep-10-2017, 02:27 AM - Forum: General Coding Help - Replies (5)

I haven't coded a thing in 25 years and that was mostly basic. I don't really understand what the various shells are for. And I'm having issues with..... More

Print this item

  Scrape Multiple items from a webpage
Posted by: Prince_Bhatia - Sep-09-2017, 10:59 PM - Forum: Web Scraping & Web Development - Replies (2)

i am trying to scrape image and table from a wikipedia page and write it into csv but i am confused that how to club them together and write this data..... More

Print this item

  Socialhome v0.4.0 (2017-08-31)
Posted by: dvs1 - Sep-09-2017, 10:24 PM - Forum: News and Discussions - No Replies

[quote]Socialhome is best described as a federated personal profile with social networking functionality. Users can create rich content using Markdown..... More

Print this item

  Window unresponsive when executed.
Posted by: fawazcode - Sep-09-2017, 10:08 PM - Forum: GUI - Replies (2)

I ran the following code in Spyder with Python3 interpreter in windows7.

import tkinter
import tkinter.simpledialog

root = tkinter.Tk()

name..... More

Print this item

  Simple Post in Kali
Posted by: mgeorgevich5317 - Sep-09-2017, 08:27 PM - Forum: General Coding Help - Replies (3)

I tried my first coding in kali on python 3:

>>> !#/usr/bin/python3
... def main():
... print ("Hello Python!")
... if _name_ == "_main_" :..... More

Print this item

  Spyder 3.2.2 (2017-09-05)
Posted by: dvs1 - Sep-09-2017, 08:25 PM - Forum: News and Discussions - No Replies

New features:

- Add a button to Find in Files to make searches case sensitive.
- Extend Find in Files to select other search directories.
- Add a..... More

Print this item

  plotting trend
Posted by: Firstname_Lastname - Sep-09-2017, 06:56 PM - Forum: General Coding Help - Replies (1)

0
down vote
favorite
I have a csv file with data in the following format -

Issue_Type DateTime
Issue1 03/07/2011 11:20:44
Issue2 ..... More

Print this item

  help me this code
Posted by: tahseen - Sep-09-2017, 03:36 PM - Forum: General Coding Help - Replies (1)

def arec(l, b):
return l * b
def asq(s):
return s * s
def atri(h,b):
return (h*b)/2
def acir®:
return 3.14(r*r)

print("Select operation")..... More

Print this item

  Async for loop
Posted by: wavic - Sep-09-2017, 02:38 PM - Forum: Web Scraping & Web Development - Replies (4)

Well, I am not a programmer and lots of programming concepts are unknown for me be but this is a process after all. Slowly but I have some progress.

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 1 minute ago Stephenchers Stephenchers General Codin...
  a function to watch files 9 hours ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 9 hours ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 9 hours ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
Most views
  The best Prog... 580501
  Tutorial Requ... 520291
  Web Scraping ... 442810
  Newbie with P... 387030
  New Users Int... 386902
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Stephenchers Today
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020