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,944
» Latest member: jatinkumar12
» Forum threads: 38,724
» Forum posts: 175,519

Full Statistics

Online Users
There are currently 75 online users.
» 0 Member(s) | 70 Guest(s)
Bing, Google, AOL, Mojeek, AOL

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
2 hours ago
» Replies: 2
» Views: 365
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
3 hours ago
» Replies: 0
» Views: 30
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 9
» Views: 512
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,717
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,055
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,409
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,961
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,722
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,795
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,940

 
  having an issue with nested if statements
Posted by: fad3r - May-07-2018, 03:53 PM - Forum: Homework - Replies (6)

Hi,
I am trying to design a baseball game based on a dice roll for fun.

I am having an issue with nested ifs

[python]

from random import ran..... More

Print this item

  Can't get socket application to run
Posted by: rmoore878 - May-07-2018, 02:53 PM - Forum: General Coding Help - Replies (2)

Hello,
I am trying to get this code to work. I am following a guide from YouTube to make a python Socket chat application, but get errors when I atte..... More

Print this item

  Mimicry
Posted by: Ofnuts - May-07-2018, 02:40 PM - Forum: Bar - Replies (2)

https://www.smbc-comics.com/comic/mimic

And don't forget to push the red button.

Print this item

  Why variable is available in function without declaring ?
Posted by: winmasta - May-07-2018, 02:03 PM - Forum: Web Scraping & Web Development - Replies (3)

[python]
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import requests
from bs4 import BeautifulSoup
import re
from datetime import datetime
from ..... More

Print this item

  Problema with convert image to string
Posted by: karlo123 - May-07-2018, 01:47 PM - Forum: Data Science - Replies (1)

Hi everyone,

I am working on decoding a text of an image, for this I take a complicated case, captcha with lines ... I imagine that if it works ..... More

Print this item

  Score of similarity using SIFT (python)
Posted by: Akhou - May-07-2018, 01:24 PM - Forum: Data Science - Replies (1)

Hello,
I need to get the score of comparison of two images using SIFT. I found an example online and I wanted to adapt it with my needs, you'll find ..... More

Print this item

  upend data to dataframe
Posted by: ssingh1582 - May-07-2018, 12:46 PM - Forum: General Coding Help - Replies (1)

Hi,

I am new in python. Here i'm trying to run loop with data frame and doing sum and also trying to insert data to another dataframe but unable to..... More

Print this item

  How to open and write into several files
Posted by: kazimahmet - May-07-2018, 12:09 PM - Forum: General Coding Help - Replies (3)

Hi all, since I'm new in Python, sorry for my easy question but I'd like to open new files in a loop lets say 4 new files which are writable and defi..... More

Print this item

  Conversion needed from bytearray to Floating point
Posted by: braveYug - May-07-2018, 11:51 AM - Forum: General Coding Help - Replies (1)

Hello All,

I am stuck in very strange situation. My python code is talking to some third party device and getting data which is in bytearray format..... More

Print this item

  Cross-correlation between 2 planes in a 3D array
Posted by: Mark3232 - May-07-2018, 10:23 AM - Forum: Data Science - Replies (2)

Hello Python forum
I am trying create a 2D out that is the cross correlation between y-z planes
[Image: solSgIF.png]

I wr..... More

Print this item

  How to fix a parameter while fitting
Posted by: klagyi - May-07-2018, 09:58 AM - Forum: General Coding Help - No Replies

Hi,
how can I fix some parameters while fitting? I have to fit a 2D Gaussian function to a 2D image, but I want to keep the width fixed.

Print this item

  File Reading
Posted by: toxicxarrow - May-07-2018, 09:40 AM - Forum: Homework - Replies (9)

This assignment is technically complete according to my instructions, but I would like to polish it up a bit for my own learning experience. Basically..... More

Print this item

  subprocess.Popen
Posted by: bruno - May-07-2018, 09:23 AM - Forum: General Coding Help - Replies (10)

Hi,

this code was working in Python 2.7.9, and does not work anymore in Python 2.7.13:

[python]
command = "sudo hcitool lescan"
process = subp..... More

Print this item

  Problem of cursor
Posted by: force_tranquille - May-07-2018, 09:20 AM - Forum: GUI - No Replies

hello everybody excuse me for my writing's mistakes but i am francophone
i have a problem with a little script that i have written and i will join it..... More

Print this item

  4 byte hex byte swap from binary file
Posted by: medievil - May-07-2018, 04:30 AM - Forum: General Coding Help - Replies (7)

can't seem to find a solution that works.
the program I am working on basically takes a bunch of specially formatted texture files and dumps them int..... More

Print this item

  How to hide code Jupyter Notebook
Posted by: Larz60+ - May-07-2018, 02:45 AM - Forum: General Coding Help - No Replies

Hi,

In Jupyter Notebook you can embed a web video with a code cell like:
[python]
from IPython.display import HTML

HTML('<iframe width="560" h..... More


Attached Files

Thumbnail(s)
   
Print this item

  BS4 - How Can I Scrape These Links?
Posted by: digitalmatic7 - May-07-2018, 02:30 AM - Forum: Web Scraping & Web Development - Replies (1)

[Image: QJCy04MTQmGTa4oJnLQRSA.png]

I need to scrape all the URLS on the page but as you can see the href has no ..... More

Print this item

  Unexpected input in While Loop
Posted by: fier259 - May-06-2018, 11:41 PM - Forum: General Coding Help - Replies (1)

Hi guys, I'm trying to learn how to do while loops and came across a problem. No errors show up in my code but when I run it, it doesn't ask the input..... More

Print this item

  Read Pins by UART Serial Communication
Posted by: Tonyita - May-06-2018, 10:13 PM - Forum: GUI - No Replies

Dear all,

I am building a GUI to visualize inputs from a PIC microchip to a Computer using the UART serial communication "please, let me know if y..... More

Print this item

  Create an online cryptocurrency market
Posted by: MISC24 - May-06-2018, 05:47 PM - Forum: Homework - No Replies

Hello,

I actually have to create a cryptocurrency online market as a project for university in Django (python). When a users sings up (for the fir..... More

Print this item

  regex, counting occurences
Posted by: yanhto - May-06-2018, 04:45 PM - Forum: Homework - Replies (4)

Hi,


I am pretty new with regex, i am trying to write a pattern that would check if there is a an odd number of specific characters within a strin..... More

Print this item

  How to show unique names in a table?
Posted by: Jack_Sparrow - May-06-2018, 04:17 PM - Forum: Data Science - Replies (1)

Hi there, I have follow table

State Gender Year Top Name Occurences
0 AK F 1910 Mary 14
1 AK ..... More

Print this item

  How to make it shorter
Posted by: Lucasesdou - May-06-2018, 04:15 PM - Forum: Code sharing - Replies (1)

[python]
from tkinter import *
from PIL import ImageTk,Image


def un():
text1 = int(input("Voir la frise normale(1) ou modifier la frise no..... More

Print this item

  How to get output in a file?
Posted by: BananaRekt - May-06-2018, 03:56 PM - Forum: Homework - Replies (3)

Hello, How can python put his output in a file (.docx)?
Thanks, if u can help me <3

Print this item

  regex.findall and data frame
Posted by: metalray - May-06-2018, 03:53 PM - Forum: Homework - Replies (6)

Dear Python Experts,

I have been working on my date extractor and but noticed 2 problems.

1. nothing gets extracted from my test data string
2...... More

Print this item

  Help with Pygame GUI
Posted by: shaheduk323 - May-06-2018, 01:39 PM - Forum: GUI - Replies (1)

I am creating a house GUI using Pygame in python. i have been getting an error and i dont know how to solve it.

the code is below


[python]
i..... More

Print this item

  Developing as a programmer by coding actual work
Posted by: glidecode - May-06-2018, 01:12 PM - Forum: News and Discussions - No Replies

Hi all

I have been looking into python for a while and made some small scripts for my own use. This can be a fine way to learn and improve - any cod..... More

Print this item

  python dev kit (Humble Bundle)
Posted by: metulburr - May-06-2018, 01:06 PM - Forum: News and Discussions - Replies (1)

https://www.humblebundle.com/software/py...out_index_..... More

Print this item

  How to remove apostrophes in a matrix
Posted by: sylas - May-06-2018, 12:56 PM - Forum: General Coding Help - Replies (4)

Hi all! I am very near to have a real matrix. Only some apostrophes to remove.
[python]import csv
from pprint import pprint
def matrix():
pass..... More

Print this item

  Problem with retrieving and parsing from webpage.
Posted by: Geluidsgoeroe - May-06-2018, 11:17 AM - Forum: General Coding Help - Replies (23)

Hi all.

I was wondering if someone could help me out here. I'm stuck Huh

There's this piece of code I have for an Adafruit FM transmitter,..... More

Print this item

  Python 3.5.1 DID NOT GIVE ME THE OUTPUT
Posted by: Delly - May-06-2018, 08:48 AM - Forum: Homework - Replies (2)

I was given the below assignment but I do not know how should I go about to get an output. How should I print a placeholder between the printing of 9 ..... More

Print this item

  extracting data from XML/SOAP
Posted by: hey_arnold - May-06-2018, 08:30 AM - Forum: General Coding Help - Replies (4)

Hi All,

My code below is currently returning:

LNG Stock Level 2016-09-30T14:00:14Z 2016-03-14T00:00:00Z 6722.422335

Which is what I want it t..... More

Print this item

  Web Scraping with a Bot
Posted by: HiImNew - May-06-2018, 06:35 AM - Forum: Web Scraping & Web Development - Replies (8)

I wanted to set up a daily web-scraper for this site. The scraper does about 100 requests/hour every day, however the site seems to be blocking all bo..... More

Print this item

  Update indentifier of for inside this
Posted by: Epilepsy - May-06-2018, 05:30 AM - Forum: General Coding Help - Replies (1)

Hi, there is a way to change or update the identifier of for inside of this, somthing like that:

for k in range(20):
    k=1000
I t..... More

Print this item

  Sorting list of lists with string and int
Posted by: Otbredbaron - May-06-2018, 04:26 AM - Forum: General Coding Help - Replies (6)

So I'm trying to solve this exercise: https://open.kattis.com/problems/cups

Although the problem is simple and does not require much work I'd like ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 2 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 3 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 9 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  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
Most views
  The best Prog... 576659
  Tutorial Requ... 498778
  Web Scraping ... 440496
  Newbie with P... 384430
  New Users Int... 367951
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday
Littlefish Yesterday

User Panel Messages

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