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,254
» Latest member: Gichardaxora
» Forum threads: 38,781
» Forum posts: 175,827

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 28 Guest(s)
Bing, Applebot, Google, Mojeek, Internet Archive

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: paul18fr
1 hour ago
» Replies: 4
» Views: 65
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
6 hours ago
» Replies: 6
» Views: 331
New to python and coding
Forum: Homework
Last Post: lary_p
10 hours ago
» Replies: 5
» Views: 152
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 100
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 233
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 361
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 139
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,638
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 238
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 231

 
  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

  PYQT5 - SAVING ON EXCEL
Posted by: thestacked - Sep-09-2017, 12:30 PM - Forum: General Coding Help - No Replies

how can i make this more shortcut ? I don't know how you make it shorter like: prsheet.write(0,0,self.prname_line.text())

def PatientReg(self):

..... More

Print this item

  Trouble with LPtHW exercise 21
Posted by: pyth31 - Sep-09-2017, 12:12 PM - Forum: Homework - Replies (6)

Hi all

Im very new to programming and started Learn Python the Hard Way a week ago. Im currently at exercise 21, a lot of it makes sense but there ..... More

Print this item

  # of Positional arguments to pass for creating an object?
Posted by: burvil - Sep-09-2017, 04:56 AM - Forum: General Coding Help - Replies (2)

I'm getting an error when trying to instantiate a class, where I pass two arguments, and the third one (for self) is implicit. When I only pass in one..... More

Print this item

  The Incredible Growth of Python
Posted by: Skaperen - Sep-09-2017, 04:11 AM - Forum: News and Discussions - No Replies

i'm reading this now ...

https://stackoverflow.blog/2017/09/06/in...th-python/

Print this item

  Problem formatting output text
Posted by: aj347 - Sep-09-2017, 04:03 AM - Forum: Web Scraping & Web Development - Replies (5)

The following text is a small part of a large (4MB) file that I am trying pull text
from and save it to a csv file to open in Excel.

[color=#1ABC9..... More

Print this item

  what is ,*, ?
Posted by: Skaperen - Sep-09-2017, 01:45 AM - Forum: News and Discussions - Replies (24)

in the documentation The Python Library Reference (at least in the PDF copy) many functions and class methods are shown with an argument list that has..... More

Print this item

  Anyone play with os.scandir? It is awsome!
Posted by: Larz60+ - Sep-09-2017, 12:29 AM - Forum: Bar - Replies (5)

I'm just wondering if anyone else has played with the following:

I have been fed up with windows 7 explorer search for a long time,
but with grep ..... More

Print this item

  Is there a Python programming environment like VB6 [meta-GUI: GUI making GUI]
Posted by: JonathanEngr - Sep-08-2017, 08:08 PM - Forum: GUI - Replies (21)

I have been working with Python to create small point filtering programs for personal use. However, I would like to transition into graphics with Pyt..... More

Print this item

  I need a python coder to help me with this script
Posted by: sasha9012 - Sep-08-2017, 07:52 PM - Forum: Networking - Replies (1)

I need a python(2.7) coder to help me with this script: (rdpy-rdpscreenshot.py)
[python]rdpy.core.error.RDPSecurityNegoFail: negotiation failure c..... More

Print this item

  Unknown Syntax Error
Posted by: AlwaysNew - Sep-08-2017, 06:05 PM - Forum: General Coding Help - Replies (6)

I dont know why the first line [FIRSTNAME] is a syntax error when I run the program. Screenshot link below code.
[python]
#Password Checker
import ran..... More

Print this item

  pexpect log output
Posted by: jjwstevenson - Sep-08-2017, 03:49 PM - Forum: General Coding Help - Replies (2)

Hi folks, this is my first post so apologies if this exists in a previous post. I'm using pexpect to automate network device configuration and I'd li..... More

Print this item

  Multiple classes in another class
Posted by: Dargonoth - Sep-08-2017, 11:32 AM - Forum: General Coding Help - Replies (3)

I am new to the Python world and am having a bit of trouble trying to figure out a solution. Hopefully someone here can help this newbie out.

I am ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 1 hour ago paul18fr paul18fr General Codin...
  Backward compatibility qu... 6 hours ago yutaozhou noisefloor News and Disc...
  New to python and coding 10 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
Most views
  The best Prog... 578923
  Tutorial Requ... 510147
  Web Scraping ... 441939
  Newbie with P... 385958
  New Users Int... 376758
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Gichardaxora Today
cc123 Today
Jessicaadams Today
ftk456 Yesterday
sarbogast Yesterday

User Panel Messages

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