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 35 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Applebot, AOL

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 2
» Views: 68
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,798
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Yesterday, 02:09 AM
» Replies: 7
» Views: 626
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 121
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 103
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 180
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 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: 300
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 184
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 113

 
  Helping out a friend - simple question
Posted by: Nector33 - Mar-29-2019, 08:30 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi,

I'm scrapping a website and I don't know how to print only part for the text.

[python]from bs4 import BeautifulSoup
import requests

sour..... More

Print this item

  power spectrum from 2Dfft
Posted by: sdipti596 - Mar-29-2019, 07:48 PM - Forum: General Coding Help - Replies (1)

Hi,

I am trying to calculate 2D fast fourier transform (2DFFT) of temperature data in mesosphere and lower thermosphere (MLT). Data are time vs alt..... More

Print this item

  Is there any way to properly load fixed width file into a dataframe using Pandas?
Posted by: vicky53 - Mar-29-2019, 05:35 PM - Forum: Data Science - Replies (1)

Hi,

Is there any way to properly load and write fixed width file into a dataframe using Pandas?

I'm trying to load a fixed width file using pa..... More

Print this item

  PyODBC error - second parameter to executemany must be a sequence, iterator, or gener
Posted by: RBeck22 - Mar-29-2019, 05:09 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying this to get some values into SQLServer2017. when I try this code it throws pyodbc.ProgrammingError: The second parameter to exec..... More

Print this item

  Testing an API
Posted by: a21250450 - Mar-29-2019, 04:48 PM - Forum: General Coding Help - Replies (1)

Hello all, I have an API in python and when I run it it gives me the endpoint but when I try to make the request in the postman it always gives the er..... More

Print this item

  How do I center this text in tkinter?
Posted by: ejected - Mar-29-2019, 04:33 PM - Forum: GUI - Replies (4)

[python]from tkinter import *

window = Tk()
window.title("List")
window.geometry("700x450")
window.configure(bg="orange red")

#center this la..... More

Print this item

  repeated statements when using for and if
Posted by: sunhyunshine - Mar-29-2019, 02:49 PM - Forum: Homework - Replies (2)

Hello, i have a problem with for and if.
The program returns the same statement as many times as there were books entered, and i don't know what do ..... More

Print this item

  Mass load images
Posted by: Linuxdesire - Mar-29-2019, 02:21 PM - Forum: General Coding Help - Replies (1)

I am trying to see if it is possible to import images in mass related to a field. Let me explain:

In Microsoft access I have a calculation field wi..... More

Print this item

  I want to validate that there is not more than two blank spaces in a string of charac
Posted by: jlpavon1987 - Mar-29-2019, 02:05 PM - Forum: General Coding Help - Replies (4)

I've already managed to remove the space at the beginning and end of the string with the function strip () but I do not know how to eliminate when in ..... More

Print this item

  Phone app from python code
Posted by: Androsmeq - Mar-29-2019, 02:02 PM - Forum: General Coding Help - Replies (1)

Hello, i made a python game that runs on the computer. In the console. How can i transfer the code so that i can make it into a phone app?

Print this item

  Pack binary data to list of integers
Posted by: bearer - Mar-29-2019, 12:17 PM - Forum: General Coding Help - No Replies

Trying to expand on a script for imax b6 charger which has USB HID interface.

Old code sends a list of integers to hidapi.write(). I've decoded som..... More

Print this item

  I NEED HELP!!!
Posted by: polloila - Mar-29-2019, 11:53 AM - Forum: Homework - Replies (3)

I'm a year 11 student doing one of those stupid OCR Programming tasks. It's my first year with programming so I'm not the best and therefore I need he..... More

Print this item

  can't install package web in version python 3.7
Posted by: a21250450 - Mar-29-2019, 10:52 AM - Forum: General Coding Help - Replies (1)

Hello everyone I have a project written in python 2.7 and I need to update it for python 3.7 but the web package always error.

The error is:
Coll..... More

Print this item

  Create Animated Scatter plot in 3d using matplotlib in python
Posted by: barry76 - Mar-29-2019, 10:24 AM - Forum: General Coding Help - No Replies

Hello, with the reference link..... More

Print this item

  how to get data in web
Posted by: yimchiwai - Mar-29-2019, 08:41 AM - Forum: Web Scraping & Web Development - Replies (17)

[python]
import requests
import urllib.request
from bs4 import BeautifulSoup
from flask import Flask

with requests.session()as c:
url="htt..... More

Print this item

  Jupyter and python terminal
Posted by: dervast - Mar-29-2019, 08:01 AM - Forum: General Coding Help - Replies (3)

Hi,
I am very new to python. We use jupyter notebooks since people find them easy to share and nice that some of the figures/plots are also part of t..... More

Print this item

  MEDIA ROOT
Posted by: ionezation - Mar-29-2019, 07:51 AM - Forum: General Coding Help - Replies (1)

When I am running this code from Tutorial of Cory Sheafor ... I am not able to make a file named profile.html in my templates/users/ folder :/ .. is t..... More

Print this item

  euclidean distance
Posted by: jenya56 - Mar-29-2019, 01:09 AM - Forum: General Coding Help - Replies (3)

Dear all,
I have two 2D arrays (size nxm) and I want to calculate the Euclidean distance between them. Meaning that the distance will be a single num..... More

Print this item

  Can't uninstall PyCharm
Posted by: Exsul - Mar-29-2019, 12:26 AM - Forum: Bar - Replies (1)

I can't uninstall PyCharm. When I try, even when I double-click uninstall.exe in the installation folder, I get this error:

----------------------..... More

Print this item

  problems with python script and special characters
Posted by: last08 - Mar-29-2019, 12:17 AM - Forum: General Coding Help - Replies (1)

Hi,
im new to python and am trying to use the below script but when i run it i get this error:
[error]IOError: [Errno 2] No such file or directory: ..... More

Print this item

  Why wont this work?
Posted by: ejected - Mar-29-2019, 12:14 AM - Forum: General Coding Help - Replies (2)

[python]Microsoft Windows [Version 10.0.17134.648]
© 2018 Microsoft Corporation. All rights reserved.

(venv) C:\Users\Mario\PycharmProjects\New Pro..... More

Print this item

  Optimization problem ( food menu )
Posted by: Truman - Mar-28-2019, 11:22 PM - Forum: General Coding Help - Replies (3)

[python]# -*- coding: utf-8 -*-
"""
Created on Thu Mar 28 00:56:50 2019

@author: TrumanB
"""


class Food(object):
def __init__(self, n, v, w):
..... More

Print this item

  Can anyone suggest alternatives to opencv for Python Images readout
Posted by: Spandora - Mar-28-2019, 11:11 PM - Forum: News and Discussions - Replies (3)

Hi I am new to python platform. I would like to read out images to plot mean value of all images. I want to use anyother import package that can suppo..... More

Print this item

  SQLite Query multiple column search
Posted by: whacky7 - Mar-28-2019, 11:08 PM - Forum: General Coding Help - Replies (6)

Hi Guys,

As per my previous post, I am new to Python (Gui) and in the process of learning.
I am having a particular issue with a search query aga..... More

Print this item

  Dictionary comprehension
Posted by: pawlo392 - Mar-28-2019, 10:58 PM - Forum: Homework - Replies (1)

Hello!
I want to write a function ,def count_words_starting_with_given_letter(text, letter):, for example:
print(count_words_starting_with_given_let..... More

Print this item

  stack machine
Posted by: camilefaith - Mar-28-2019, 10:53 PM - Forum: Homework - Replies (1)

eate a Stack Machine to validate if a string is a palindrome. You must validate the input string using the Stack machine


Here are the Stack Mac..... More

Print this item

  from .txt to database
Posted by: myp1lteandroid - Mar-28-2019, 10:26 PM - Forum: News and Discussions - Replies (2)

I have a .txt file (the content are from one data type say it is numerical) and I want to open this file using Python then read its content and then p..... More

Print this item

  Finishing GUI calculator project
Posted by: benybeastboy - Mar-28-2019, 10:12 PM - Forum: GUI - Replies (3)

I wrote this code but i need help with finishing it, i cant get the button to complete the equation, im net to python and coding btw..
[python]from t..... More

Print this item

  ModuleNotFoundError: No module named 'kivy'
Posted by: Exsul - Mar-28-2019, 09:03 PM - Forum: GUI - Replies (7)

I've installed Kivy to the specifications given in this documentation an..... More

Print this item

  "None" in array
Posted by: dl0banter - Mar-28-2019, 08:59 PM - Forum: General Coding Help - Replies (1)

I am getting None in an array as output with the following code. Basically there are 3 items in the list which I can print as only three items. When..... More

Print this item

  help cant do random number
Posted by: nonzzo - Mar-28-2019, 07:08 PM - Forum: General Coding Help - Replies (1)

[python]
import random
while True:
navn = input("Navn?: ")
alder = input("alder?: ")
køn = input("kvinde eller mand?: ")
randnu..... More

Print this item

  To make an algorithm work faster
Posted by: pianistseb - Mar-28-2019, 06:11 PM - Forum: General Coding Help - Replies (3)

I am using biopython for dna sequences. I am new in this python library. I have a .fasta file that has a 4-letters dna code, and I want to convert it ..... More

Print this item

  Convert string to a specific number of bytes
Posted by: artblinked - Mar-28-2019, 05:57 PM - Forum: Homework - Replies (1)

Hello!

I have a class with instance attributes. I need to create an object with each instance having its own values (some are ints, others are stri..... More

Print this item

  Combining two strings together (not concatenation)
Posted by: DreamingInsanity - Mar-28-2019, 05:27 PM - Forum: General Coding Help - Replies (6)

Take these two strings: '1000004000001' and '100000000333331'
When combined, they should become '1000000400333331'. Of course, the number '3's can on..... More

Print this item

  Enabling I2C on Raspberry Pi
Posted by: DJBuck - Mar-28-2019, 04:11 PM - Forum: General Coding Help - Replies (1)

Tried posting this to the Raspberry Pi forum, but the concept of "urgent" appears to carry no meaning with them.

https://learn.adafruit.com/adafrui..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 4 hours ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Yesterday, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 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... 579419
  Tutorial Requ... 512497
  Web Scraping ... 442306
  Newbie with P... 386356
  New Users Int... 380521
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday
matt 11-26

User Panel Messages

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