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

Full Statistics

Online Users
There are currently 163 online users.
» 0 Member(s) | 156 Guest(s)
Bing, AOL, Google, Facebook Dev

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

 
  For Loop Statement enquiry
Posted by: reginahong - Jan-07-2019, 03:25 AM - Forum: Data Science - Replies (8)

Hi,

I am new to python. I am translating matlab code into python. I am stuck when I want to do the for loop statement as shown
in the last paragra..... More

Print this item

  Selenium Parsing (unable to Parse page after loading)
Posted by: oneclick - Jan-07-2019, 03:08 AM - Forum: Web Scraping & Web Development - Replies (7)

Im trying to scrape a torrentz url, I get the Page loading html instead of search result html, tried to put sleep time didnt worked out.

anyone kno..... More

Print this item

  Why the file is not downloaded in full with this script?
Posted by: Jacklops - Jan-07-2019, 01:35 AM - Forum: General Coding Help - Replies (2)

Hello,

I use python3 and this little script next
[python]
import requests

url = 'http://mp3-red.co/stream/44760541/oscar-peterson-night-and-da..... More

Print this item

  cadastral map
Posted by: esther - Jan-06-2019, 10:45 PM - Forum: Homework - Replies (3)

hello!
Im trying to draw a map of annecy but I cant
here's what Ive got for now and Ive already got a mistake ((executing lines 1 to 10 of "<tmp 1>..... More

Print this item

  Value Error and Saving Data to .csv
Posted by: caroline_d_124 - Jan-06-2019, 10:03 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm very new to Python, and I've been given some code for a study I'm working on, but I've been having some trouble getting it to run throug..... More

Print this item

  how to handle COM Typelib OUT parameters?
Posted by: Erhy - Jan-06-2019, 09:34 PM - Forum: General Coding Help - Replies (1)

Hello!
I try to convert VB-Script to Python script.
I use the packages pywin32, comtypes and pythoncom

I have problems with function imported fr..... More

Print this item

  Newbie project
Posted by: Zapper - Jan-06-2019, 09:32 PM - Forum: News and Discussions - Replies (1)

Hi group

I am a newbie but want to aim at a project to learn python and I have an idea for a project that will require rectangle tiles that can hav..... More

Print this item

  How to add an element such as an average to a multi-dimensional array?
Posted by: xhughesey - Jan-06-2019, 07:30 PM - Forum: Data Science - Replies (6)

I am working on my first project with machine learning and training AI with rewards an loses on a game of Tic Tac Toe. I have everything but this prob..... More

Print this item

  simple pygame game
Posted by: kinglarry0327 - Jan-06-2019, 06:18 PM - Forum: Game Development - No Replies

a simple game i created. images NOT included
[python]
"""
cosmic racer v.1.1
game developed by larry zhang from Kinglarry Productions ®
should ..... More

Print this item

  how to put text file in a dictionary
Posted by: infected400 - Jan-06-2019, 04:23 PM - Forum: Homework - Replies (2)

A library maintains its book information (stock) in a text file. An application needs to be developed which will read the text file and display all th..... More

Print this item

  Insert color in tkinter automatically
Posted by: Dwimmerlaik - Jan-06-2019, 02:39 PM - Forum: GUI - Replies (4)

Hi,

I've been trying to insert a hexadecimal number in an image made in tkinter, but I just can't seem to get it right. The idea is that a random siz..... More

Print this item

  Importing from tkinter
Posted by: dan789 - Jan-06-2019, 02:05 PM - Forum: General Coding Help - Replies (2)

Hello, this is not a graphics related question so I decided to put it here.

In my code, I used for import this:

[python]import tkinter
from tki..... More

Print this item

  First non-repeating char and some errors.
Posted by: blackknite - Jan-06-2019, 01:36 PM - Forum: General Coding Help - Replies (1)

Hey, I do some coding challenges online and I have issue with this one.

At first I did this:
[python]>>> q = lambda s:['' if not s else c for c in..... More

Print this item

  Are tuples immutable?
Posted by: python_user_n - Jan-06-2019, 01:00 PM - Forum: News and Discussions - Replies (13)

Hello,
I want to ask a question about tuples and their definition in python.
How I understand tuples considered immutable objects. But the next line..... More

Print this item

  GUI and function not working together
Posted by: albry - Jan-06-2019, 11:52 AM - Forum: Homework - Replies (2)

))[python]
from tkinter import *
from tkinter import ttk

def farcel(*args):
try:
vals = float(fahrenheit.get())
celsius.s..... More

Print this item

  Time multiple functions within functions
Posted by: Cortessizzz - Jan-06-2019, 11:39 AM - Forum: General Coding Help - Replies (4)

Using the timeit function how can I time the different small functions that I reuse in my main function?
So I am not looking for how long my whole sc..... More

Print this item

  WordPress and Python Script
Posted by: Corate - Jan-06-2019, 07:32 AM - Forum: General Coding Help - Replies (3)

Is it possible to put a Python Script on a WordPress site.

I made a web-scraper in Python and would like the web-scraper to automatically post new ..... More

Print this item

  [split] The Collatz Sequence
Posted by: valencia - Jan-06-2019, 06:01 AM - Forum: Homework - Replies (4)

Hello,

This is my first time posting. Hope my question is clear and thank you in advance for everyone's advise.

I'm newbie to python and never e..... More

Print this item

  PolicyError: not authorized `JRF-DEO.pdf' @ error/constitute.c/ReadImage/412
Posted by: bvdinesh - Jan-06-2019, 05:34 AM - Forum: General Coding Help - Replies (1)

Hi,

I am getting above error fro below code. This is I am running in Ubuntu and connected through SSH and Jupyter

[python]
from wand.image imp..... More

Print this item

  use classes in tkinter canvas
Posted by: fardin - Jan-06-2019, 02:32 AM - Forum: General Coding Help - Replies (2)

I am trying to use classes to create ovals(circles) in canvas. I am a beginner and came with the following code. But the ball does not show and it do..... More

Print this item

  Help with Code (Writing Data File)
Posted by: caroline_d_124 - Jan-06-2019, 01:12 AM - Forum: General Coding Help - Replies (3)

Hello,

I'm extremely new to Python and I was recently given some code for a study I'm working on, however it seems to contain some errors. I was ab..... More

Print this item

  Dragonball Online (Byond) Help!
Posted by: Byondgaming2019 - Jan-06-2019, 12:52 AM - Forum: General Coding Help - Replies (1)

Im playing this Byond game called Dragonball Online and there's certain ways to train. One popular way is the arrow key training referred to as Shadow..... More

Print this item

  column math
Posted by: Devilish - Jan-06-2019, 12:36 AM - Forum: General Coding Help - Replies (1)

I have 3 columns in question... ['Last'] is data... ['Goal'] is Last shifted forward 5 rows
I am trying to assign a value to ['direction'] based on [..... More

Print this item

  how to use the return function
Posted by: NLittle17 - Jan-05-2019, 10:00 PM - Forum: General Coding Help - Replies (5)

Again. Trying to teach myself how to use the return function. This is me trying to get a user to make a choice between 1-5 and then returning their ch..... More

Print this item

  Functions in Python
Posted by: NLittle17 - Jan-05-2019, 09:54 PM - Forum: General Coding Help - Replies (1)

I am trying to write a script that takes in a number and returns True of it is odd and False if it is even. Here’s what I have so far. I want to use t..... More

Print this item

  New user help what does this mean?
Posted by: bender1227 - Jan-05-2019, 09:27 PM - Forum: General Coding Help - Replies (1)

I just downloaded Visual Studio Code, Python, and Django and when I open a new terminal this keeps coming up in Visual Studio Code. Do I need to fix ..... More

Print this item

  with source file in UTF-8 you have full UNICODE support
Posted by: Erhy - Jan-05-2019, 08:16 PM - Forum: General Coding Help - Replies (3)

Hello!
This is only a message for my solved problem to get UNICODE support.

With Windows I code for Python 3.7 with the tool [b]PythonWin[/..... More

Print this item

  add content of database to text widgte with update
Posted by: atlass218 - Jan-05-2019, 08:15 PM - Forum: General Coding Help - Replies (1)

hi; I use python 3.6 and I try to store my informations in a sqlite3 database , and display it automaticaly in a widget text tkinter with update

..... More

Print this item

  card dealer school project
Posted by: kalle1234 - Jan-05-2019, 05:52 PM - Forum: Homework - Replies (5)

hi, i need help with a school project with python. the program i must do is following:
"do a code which creates a mixed deck of cards and then distr..... More

Print this item

  can someone help me import pytsk3
Posted by: jamshaid1997 - Jan-05-2019, 05:09 PM - Forum: General Coding Help - Replies (2)

i need help to import python pytsk3 however i keep getting an error

Print this item

  Looking for good doc on Scraping coverage algorithms
Posted by: Larz60+ - Jan-05-2019, 03:22 PM - Forum: General Coding Help - No Replies

I'm looking for documents describing (math and/or python) how to query sites for coverage of data.
My example search site for company names:
Conditi..... More

Print this item

  Dictionary python program
Posted by: NLittle17 - Jan-05-2019, 03:04 PM - Forum: General Coding Help - Replies (7)

I’m trying to write a script where I create a dictionary with some initial keys and values. I made some of those values above 10 and some less than 10..... More

Print this item

  Help for my assignment - Object Oriented Programming
Posted by: denizkb - Jan-05-2019, 02:08 PM - Forum: Homework - Replies (5)

So for one of my tasks in my assignment, it is required to create a object oriented program with atleast 4 classes and with atleast 1 superclass. We w..... More

Print this item

  if-elif-else statement not executing
Posted by: laila1a - Jan-05-2019, 02:03 PM - Forum: General Coding Help - Replies (4)

Hi everyone, I'm new to programming so sorry in advance if my mistake is a stupid one.
I am having trouble making my if-elif-else statement execute p..... More

Print this item

  Calling a class inside other class
Posted by: dan789 - Jan-05-2019, 12:50 PM - Forum: General Coding Help - Replies (9)

[python]class Class1:

def __init__(self):
self.atr1 = value1
self.atr2 = value2

def method_1(self):
???

class Class..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 3 hours ago Lou snippsat General Codin...
  Python is not working on ... 11 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 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... 579467
  Tutorial Requ... 512642
  Web Scraping ... 442328
  Newbie with P... 386385
  New Users Int... 380674
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
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