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,970
» Latest member: Seu12Jorge
» Forum threads: 38,731
» Forum posts: 175,552

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 6
» Views: 324
LOST BITCOIN OR USDT?WE H...
Forum: Networking
Last Post: leewang
2 hours ago
» Replies: 0
» Views: 8
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
5 hours ago
» Replies: 7
» Views: 2,781
looking for help
Forum: Bar
Last Post: PhamMaria
7 hours ago
» Replies: 1
» Views: 1,905
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 648
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,178
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,744
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 638
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,132
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,108

 
  ternary operator with unpacking
Posted by: joaomcteixeira - Jan-07-2019, 11:21 AM - Forum: General Coding Help - Replies (5)

Hello,
After using ternary operators extensively I am getting lost in this case. It took me a couple of hours to understand why I was getting bugged,..... More

Print this item

  how to get vairable to sort with list?
Posted by: DouTh - Jan-07-2019, 11:18 AM - Forum: General Coding Help - Replies (1)

[python]
analyst = list([304, 213, 175, 379, 572, 801, 630])

print(list(analyst))
print(sorted(analyst))

analyst[0] = "Monday "
analyst[1] = ..... More

Print this item

  Which lib to learn for Xfce
Posted by: Skaperen - Jan-07-2019, 09:30 AM - Forum: GUI - No Replies

i just changed my desktops over to xfce. i want to get started learning to code GUI apps, including specialized launchers and panel bar plugins. wha..... More

Print this item

  grep command based on lines in a pattern file
Posted by: Skaperen - Jan-07-2019, 09:00 AM - Forum: General Coding Help - Replies (1)

this is a command i have needed a few times today, so i decided that maybe i should create it.

it is like a grep command, which reads a main file l..... More

Print this item

  How to add asynchronous tasks as they are needed?
Posted by: AlekseyPython - Jan-07-2019, 08:42 AM - Forum: General Coding Help - Replies (2)

As I understand, I can perform async- tasks in two ways:
1. Launch asynchronous tasks sequentially (the first task will be FULLY completed and then t..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 2 hours ago tester_V snippsat General Codin...
  LOST BITCOIN OR USDT?WE H... 2 hours ago leewang leewang Networking
  Select Python comment (#)... 5 hours ago SpongeB0B tester_V General Codin...
  looking for help 7 hours ago Azdaghost PhamMaria Bar
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577279
  Tutorial Requ... 500369
  Web Scraping ... 440960
  Newbie with P... 384985
  New Users Int... 369339
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
leewang Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
PhamMaria Yesterday

User Panel Messages

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