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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,935
» Latest member: tobey12
» Forum threads: 38,722
» Forum posts: 175,509

Full Statistics

Online Users
There are currently 58 online users.
» 0 Member(s) | 50 Guest(s)
Bing, Google, AOL, Internet Archive, AOL, Mojeek

Latest Threads
Why Is Assignment Help Au...
Forum: News and Discussions
Last Post: tobey12
2 hours ago
» Replies: 0
» Views: 17
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 2,807
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,228
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 247
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 560
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,719
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 661
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 244
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,198
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,418

 
  how to save python file to working directory
Posted by: rpdohm - Sep-12-2017, 12:05 AM - Forum: General Coding Help - Replies (3)

I am using Bash terminal and my working directory is /home/rpdohm. I am using IDLE to create my python script and when I save my python script (i.e. ..... More

Print this item

  Trade secret?
Posted by: RMcGovern - Sep-12-2017, 12:03 AM - Forum: News and Discussions - Replies (4)

I'm a middle aged guy who used to program in basic. I have some ambition to develop my own sports sim game so I started in player generation. Now i'..... More

Print this item

  bunbot
Posted by: metulburr - Sep-11-2017, 05:58 PM - Forum: Board - Replies (4)

Do you guys remember bunbot?

Was he the one that updated this information from IRC?
http://bunburya.netsoc.ie/ircstats/python-forum.html

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Why Is Assignment Help Au... 2 hours ago tobey12 tobey12 News and Disc...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575972
  Tutorial Requ... 497383
  Web Scraping ... 439940
  Newbie with P... 383679
  New Users Int... 366114
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday
XenonBlack 09-16

User Panel Messages

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