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,303
» Latest member: TimTom420
» Forum threads: 38,797
» Forum posts: 175,898

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 33 Guest(s)
Bing, Google, AOL, Apple

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
9 minutes ago
» Replies: 2
» Views: 49
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Today, 04:48 AM
» Replies: 6
» Views: 7,797
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Today, 02:09 AM
» Replies: 7
» Views: 622
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 120
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 99
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 175
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,207
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 292
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 177
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 112

 
  Best section to do a while loop in my code
Posted by: mrapple2020 - Apr-15-2019, 01:14 AM - Forum: General Coding Help - No Replies

Hello, this is my goal:
User will enter password thru a function getpass(). That function to get password will occur just one time.
Then a list of I..... More

Print this item

  pyQt5 QCalendarWidget setHeaderTextFormat
Posted by: zazen000 - Apr-14-2019, 11:50 PM - Forum: GUI - No Replies

As written displays widget with a black background (what I want) except for the outer frame and the horizontal header. want to make the entire widge..... More

Print this item

  chatbot errors
Posted by: francisco_neves2020 - Apr-14-2019, 11:46 PM - Forum: GUI - No Replies

[python]import nltk
import numpy as np
import random
import string # to process standard python strings

f=open('chatbot.txt','r',errors = 'ignor..... More

Print this item

  Tracking Object Help Algorithm
Posted by: afyaldiz - Apr-14-2019, 11:28 PM - Forum: Data Science - No Replies

i have a few problems
Trying to do object tracking application. I created a gui, whichever of the datasets I have pressed ( by servo), but I have a f..... More

Print this item

  How to list number of times element is in defaultdict and delete it
Posted by: mrapple2020 - Apr-14-2019, 10:08 PM - Forum: General Coding Help - Replies (3)

Goal:
if I see a certain value (example below is "0/1") listed more than 2 or more times I want:
1) Remove all respective items from the defaultdic..... More

Print this item

  I want to add a help section to the electronic board game I'm writing.
Posted by: keames - Apr-14-2019, 10:02 PM - Forum: GUI - Replies (7)

I am in the process of writing an Othello (reversi) game for my mother. It's nearly done, but to polish it off, I want to add a help section. Currentl..... More

Print this item

  Issues with while loop, while (var != 0): does not work, but while (var !=''): works
Posted by: danilo - Apr-14-2019, 09:59 PM - Forum: Homework - Replies (2)

Hi there,

I have an issue (line 44 of this code) when using this statement, it creates an infinite loop:
while capital != 0:
However, everyt..... More

Print this item

  Unknown error in pygame :(
Posted by: TheDovah77 - Apr-14-2019, 09:06 PM - Forum: General Coding Help - Replies (1)

So I am kind of new to pygame and python in general, and I am trying to make this basic game. But when I try to launch the game it just says there is ..... More

Print this item

  Passing a local variable outside of a function
Posted by: malonn - Apr-14-2019, 06:22 PM - Forum: General Coding Help - Replies (8)

I have a sort of specific question today. I want to know how, in the specific case of my code, how I can pass a function's local variable outside the..... More

Print this item

  strip space from end of a row of text
Posted by: ineuw - Apr-14-2019, 06:08 PM - Forum: General Coding Help - Replies (4)

I am using Linux Mint 19.1 and Python 3.6.

Proofreading pages of text on the web, where each row ends with a space, followed by a newline. I need ..... More

Print this item

  A very simple, general question of the big picture of how python works
Posted by: Markg2 - Apr-14-2019, 06:01 PM - Forum: News and Discussions - Replies (4)

I will be starting to learn Python once I settle on a really good beginner text & free online beginner 'class' (that's not constantly asking you to up..... More

Print this item

  Validating information from .csv file before executemany
Posted by: mzmingle - Apr-14-2019, 05:50 PM - Forum: General Coding Help - Replies (7)

Hi,

I'm currently having an issue with my code. I have an option for a user to choose a .csv file with names and surnames of their students and thi..... More

Print this item

  fastest way to record values between quotes
Posted by: paul18fr - Apr-14-2019, 04:06 PM - Forum: General Coding Help - Replies (5)

Dear All,

I've not been using Python for years (I'm rather a matlab user), But I've the opportunity to work with it again. Blush

The goal i..... More

Print this item

  csv to xlsx, remove " while writing to excel
Posted by: anna - Apr-14-2019, 03:53 PM - Forum: General Coding Help - Replies (3)

Hi All,

My sample data from csv file is as below, I am reading csv file and writing to excel, but " not getting removed, however, I pasting same to..... More

Print this item

  Code snippets for building multi column Listviews and or Treeview
Posted by: KevinBrown - Apr-14-2019, 03:23 PM - Forum: General Coding Help - Replies (3)

I have been working with another programming language for many years and I was very well used to Listview 'widgets' that had multiple column abilities..... More


Attached Files

Thumbnail(s)
       
Print this item

  Error loading location on openweathermap via API with Kivy
Posted by: Gigux - Apr-14-2019, 02:40 PM - Forum: General Coding Help - Replies (10)

Dear all,
I am following the examples reported in Phillips' manual 'creating apps in Kivy' (O'Reilly); exercise 2-10 is related to using API to quer..... More

Print this item

  upload Files to FTP and file name is Chinese
Posted by: mollychen - Apr-14-2019, 01:29 PM - Forum: General Coding Help - Replies (2)

hi,

i have a file folder to be uploaded to FTP, but some file names are Simple Chinese, some are traditional Chinese.
Currently,traditional Chines..... More

Print this item

  Multiple process access to a serial port
Posted by: mkonnov - Apr-14-2019, 12:42 PM - Forum: General Coding Help - No Replies

Hi all,


I need to implement the multiple process access to a serial port.
Do anybody implemented that ?

My code call will look like the follo..... More

Print this item

  Problem to sent message with pyserial and ser.write
Posted by: DJ_Depannage - Apr-14-2019, 10:23 AM - Forum: General Coding Help - Replies (18)

Hello Everybody,

I need your help to solve a problem.

I need to send command line in MESSAGE BOARD - MML16R Velleman connect by USB/RS232 in Ras..... More

Print this item

  How can I make a faster search algorithm
Posted by: pianistseb - Apr-14-2019, 07:42 AM - Forum: General Coding Help - Replies (19)

I am using biopython for dna sequences. I want to make an algorithm which searches a big motif (about 1000 letters). Because it is impossible to find ..... More

Print this item

  drawing, moving, and collision problems (pygame)
Posted by: SheeppOSU - Apr-14-2019, 07:10 AM - Forum: Game Development - Replies (26)

I'm making this game and do far it's been good but now I have a problem. Tje problem is my character does not appear on the screen. It did what it was..... More

Print this item

  looking for a multi item container
Posted by: Skaperen - Apr-14-2019, 06:55 AM - Forum: General Coding Help - Replies (2)

this would be quite easy to implement; perhaps easier than the effort to find an existing one (since i am not very good at the latter), perhaps alread..... More

Print this item

  Evaluating multiple lists in a tuple
Posted by: cdogo - Apr-14-2019, 04:27 AM - Forum: General Coding Help - Replies (2)

we have a program that evaluates and adds the content of one list but we want a function that evaluates and adds for an arbitrary amount of lists. rig..... More

Print this item

  importing an attribute
Posted by: Skaperen - Apr-14-2019, 03:06 AM - Forum: General Coding Help - Replies (7)

when i do:

import botocore.session
my_session = botocore.session.get_session()
it works OK.

but if i do:[python]import botocore
..... More

Print this item

  getting error No module named flask_login
Posted by: aruneshdutta - Apr-14-2019, 02:22 AM - Forum: General Coding Help - No Replies

Hello all

I was installing Pgadmin for controlling Postgres database as instructed was following steps, in execution of pgadmin4.py file for config..... More

Print this item

  too much "self."
Posted by: Skaperen - Apr-14-2019, 12:00 AM - Forum: General Coding Help - Replies (7)

lots of code has self. in so many places. what are good ways to reduce that? i hate typing the same thing so many times and have assi..... More

Print this item

  dclock in python
Posted by: Skaperen - Apr-13-2019, 11:53 PM - Forum: GUI - Replies (5)

Ubuntu (at least in 16.04) comes with a program called "dclock" that displays a 4 digit or 6 digit emulation of a 7-segment LED clock, stretchable to ..... More

Print this item

  Trying to strings of pos to int tuples
Posted by: SheeppOSU - Apr-13-2019, 11:22 PM - Forum: Game Development - Replies (2)

I'm working on a multiplayer game and was watching a tutorial. For one of the functions I need to read info. I'm getting an error when trying to split..... More

Print this item

  waking up every second
Posted by: Skaperen - Apr-13-2019, 08:57 PM - Forum: General Coding Help - Replies (4)

if you write some code to wake up every second, it could accumulate the system delays and quickly be way off. what have you done to deal with this? ..... More

Print this item

  You can call a function without it's arg's?
Posted by: GrooTheWanderer - Apr-13-2019, 08:31 PM - Forum: General Coding Help - Replies (6)

Absolutely brand new to python.
Here is some code from a tutorial that works, I just don't understand why.
[python]
strs = ['xc', 'zb', 'yd' ,'wa']..... More

Print this item

  approximation
Posted by: mcgrim - Apr-13-2019, 08:22 PM - Forum: Data Science - Replies (10)

I am writing a function that approximates the natural logarithm function by using the following formula
under iteration:
a sub 0= (1+x)/2 b sub 0=..... More

Print this item

  sklearn regression to excel
Posted by: punksnotdead - Apr-13-2019, 07:39 PM - Forum: Data Science - Replies (1)

#I'm using the following to generate linear model coefficients
#I'm only showing some of the code here
#They print out OK in the DOS window

[pyth..... More

Print this item

  problem with complex number
Posted by: jodrickcolina - Apr-13-2019, 06:36 PM - Forum: General Coding Help - Replies (1)

I have a problem when I wanna work with complex number in python 3, the problem is that I do not know how to convert a string to "complex" when I save..... More

Print this item

  Need help understanding simple Array code. Please.
Posted by: stluwa - Apr-13-2019, 05:38 PM - Forum: General Coding Help - Replies (1)

[python]
import pandas
import numpy
dataframe = pandas.read_csv("C:\Users\stluwa\cars.csv")
array = dataframe.values
X = array[:,0:8]
Y = array[..... More

Print this item

  Server and Network (socket) [WinError 10053]
Posted by: SheeppOSU - Apr-13-2019, 02:40 PM - Forum: Networking - Replies (2)

I was watching a tutorial on using socket to create servers and connect clients to make a multiplayer game. The problem is I keep getting this error. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 9 minutes ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Today, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Today, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
Most views
  The best Prog... 579410
  Tutorial Requ... 512478
  Web Scraping ... 442305
  Newbie with P... 386356
  New Users Int... 380510
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TimTom420 Today
cruisesfares Today
SNR Today
Jonathan Today
matt Yesterday

User Panel Messages

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