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,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 57 online users.
» 1 Member(s) | 51 Guest(s)
Applebot, Bing, Google, AOL

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 3
» Views: 86
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 4
» Views: 141
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 8
» Views: 663
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,810
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 139
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 123
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 208
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,216
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 316
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 207

 
  read complex file with both pandas and not
Posted by: Diedro - Jan-29-2019, 04:07 PM - Forum: Data Science - Replies (1)

Dear all,

I have this complex file:

# ID ,116
# Localita  ,SB16
# Lon/Lat ,11.138574,46.886774
# Quota ,1839
..... More

Print this item

  using vars from one file to match lines in another
Posted by: gt76_noobster - Jan-29-2019, 02:50 PM - Forum: General Coding Help - Replies (3)

Hello all,

I have a problem where I have two very long lists and I need to use variables (ip addresses) to match lines in another.
fileseen is th..... More

Print this item

  Https + REST Call + licence + gnutls
Posted by: imo - Jan-29-2019, 02:02 PM - Forum: General Coding Help - No Replies

Hi!

I am looking for a python3 lib for HTTPS REST call but that could be distributted following the LGPL lic.

AFAIK, Requests relies on OpenSSL ..... More

Print this item

  Error: module 'urllib' has no attribute 'urlopen'
Posted by: mitmit293 - Jan-29-2019, 01:52 PM - Forum: Web Scraping & Web Development - Replies (2)

Error: module 'urllib' has no attribute 'urlopen'


What is it then?

(beginner)

Print this item

  TKinter Slider widget
Posted by: Jemeronimo - Jan-29-2019, 01:28 PM - Forum: GUI - Replies (1)

Hey guys! For school I'm making a program in Tkinter with some Sliders. My code is far from nice but I'm doing this all by myself so don't be too hard..... More

Print this item

  assignment: not an operator nor expression, but x=y=z=3 works fine?
Posted by: jefdaels - Jan-29-2019, 01:26 PM - Forum: General Coding Help - Replies (1)

Hi,
When I read the Python reference (Assignment statements), t..... More

Print this item

  getting [Errno 13] Permission denied:
Posted by: gobinath - Jan-29-2019, 12:53 PM - Forum: General Coding Help - Replies (1)

[python]from azure.storage.blob import BlockBlobService
from azure.storage.blob import PublicAccess
import os

def run_sample():
try:

..... More

Print this item

  How should i read H_T function in below program?
Posted by: Shahnaz - Jan-29-2019, 11:24 AM - Forum: General Coding Help - Replies (1)

My code is plotting eigenvalues of different H_T functions as E_c and E_v. For E_c i expect to have all E_c's for all Hamiltonians curved upward like ..... More

Print this item

  Different prices per hour
Posted by: kemper - Jan-29-2019, 10:40 AM - Forum: General Coding Help - Replies (1)

In a database I have real-time energy data with the consumption (kW) every minute, now I want to apply dynamic prices and thus actually first sum 60 m..... More

Print this item

  IP string manipulation problem
Posted by: TheRealNoob - Jan-29-2019, 10:03 AM - Forum: General Coding Help - Replies (12)

Dear all,

I'm a complete beginner to Python and I have a question as to which direction I should take to achieve a string manipulation issue.

I have..... More

Print this item

  Command is not rolling over to the next keyword.
Posted by: brightlite11 - Jan-29-2019, 06:35 AM - Forum: General Coding Help - Replies (3)

Hello, I'm actually pretty new to coding let alone using python. I found this open source script that I'm trying to run and having some issues with it..... More

Print this item

  between.py
Posted by: Skaperen - Jan-29-2019, 01:24 AM - Forum: Code sharing - No Replies

i even had some uses for this script today. it merges each line of input between each argument from the command then outputs as many lines as it inpu..... More

Print this item

  python code for Bartlett confidential band
Posted by: wissam1974 - Jan-29-2019, 12:18 AM - Forum: Data Science - Replies (2)

Hi all
i need to write a script on python that is related to the equation of Bartlett confidential band given by the following formula

ρx(k) ∈ [ ..... More

Print this item

  Pyserial ser.read() not working
Posted by: SpicyChef - Jan-28-2019, 11:41 PM - Forum: General Coding Help - Replies (1)

I'm new to Python and Pyserial.

I have this project that I'm working on where I need to have an Arduino communicate to my Python code through Pyseria..... More

Print this item

  Help with Stopping a function after a timer
Posted by: SheeppOSU - Jan-28-2019, 10:13 PM - Forum: General Coding Help - No Replies

So I setup this multiplication expression thing. I setup a function to run the expression and a timer for the expression. I'm trying to only allow the..... More

Print this item

  Scraping a webpage with BS4
Posted by: SBF12345 - Jan-28-2019, 10:10 PM - Forum: Web Scraping & Web Development - Replies (3)

Greetings,

I would like to build a tool to open a .csv link on a webpage. I have written the following code and have identified that there is in f..... More

Print this item

  I don't understand where is the error
Posted by: ghiso983 - Jan-28-2019, 09:49 PM - Forum: General Coding Help - Replies (3)

[python]import math
import random
def simili(a,b):
r=True
if(len(a.l)!=len(b.l)):
r=False
else:
g=[0,0,0,0,0,0,0,0,..... More

Print this item

  Thonny datetime
Posted by: DeveloperM - Jan-28-2019, 09:47 PM - Forum: Homework - Replies (6)

Although I am an experienced programmer, I'm new to Python.I'm working in the free Thonny 3.* IDE and I tried the following:

[python]
from datetim..... More

Print this item

  randint stops changing values in a loop
Posted by: Naito - Jan-28-2019, 08:11 PM - Forum: General Coding Help - Replies (4)

hi! i have a problem i can't understand, randint stops popping new randdom values even if the variables are in the loop:
[python]def pvp():
dice..... More

Print this item

  Using VS Code with google cloud
Posted by: gehrenfeld - Jan-28-2019, 06:31 PM - Forum: General Coding Help - No Replies

Using VS Code
I use pandas to import CSV files

[python]
import pandas as pd
import numpy as np

import pandas as pd df = pd.read_t..... More

Print this item

  Embedding a Video in Video Player
Posted by: WhatsupSmiley - Jan-28-2019, 06:24 PM - Forum: GUI - No Replies

Hi,

I am trying to code a video player where it plays a video file. Originally I tried to use PyQt5 however I don't have the video widget / MediaP..... More

Print this item

  gulp template with python?
Posted by: IMuriel - Jan-28-2019, 06:23 PM - Forum: Web Scraping & Web Development - Replies (12)

Hi, im about to start the develpment of a project using python,flask and sqlAlchemy, so i am looking for a nice template, and i have found one, but se..... More

Print this item

  Running python code meant for Notepad++ plugin independently
Posted by: greektranslator - Jan-28-2019, 04:29 PM - Forum: General Coding Help - Replies (3)

Please excuse my ignorance, but I am trying to run this code: https://python-forum.io/Thread-Matching-...ace-script

[python]wi..... More

Print this item

  F-String not working when in IDLE editor
Posted by: nadimsarrouh - Jan-28-2019, 03:54 PM - Forum: General Coding Help - Replies (5)

Hello everyone,

i am a complete python beginner, so I have a very basic question that i couldn't resolve on my own.

I am trying to make use of f..... More

Print this item

  rock paper scissors game
Posted by: abscorpy - Jan-28-2019, 03:52 PM - Forum: Game Development - Replies (8)

Hi

Im making a rock, paper, scissors game...

I need some help, what im trying to do is the following:

-Im trying to make some random scissors..... More


Attached Files

Thumbnail(s)
       
Image(s)
           
Print this item

  flask: instance config not loaded
Posted by: wardancer84 - Jan-28-2019, 02:04 PM - Forum: Web Scraping & Web Development - Replies (3)

while building a flask app around an existing database i realized that flask refuse to load the instance specific config.

instance config
[python]..... More

Print this item

  Script execution
Posted by: ioprst - Jan-28-2019, 12:14 PM - Forum: GUI - Replies (2)

Why can't the script run completely (the script works in a normal browser)? Marked the comment "no".
And the SVG is not displayed on the page.
I nee..... More

Print this item

  Login System
Posted by: Carbonix - Jan-28-2019, 10:29 AM - Forum: General Coding Help - Replies (4)

Hello,
I have made myself a little log in code but i have an issue,
When the account exists i get the error that the username or password is incorre..... More

Print this item

  How to chang start date for my request
Posted by: xyz987 - Jan-28-2019, 10:04 AM - Forum: General Coding Help - Replies (1)

He every body, sorry about my englist not very good!
I have one question about to chang web start date.
This is chinese stock web, I want to ca..... More

Print this item

  time.sleep(...) problem
Posted by: DPaul - Jan-28-2019, 08:45 AM - Forum: General Coding Help - Replies (3)

This is the idea :
- I show a picture via Tkinter : no problem
- I want the program to wait for e.g. 3 seconds
- and then show the next picture, ..... More

Print this item

  Case sensitive path
Posted by: asheru93 - Jan-28-2019, 08:30 AM - Forum: General Coding Help - Replies (6)

Hello,

I want to open and setup.exe from python but sometimes it might be with uppercase like Setup.exe. How can I handle it properly?

I have: ..... More

Print this item

  Reverse word
Posted by: xSphere - Jan-28-2019, 08:17 AM - Forum: General Coding Help - Replies (6)

Hi!
I need to reverse words like this:
cake
python

Output:
keca onthpy
I used [::-1] but this isn't a correct answer because it gives..... More

Print this item

  Visual Studio Code - PEP8 Lambda Issue
Posted by: Qui_Ten - Jan-28-2019, 05:20 AM - Forum: General Coding Help - Replies (1)

PEP8 is automatically formatting a part of my code, I was just learning about lambdas and I had a 2 line code like this:

My simple code: (2 ..... More

Print this item

  Help!! Please
Posted by: leokraz - Jan-28-2019, 05:15 AM - Forum: General Coding Help - Replies (4)

I've tried everything to write this program and I keep getting stuck and getting a syntax error. Can someone please tell me how they would tackle this..... More

Print this item

  how write variable in files and retreive it
Posted by: frank - Jan-28-2019, 03:40 AM - Forum: General Coding Help - Replies (2)

Hi I m a beginner. Try to learn python by myself. I started to create a program to help me keeping track of information. (kind of excel sheet but in p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 5 hours ago Lou noisefloor General Codin...
  Python is not working on ... 5 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... 11 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  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
Most views
  The best Prog... 579454
  Tutorial Requ... 512592
  Web Scraping ... 442318
  Newbie with P... 386373
  New Users Int... 380636
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+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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