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 39 online users.
» 0 Member(s) | 31 Guest(s)
Bing, Applebot, Google, Facebook Dev

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

 
  Clarification
Posted by: Hammuel - Oct-29-2017, 10:37 PM - Forum: General Coding Help - Replies (2)

This may seem like a stupid question.. But, I just started learning python today. And here is my dilemma, when coming across input I was confused as t..... More

Print this item

  Replacing variable in a split string and write new file python
Posted by: MyCode - Oct-29-2017, 07:44 PM - Forum: General Coding Help - Replies (1)

I need to open a modelica file, change a variable in a line
ex. parameter Modelica.SIunits.Height Hfsc = 3.7 "ground floor";
I need to change the Hf..... More

Print this item

  How to specify a Unicode character with Autokey keyboard.sendkeys()?
Posted by: ineuw - Oct-29-2017, 06:35 PM - Forum: General Coding Help - Replies (5)

I am attempting to send Unicode characters using Linux Autokey's 'keyboard.send_keys' command. The example below is for typing an mdash.
I am using ..... More

Print this item

  IndentationError: unexpected indent
Posted by: belikewater - Oct-29-2017, 06:09 PM - Forum: Homework - Replies (6)

[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

  lz77 code
Posted by: Dob1 - Oct-29-2017, 04:37 PM - 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

  No output from xlwings RunPython Macro
Posted by: branches - Oct-29-2017, 04:27 PM - Forum: General Coding Help - No Replies

I am attempting to use a basic example of xlwings. I have the following VBA script:

Sub Test()
RunPython ("import VBAtester; VBAtester.test()")
M..... More

Print this item

  Accept Multiple Lines of Input into a User Created File
Posted by: Bragger - Oct-29-2017, 04:15 PM - Forum: General Coding Help - No Replies

The problem starts when, from the terminal, as an example, the user cuts and pastes the following:

$thing1
thing2
thing3
thing4
...

When I o..... More

Print this item

  Problems installing Python - Failed to install MSI package
Posted by: Johnnyq70 - Oct-29-2017, 03:43 PM - Forum: General Coding Help - Replies (1)

Hello,
I am not sure if I have the correct forum so my apologize ahead of time if I do not.

I am trying to install a windows version of Python on..... More

Print this item

  import
Posted by: belikewater - Oct-29-2017, 02:59 PM - Forum: General Coding Help - 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

  When to decide whether or not to have an argument in a class method?
Posted by: JoeB - Oct-29-2017, 02:59 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

  Im embarresed to ask, but Im stuck
Posted by: Smelt - Oct-29-2017, 08:50 AM - Forum: GUI - Replies (5)

Im getting a NameError: name ' Application ' is not defined error. I want to create a simple GUI interface using tkinter for the first time. I would a..... More

Print this item

  unicode writer
Posted by: rollupstudios - Oct-29-2017, 08:42 AM - Forum: Code sharing - Replies (1)

Hi Pythonists,

I have written a unicode writer using Python for Tamil and Malayalam.

Link:
https://github.com/rollupstudios/UnicodeWriter/

P..... More

Print this item

  simple problem
Posted by: Mostafa6687 - Oct-29-2017, 08:21 AM - Forum: General Coding Help - Replies (1)

hey guys I've got a simple problem but it's so frustrating
I am trying to write a code to print all "bob" in this string and print the count at the ..... More

Print this item

  UDP FTP server
Posted by: msDirecti0n - Oct-29-2017, 04:59 AM - Forum: Networking - Replies (2)

This is an assignment where I have to create a basic FTP server using UDP and also implement some reliable data transfer.
Below is some code that I h..... More

Print this item

  Web Scraping help
Posted by: drzmdbp - Oct-29-2017, 04:35 AM - Forum: Web Scraping & Web Development - Replies (3)

[python]
import requests
from bs4 import BeautifulSoup

url = 'http://thefuckingweather.com/Where/10468'
url_get = requests.get(url)
..... More

Print this item

  How to convert python files from 32 bits tto 64 bits
Posted by: sylas - Oct-29-2017, 03:02 AM - Forum: General Coding Help - Replies (2)

Hi all! I bought a 64 bits PC and would like to transfer many files of my old 32 bits PC. Once I a am on my 64 bits PC, I suppose there is a file some..... More

Print this item

  Angle
Posted by: kripso - Oct-29-2017, 02:18 AM - Forum: General Coding Help - Replies (12)

Hi guys i would like to know how do i change angle of thhings i programed on mac? Becouse when im on windows computer i just type angle but that doesn..... More

Print this item

  3 Finance Python Exercises
Posted by: mmkthen - Oct-28-2017, 11:12 PM - Forum: Homework - 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

  CSV output problem
Posted by: chisox721 - Oct-28-2017, 08:38 PM - Forum: General Coding Help - Replies (7)

Hi guys-New Python user here. I enjoy working with basketball statistics and have realized I need to figure out a more efficient way to scrape data fr..... More

Print this item

  Can't understand how it works
Posted by: wavic - Oct-28-2017, 06:36 PM - Forum: News and Discussions - Replies (3)

Well, I started to learn kivy and have tried to build an Android app using buildozer. I run buildozer android debug with an error an..... More

Print this item

  Anaconda and other ways to run Python
Posted by: snippsat - Oct-28-2017, 06:16 AM - Forum: Python Installation and Execution - No Replies

This will mainly be about Anaconda and some other ways to run Python.
When i mention OS Python is from Python.org and tutorial for Windows [url=https..... More

Print this item

  Insert select
Posted by: UtiliseIT - Oct-28-2017, 04:45 AM - Forum: General Coding Help - Replies (1)

Hi,

What is the process of inserting some records based on a select statement? I am using PyMySql.

An example or link to tutorial would be great..... More

Print this item

  Executing a MySQL Stored Procedure with variable
Posted by: UtiliseIT - Oct-28-2017, 04:35 AM - Forum: General Coding Help - No Replies

Hi,

Newbie here just trying to get a simple insert SP that requires 1 parameter (called BrandandRetailer) with PyMySQL.

Cant quite get the syntax ri..... More

Print this item

  How to keep duplicates and remove all other items in list?
Posted by: student8 - Oct-28-2017, 03:09 AM - Forum: Homework - Replies (1)

I am trying to make a function that returns a new list where each item that appears an odd number of times in l is removed

For example,
A list li..... More

Print this item

  roulette game
Posted by: atux_null - Oct-28-2017, 12:03 AM - Forum: Homework - Replies (6)

[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

  SQLite NO column exists
Posted by: rachitmishra25 - Oct-27-2017, 08:54 PM - Forum: General Coding Help - Replies (1)

I am trying to insert values into a SQLite DB integrated with Python. I have done that successsfully for most of the tables with an exception of one w..... More

Print this item

  Sophie Germain Primes
Posted by: PythonLamer - Oct-27-2017, 06:26 PM - Forum: General Coding Help - Replies (7)

Looking for a way to optimize this to have it run a bit faster:

[python]#!python3

def isPrime(num):
if num < 2:
return False
if num =..... More

Print this item

  how to give your data column names based on char position
Posted by: whyme - Oct-27-2017, 05:10 PM - Forum: General Coding Help - Replies (7)

Hi All

I am very new to python .

I am working with a file with no column header. But the task is to give the file column names based on char p..... More

Print this item

  solve equation
Posted by: haye - Oct-27-2017, 03:56 PM - Forum: Homework - Replies (1)

hi, i did a python program to solve a 2nd degree equation:

[python]from math import *


a = input('a = ')
b = input('b = ')
c = input('c = ')..... More

Print this item

  Python written in Python, written in Python (warning: somewhat heavy image included)
Posted by: Ofnuts - Oct-27-2017, 01:53 PM - Forum: Bar - Replies (3)

All done with four Gimp scripts (all in Python of course)

[Image: aJMshKw.gif]

Print this item

  ValueError: could not convert string to float: Close??
Posted by: BlackHeart - Oct-27-2017, 12:09 PM - Forum: Data Science - Replies (3)

Honestly, I don't even understand what the issue is here... Could you guys help me out please?

It may be referring to one of my columns in my datas..... More

Print this item

  SQLite DB integration duplicate columns
Posted by: rachitmishra25 - Oct-27-2017, 10:59 AM - Forum: General Coding Help - Replies (1)

I am trying to populate an SQLite DB within a python script via a CSV file. I am getting an error whenever my code iterates through a csv that has mul..... More

Print this item

  Embedded python in C
Posted by: alxhoff - Oct-27-2017, 10:58 AM - Forum: General Coding Help - Replies (1)

Hi all,

I am currently writing a program in C where I need to embed a python script as it is part of a testbench that will be comparing many implem..... More

Print this item

  pip list available packages
Posted by: Skaperen - Oct-27-2017, 05:43 AM - Forum: News and Discussions - Replies (16)

how does pip manage packages?

when i run "pip list" it shows many packages that i installed with Ubuntu's apt-get under the names i presume would b..... More

Print this item

  what name should i give ...
Posted by: Skaperen - Oct-27-2017, 04:55 AM - Forum: News and Discussions - Replies (6)

what name should i give to a command that copies lines except for the last N lines?

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