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,259
» Latest member: JamesFalkner
» Forum threads: 38,783
» Forum posts: 175,839

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, AOL, kshahzad1985

Latest Threads
PyQt6 QWidgets and system...
Forum: General Coding Help
Last Post: stevecoh1
1 hour ago
» Replies: 0
» Views: 25
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 10
» Views: 203
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 3
» Views: 104
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 192
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 370
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 124
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 255
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 404
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 154
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,647

 
  Using an Abstract base for Game Weapon
Posted by: QueenSvetlana - Oct-31-2017, 03:55 PM - Forum: Code sharing - Replies (2)

Hoping to get feedback and help when using Abstract classes. I had an example..... More

Print this item

  Replacing with Regex
Posted by: Seelena - Oct-31-2017, 02:57 PM - Forum: Homework - Replies (2)

Hi guys

I'm trying to figure out how to replace a string in dataframe using regex's match

In my case I want to get rid of parenthesis and what i..... More

Print this item

  Error in a "for" loop
Posted by: sylas - Oct-31-2017, 02:43 PM - Forum: General Coding Help - Replies (3)

Hi all! It seems easy but it is not. Thanks for your help.
[python]print("quick_average.py")
text = "13 16 19 23"
x = text.split()
print(x)  # x i..... More

Print this item

  Need help with dezoomify code (fixed Q)
Posted by: Ezra - Oct-31-2017, 02:42 PM - Forum: General Coding Help - Replies (7)

Hello,
I try to download large images via desoomify
the code (below) works fine with the sample link
(using Spyder to run: python dezoomify.py http..... More

Print this item

  Compare each n-th element of a nested list
Posted by: Fred Barclay - Oct-31-2017, 01:26 PM - Forum: Data Science - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Avoid FreeFileSync from being launch while it has previous popups openned
Posted by: sipriusPT - Oct-31-2017, 12:57 PM - Forum: General Coding Help - Replies (1)

For those familiered with FreeFileSync, know that there is another feature called RealTimeSync(RTS), who simply doesnt work at least in my MacOS, so I..... More

Print this item

  dummy classifier accuracy and recall score
Posted by: metalray - Oct-31-2017, 09:27 AM - Forum: Homework - No Replies

Dear Python Experts,
I have been searching for a few hours now how to use a dummy classifier to get the accuracy and recall score
but cant find any ..... More

Print this item

  Script crashes when called from a second script
Posted by: cryomick - Oct-31-2017, 06:57 AM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Help with rhel
Posted by: jackkiu158 - Oct-31-2017, 05:42 AM - Forum: General Coding Help - Replies (2)

t had links to download the PYTHON files. But i could not get them to open. I keep getting syntax errors when i drag them in.

Can somebody tell me..... More

Print this item

  Buttons or Radio Buttons on Tkinter Treeview
Posted by: draems - Oct-31-2017, 04:06 AM - Forum: General Coding Help - No Replies

Is it possible to place a button or radiobutton on a treeview cell?

Print this item

  Issue with if statement
Posted by: trixter6673 - Oct-30-2017, 11:53 PM - Forum: Homework - Replies (3)

hi there guys, I am new with python and need help with this issue as I can't seem to find any answer when I run the code. The code I used is :-
x= in..... More

Print this item

  Can someone please help me?
Posted by: zykbee - Oct-30-2017, 11:45 PM - Forum: General Coding Help - Replies (12)

Why does it keep saying denied when I write "password" in the text box. I assume it has to do with the "content=" line, but for the life of me I have ..... More

Print this item

  How do you change specific elements in a char array of string?
Posted by: JoeB - Oct-30-2017, 11:01 PM - Forum: Data Science - Replies (4)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How to direct python to use a specific network adapter?
Posted by: ormesome - Oct-30-2017, 10:43 PM - Forum: Networking - Replies (9)

[i]This is a copy of a thread I started on StackOverflow which is getting down voted for being off topic. I regret that I didn't think to ask the good..... More

Print this item

  Draw graph (Python)
Posted by: Eberle - Oct-30-2017, 09:38 PM - Forum: Data Science - Replies (1)

I have a text file that consists of 3 columns.

0.column contain X coordinate
1.column contain Y coordinate
2.column contain 0 or 1

So far I dr..... More

Print this item

  Multiple screen in wxpython for my cluster
Posted by: djdan_23 - Oct-30-2017, 09:31 PM - Forum: GUI - No Replies

Hi! all.
I'd like to be able to switch between multiple screens. Meaning, the first one is the main, then when with a button or an external switch is..... More

Print this item

  Need Werkzeug 0.11 and flask is looking for Werkzeug 0.7
Posted by: GaPythonGal - Oct-30-2017, 09:11 PM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Ifs in PuLP
Posted by: priscila24 - Oct-30-2017, 09:02 PM - Forum: Data Science - No Replies

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  try and except
Posted by: anonymouspanda - Oct-30-2017, 08:52 PM - Forum: Homework - Replies (3)

Hi!

Doing homework for programming class, having problems with try-except. So the program works fine, it opens the txt file and searches for the co..... More

Print this item

  dc circuit calculations
Posted by: michaelj - Oct-30-2017, 08:29 PM - Forum: Homework - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  New Module!
Posted by: EgMusic - Oct-30-2017, 06:56 PM - Forum: Code sharing - Replies (12)

Hey Guys! I have made a module that allows the user to print text one letter at a time as if you were typing it! You can download this module at:

h..... More

Print this item

  Password and Username Verification
Posted by: AlwaysNew - Oct-30-2017, 06:20 PM - Forum: Homework - Replies (4)

Hello, I have been doing my coursework for computer science and my teacher advised that we go home and practice python in between hours in the coursew..... More

Print this item

  How to use python to receive Gobject.pointer
Posted by: stephenwei - Oct-30-2017, 04:56 PM - Forum: General Coding Help - No Replies

Hi,
I write a gstreamer plugin and g_signal_emit had send a struct.

when I try to use python to receive callback function. I don't know how to
re..... More

Print this item

  BTK tool in Python
Posted by: Arif - Oct-30-2017, 04:50 PM - Forum: Data Science - Replies (1)

Hello everyone,

I'm working on a project in biomechanics and i need to use BTK tools in order to play with some C3D files. But i have a problem : ..... More

Print this item

  help with game
Posted by: hammza - Oct-30-2017, 04:34 PM - Forum: Game Development - Replies (41)

hi every one Smile

I'm trying to make a game , i need help to make the bullet start from the ship

i don't know how to use coords

this is ..... More

Print this item

  Extracting clips from Aja Ki Pro FileRecorder
Posted by: underoathed - Oct-30-2017, 01:57 PM - Forum: General Coding Help - Replies (5)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  python3 on Mac OS X
Posted by: wyattbiker - Oct-30-2017, 12:31 PM - Forum: General Coding Help - Replies (3)

Hi just starting out on the Mac with python3. Need help in installing python3 correctly. It comes with python2 but no pip.

I just installed python3..... More

Print this item

  Comprehending a list comprehension!
Posted by: alidaf - Oct-30-2017, 09:58 AM - Forum: General Coding Help - Replies (4)

I have been given some example code that captures BLE broadcasts from beacons but there's a line that is really confusing me:

[python]data = [b for..... More

Print this item

  ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Posted by: rajeev1729 - Oct-30-2017, 09:27 AM - Forum: Data Science - Replies (1)

Using TensorFlow backend.
[error]Traceback (most recent call last):
File "C:\Python 3.6.3\lib\site-packages\tensorflow\python\pywrap_tensorflow_in..... More

Print this item

  Working with files and dictionaries
Posted by: OmarSinno - Oct-30-2017, 08:46 AM - Forum: General Coding Help - Replies (1)

So,
[python]txt = open('testfile.txt','r')

d= {}

numLines = 0
#reading = txt.readlines()
read = txt.readline()
print(read)

for line in t..... More

Print this item

  Print func textbox instead of shell
Posted by: zykbee - Oct-30-2017, 06:30 AM - Forum: General Coding Help - Replies (1)

Can anyone help me print this simple function to a text box instead of the shell?
[python]
from tkinter import *
root = Tk()
root.geometry("800x800")
..... More

Print this item

  Manning pub. 50% off book sale
Posted by: Larz60+ - Oct-30-2017, 06:28 AM - Forum: News and Discussions - No Replies

Hello,

Code: HalloweenPB50 for 50% off any Manning paper book.

URL: https://www.manning.com/catalog

Print this item

  Recommendation for data structure
Posted by: muteboy - Oct-30-2017, 05:06 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm self-teaching myself Python using examples and the excellent documentation.
My project is a program that uses a single random seed to genera..... More

Print this item

  PySerial Question
Posted by: PythonMan - Oct-30-2017, 03:59 AM - Forum: General Coding Help - Replies (2)

Hello,

I have installed PySerial and have been playing with its capabilities. I am somewhat new all around to Python as well as PySerial. I am loo..... More

Print this item

  Is inheritnace the only option
Posted by: QueenSvetlana - Oct-29-2017, 10:43 PM - Forum: General Coding Help - Replies (8)

I have a project I was working on in Java, and for fun, I decided to implement it in Python to see the amount of code and result. My requirements are ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt6 QWidgets and system... 1 hour ago stevecoh1 stevecoh1 General Codin...
  [solved] re.split issue 1 hour ago paul18fr deanhystad General Codin...
  Please guide me to comple... 4 hours ago pbkurd Larz60+ General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 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...
Most views
  The best Prog... 578955
  Tutorial Requ... 510417
  Web Scraping ... 441970
  Newbie with P... 385989
  New Users Int... 376996
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+ 12108
buran 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JamesFalkner Today
stevecoh1 Today
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday

User Panel Messages

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