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: virvainfotech
» Forum threads: 38,798
» Forum posts: 175,908

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google Image

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
35 minutes ago
» Replies: 5
» Views: 174
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
3 hours ago
» Replies: 3
» Views: 11,084
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 174
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 698
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,816
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 167
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 142
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 229
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,223
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 336

 
  PyQt Login and Sqlalchemy
Posted by: rarevesselt - Nov-25-2018, 06:57 PM - Forum: GUI - Replies (1)

I am trying to check if username and password is found in the database.I am getting data from login.py.I am not getting the logic right. Any help will..... More

Print this item

  Value Iteration/ Q-Iteration
Posted by: Annaconda - Nov-25-2018, 05:22 PM - Forum: Homework - No Replies

Hello,

I have to implement value iteration and q iteration in Python 2.7.
This code is given:
[python]
import numpy as np
import mdp as util
..... More

Print this item

  Running remote code?
Posted by: MuntyScruntfundle - Nov-25-2018, 04:54 PM - Forum: General Coding Help - Replies (1)

Hi there.

I'm sat here wondering if there is any reason one shouldn't run code remotely.

If my situation is: I have many unix clients and a unix..... More

Print this item

  The twelfth root of a matrix
Posted by: Arduinol - Nov-25-2018, 03:43 PM - Forum: Data Science - Replies (9)

[Image: 181125043338927257.png.html]

Hello everybody,

I need some help as I'm trying desperately to calculate the..... More

Print this item

  Web server for android and ios
Posted by: Aashuraa - Nov-25-2018, 03:18 PM - Forum: Web Scraping & Web Development - No Replies

Hi
How is web server on python for android ios?

Print this item

  Test Normality in Python
Posted by: StevenZut - Nov-25-2018, 02:48 PM - Forum: Data Science - Replies (3)

I got the following numbers:

498 50 67 1069 22 145 182 348 580 906 753 23 4 782 818 26 85 863 762 791 319 94 17 650 969 752 423 720 26 804 640 5 13..... More

Print this item

  Scheduled lift
Posted by: ambush - Nov-25-2018, 02:17 PM - Forum: Homework - Replies (1)

hi Smile

how to get started to design a program for a lift and visualize it.

for example

no. of floors is 4

no. of users is 26

fun..... More

Print this item

  Add Photo in Python
Posted by: adninqasifa - Nov-25-2018, 12:09 PM - Forum: General Coding Help - Replies (4)

Helloo,

Helloo, I have some question, i try to run simple Program for add photos in IDLE Python but not working. It is because to large or somethi..... More

Print this item

  Python 2.7 LooseVersion version comparison unexpectedly fails
Posted by: kwutzke - Nov-25-2018, 09:21 AM - Forum: General Coding Help - Replies (5)

Hello all,

I have written some tests for LooseVersion from which some seem to be failing unexpectedly.

Code:
[python]
from distutils.version i..... More

Print this item

  Web host company recommendations
Posted by: pcsailor - Nov-25-2018, 03:19 AM - Forum: Bar - Replies (8)

Hello,

I'm not finding much info here on web hosting companies known for their strong support of python websites. Have I missed the discussion?
..... More

Print this item

  difference between today, and today variables
Posted by: nmrt - Nov-25-2018, 02:41 AM - Forum: General Coding Help - Replies (2)

Hi All,

I want to know what is the difference between variables " today," and "today" in the below example. First option is giving output in date for..... More

Print this item

  pyad time conversion error (plus solution)
Posted by: PapaZod - Nov-25-2018, 01:58 AM - Forum: General Coding Help - Replies (2)

Hi all,

While learning how to use the pyad module, I came across and odd situation. I was playing with AD timestamps and one of them returned an ac..... More

Print this item

  Screenshot of specific window
Posted by: kainev - Nov-24-2018, 09:20 PM - Forum: General Coding Help - Replies (10)

Hi,

I have a program that needs to take an image of a small section of another program at 29.97 fps. Currently I'm using mss and manually specifyin..... More

Print this item

  Making list empty after return in function
Posted by: dan789 - Nov-24-2018, 07:04 PM - Forum: General Coding Help - Replies (10)

Hello, I have one trouble in my program I´m currently working on. I need to make a function, which flatten a list whom items can contain lists again, ..... More

Print this item

  Need help with this code
Posted by: jamshaid1997 - Nov-24-2018, 06:01 PM - Forum: General Coding Help - Replies (1)

[python]
# 1. Add pytsk3 module
import pytsk3

# 33. Add datetime
import datetime

# 2. Prompt the user to input the name of the image file
image_file..... More

Print this item

  Wierd file type problem
Posted by: Larz60+ - Nov-24-2018, 05:44 PM - Forum: Web Scraping & Web Development - Replies (4)

This is wierd. I don't see the problem.
I am passing a posix path to a module that I have been using in the same way for months, and now all of a sud..... More

Print this item

  Help with ctypes and "c_int*"
Posted by: Jstechg - Nov-24-2018, 03:34 PM - Forum: Data Science - Replies (1)

I am python beginner and I am trying to run a simple python program that call a c function using ctypes
on a linux Ubuntu PC.

It is based on web e..... More

Print this item

  Flickr open data - making trajectories
Posted by: CroExplorer - Nov-24-2018, 02:55 PM - Forum: Homework - Replies (2)

Hello all, I am quite new with programming (I have some Python knowledge) and for my project at the University I need to do already some advanced stuf..... More

Print this item

  Json data validation
Posted by: amar - Nov-24-2018, 01:40 PM - Forum: General Coding Help - Replies (1)

Hi ,

I have json file like below
[python]
{
"fieldname" :{ "name" :"str",
"age" : 13
"add" : "str"
..... More

Print this item

  auto-py-to-exe with unusual directory structure
Posted by: krow4869 - Nov-24-2018, 11:04 AM - Forum: General Coding Help - Replies (3)

So I have a fairly large python project with 262 files across 25 folders. The program starts at C:/somepath/main/main/main.py. Given that I have two d..... More

Print this item

  TypeError: 'method' object is not subscriptable
Posted by: ayaz786amd - Nov-24-2018, 09:41 AM - Forum: Data Science - Replies (1)

Hi

The code is:
[python]import pandas as pd
import quandl
import math

df = quandl.get('FINRA/FORF_TLLTD')

df['PCT']= df['ShortVolume']/df[..... More

Print this item

  random number
Posted by: anasa - Nov-24-2018, 08:30 AM - Forum: General Coding Help - Replies (2)

Hi!
I wonder how the program can find a random number.

Print this item

  function defs in decision code body
Posted by: Skaperen - Nov-24-2018, 05:26 AM - Forum: News and Discussions - Replies (2)

i have been putting many function defs in decision bodies yo decide which version of a function to define. most cases involve [u]testing the p..... More

Print this item

  Animating Random Walk
Posted by: Excelsiscelia - Nov-24-2018, 03:25 AM - Forum: General Coding Help - Replies (2)

Hello. I am trying to animate this very simple 2D random walk program. However, I am not sure what the FuncAnimation function is suppose to do and why..... More

Print this item

  How to assign a found regex expression to a variable
Posted by: Pedroski55 - Nov-24-2018, 03:14 AM - Forum: General Coding Help - Replies (2)

When I try to assign the regex expression I search for to a variable, I get this:

[quote]>>> studentnrRegex = re.compile(r'(18\d\d\d\d\d\d\d\d)')
..... More

Print this item

  Need help with the program its not working
Posted by: jamshaid1997 - Nov-24-2018, 02:57 AM - Forum: General Coding Help - Replies (1)

[python]
#!/usr/bin/env python3

# Simple Calculator

# Function to subtract
def subtract(x, y):
return int(x) - int(y)

# Function to multiply
def..... More

Print this item

  fibonacci ***Time limit exceeded***
Posted by: frequency - Nov-24-2018, 02:49 AM - Forum: General Coding Help - Replies (18)

[PYTHON]
def fib(number):
if number==0:
return 0
elif number==1:
return 1
else:
return fib(number-1)+fib(number-2)
..... More

Print this item

  panda, excel - script pauses and doesn't continue running, no error message
Posted by: william - Nov-24-2018, 12:57 AM - Forum: Data Science - Replies (1)

Hi, I'm having some trouble with a script I created to essentially run down an excel column, and if it found a particular string to replace that strin..... More

Print this item

  tkinter questions--- part 1
Posted by: ironsheep - Nov-23-2018, 10:25 PM - Forum: GUI - Replies (4)

Why is it that when I put

from tkinter import *
tk=Tk()
canvas=Canvas(tk, width=500,height=550)
tk.title("stuff")
A small s..... More

Print this item

  Mentor wanted
Posted by: EmilySenechal - Nov-23-2018, 08:18 PM - Forum: Bar - Replies (2)

Hi, I don't know if its okay to ask this kind of thing on the python forum but I could really use a mentor from now until late January. I'm currently ..... More

Print this item

  Saving PyTorch model
Posted by: kiton - Nov-23-2018, 04:52 PM - Forum: Data Science - Replies (3)

Hello dear forum members,

I am following the example of binary classification problem provided by Numerai competition (https://www.kaggle.com/solom..... More

Print this item

  Array assignments in a for loop
Posted by: mt_reilly - Nov-23-2018, 03:51 PM - Forum: Data Science - Replies (2)

I am having difficulty trying to understand why two different expression in a for loop are producing the same result. In this case, I am doing numeri..... More

Print this item

  Anaconda problem about path
Posted by: Leloup - Nov-23-2018, 03:46 PM - Forum: General Coding Help - Replies (1)

Bonjour,

I need Anaconda to separately manage the different versions of Python (2.7, 3.4, 3.7) in virtual environments. However, I get an..... More

Print this item

  Connection with firebird using python
Posted by: nick722 - Nov-23-2018, 03:40 PM - Forum: General Coding Help - No Replies

Hello guys,

I am trying to make an installer for a new system using Python, among the settings I will need to add a Firebird connection in the "ODB..... More

Print this item

  python script cant find folder where files are kept
Posted by: Shameendra - Nov-23-2018, 03:01 PM - Forum: General Coding Help - Replies (2)

I am trying to access a folder "frames" which contains image files which i want to open with python. My code is:

[python]import os
import ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 35 minutes ago Lou Pedroski55 General Codin...
  Python Online Compiler 3 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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
Most views
  The best Prog... 579483
  Tutorial Requ... 512713
  Web Scraping ... 442346
  Newbie with P... 386393
  New Users Int... 381512
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 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27

User Panel Messages

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