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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,509

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 81
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,332
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 764
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,631
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,111
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,618
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,439
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,632
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,566
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,734

 
  installing wxPython
Posted by: predirt - Feb-22-2018, 04:38 AM - Forum: GUI - Replies (12)

I'm new to this Python stuff, but am determined to develop an application and am interested in using wxPython. I am running openSUSE 4.3. There is n..... More

Print this item

  Convert from time.struct_time to a string
Posted by: chris0147 - Feb-22-2018, 02:18 AM - Forum: General Coding Help - Replies (2)

Hi all,

I need your help with my code. I want to convert from time.struct_time to a string.

Example:

[python]time.struct_time(tm_year=2018, t..... More

Print this item

  .split seemingly gets ignored
Posted by: liquidsnake - Feb-21-2018, 11:09 PM - Forum: General Coding Help - Replies (8)

Hi, can you guys see why the .split method is being ignored?

[python]
from openpyxl import load_workbook

fb_user_data = load_workbook(filename = './..... More

Print this item

  Pass 2 columns via loc to lambda in pandas
Posted by: fad3r - Feb-21-2018, 11:05 PM - Forum: Homework - Replies (1)

Hi everyone,

I am working on something that calculates a bmi. I have it solved a certain way but my friend told me it was non pythonic and to solv..... More

Print this item

  random numbers and stats
Posted by: cliffhop23 - Feb-21-2018, 11:02 PM - Forum: Homework - Replies (2)

2. Part 2 - Statistics on Random Numbers - 5pts
Generate 500 random numbers on the interval 1 to 65536. Determine the fraction of these numbers which..... More

Print this item

  pyhton error there is no PIL module error help!
Posted by: pokeboss235 - Feb-21-2018, 10:40 PM - Forum: General Coding Help - Replies (1)

I am trying to use the program on this link https://gist.github.com/cdiener/10491632...iinator-py
however the first line is giving my python t..... More

Print this item

  Please Help Understand Functions
Posted by: toxicxarrow - Feb-21-2018, 08:23 PM - Forum: General Coding Help - Replies (4)

I had an assignment that required me to perform a task using only modules. I turned in a botched version, but I would actually like to learn how to d..... More

Print this item

  PyCharm Clear Screen
Posted by: Larry - Feb-21-2018, 07:07 PM - Forum: General Coding Help - Replies (4)

How do you clear the screen using PyCharm?

Print this item

  cuDNN Installation Error : Cuda Failurer version : GCC 5.4.0
Posted by: papatya2 - Feb-21-2018, 05:09 PM - Forum: News and Discussions - No Replies

I would try to install tensorflow.
I installed Cuda Toolkit 9.1.

I tried to install cuDNN properly :
cuDNN v7.0.5 Runtime Library for..... More

Print this item

  global name 'completion_name_regex' is not defined
Posted by: tjnichols - Feb-21-2018, 04:36 PM - Forum: Web Scraping & Web Development - Replies (10)

I'm very new to Python. I've studied a lot of books but putting all of it into practice is taxing to me. Any help you can provide is much appreciated!..... More

Print this item

  [PYTHON EXPORT SQL TO .txt file]
Posted by: PYTHONDUDE - Feb-21-2018, 02:56 PM - Forum: General Coding Help - Replies (9)

I would like to export my sql server query into a txt file.


[python]import PYODBC



db = pyodbc.connect("Driver={SQL Server Native Client 1..... More

Print this item

  How to make cross platform gui python application ?
Posted by: Jayam - Feb-21-2018, 01:39 PM - Forum: GUI - Replies (2)

I am new to python. How to work on desktop application using python.
1. Which library best for GUI desktop application ?
2. How to make cross platf..... More

Print this item

  itertools and chain
Posted by: mp3909 - Feb-21-2018, 12:21 PM - Forum: General Coding Help - Replies (2)

Hi,

Can someone please help me understand what is the difference between this t = list(itertools.chain(*([1,2,3],[4,5,6]))) and [i..... More

Print this item

  Fastest Way to declare this list.
Posted by: Kowalski - Feb-21-2018, 12:06 PM - Forum: General Coding Help - Replies (2)

I need to declare a list (a "matrix", in fact) by inserting new 2-dimensional lists into it, and i´m using append for that (code below):

[python]
..... More

Print this item

  textEdit Update error ?
Posted by: Bytelli - Feb-21-2018, 12:00 PM - Forum: GUI - No Replies

[python]
class uiTxtEdtGunclThread(QtCore.QThread):
def __init__(self,uiwin):
super().__init__(parent=QtCore.QThread())
self.u..... More

Print this item

  Usage of argparse with a single option
Posted by: Otbredbaron - Feb-21-2018, 11:44 AM - Forum: General Coding Help - Replies (3)

Hi, I'm trying to use argparse to handle a single command line option, this is the code that I wrote:

[code]
#!/usr/bin/env python3
import argpar..... More

Print this item

  Hiring Python Developers at Kimetrica, LLC
Posted by: djangojobs.net - Feb-21-2018, 11:33 AM - Forum: Jobs - No Replies

Kimetrica, LLC seeks experienced Python Developers with a focus in FLASK / CKAN and/or with a focus in DJANGO to join a growing team. This is a direct..... More

Print this item

  Sets and Lists
Posted by: mp3909 - Feb-21-2018, 11:13 AM - Forum: General Coding Help - Replies (2)

Hi,

Can someone please explain to me why when I enter this in python it does not give an error:

print(set([1,2,3]))

but as s..... More

Print this item

  need to alter static picture to video file
Posted by: mika - Feb-21-2018, 10:13 AM - Forum: General Coding Help - Replies (1)

HELLO FRIENDS,

In my program, a static picture (Start.png) on pir motion changes to video (Myvideo.mp4).

Could you advise how to program if I ne..... More

Print this item

  list comprehension
Posted by: HenryJ - Feb-21-2018, 06:44 AM - Forum: General Coding Help - Replies (3)

Hi,

Is it possible to convert the below for loop to a list comprehension and get "results"?

[python]for roll_num in range(50000):
result =..... More

Print this item

  Interactive tutorial for beginners (codetheblocks)
Posted by: abhin - Feb-21-2018, 03:56 AM - Forum: Tutorial Requests and Submissions - Replies (1)

Hi,

I've been working on interactive Python tutorials on https://codetheblocks.com

The idea is to combine Python with a simple 3D environment th..... More

Print this item

  pyython code copied 1to1 from book not working.
Posted by: BlackReptile - Feb-21-2018, 01:23 AM - Forum: General Coding Help - Replies (2)

Hello im a Programming Beginner and learning form a book. Everything worked so far extemley well and im making Progress but this Python Script doesnt ..... More

Print this item

  Weird HTTP response
Posted by: league55 - Feb-21-2018, 12:59 AM - Forum: Bar - Replies (8)

I'm putting this in Bar because it's not strictly Python-related, even though I used requests.get().

I got a HTTP Response Code 302 with the follow..... More

Print this item

  \\n in code
Posted by: Dixon - Feb-20-2018, 11:48 PM - Forum: General Coding Help - Replies (3)

What is the purpose of the ("\\n") in the following line?
exec("""\ntarget.write(line1)\ntarget.write("\\n")\ntarget.write(line2)\ntarget.write("\\n"..... More

Print this item

  pyinstaller error
Posted by: aquilino67 - Feb-20-2018, 11:48 PM - Forum: General Coding Help - Replies (3)

Hello.
I'm running python 3.6.4 and pyinstaller on windows 10 x64.
When running "pyinstaller myprog.py" I get many errors. The first errors are these:..... More

Print this item

  Getting started
Posted by: goofymdjd - Feb-20-2018, 09:57 PM - Forum: Game Development - Replies (6)

Dear Forum,

I am having trouble getting started. I just downloaded and installed pygame, but I can't initialize it.

Here is my code:

import p..... More

Print this item

  Need help displaying random color
Posted by: Ellicore - Feb-20-2018, 08:39 PM - Forum: Homework - Replies (1)

Hello everyone,

I know it may be an easy fix but I'm new to programming and I need some help. I am supposed to create a random color and then disp..... More

Print this item

  [Python 3.6.4/Windows] Problem with module installation and SSL
Posted by: didier31 - Feb-20-2018, 08:16 PM - Forum: General Coding Help - Replies (3)

Hi everybody

I encounter a problem with pip. Some other guys, here had similar trouble but it was under Linux.

Here is what I obtain when attem..... More

Print this item

  [split] SyntaxError: invalid syntax
Posted by: arth4 - Feb-20-2018, 06:51 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm totally new to python programming. I've written a function that will return the square of a number. Below is the code for the same:
[pytho..... More

Print this item

  Supposedly simple program not working! Please help!
Posted by: BenjaminDJ - Feb-20-2018, 06:50 PM - Forum: Homework - Replies (5)

Hi! I've been assigned a programming task to make around 10 or so different functions for squaring a number. I haven't been informed of any limitation..... More

Print this item

  Aligning Python Tkinter Buttons In Rows
Posted by: TollyThaWally - Feb-20-2018, 06:33 PM - Forum: GUI - Replies (3)

I am trying to make a program in Tkinter where you can press a button and it will add it to a list. I want to align the buttons with **No** text in th..... More

Print this item

  Bitconnect and cryptocurrency
Posted by: snippsat - Feb-20-2018, 05:42 PM - Forum: Bar - Replies (6)

I have just look quick into this marked sometimes.
Now is Bitconnect is closed was a ..... More

Print this item

  issue with syntax
Posted by: volcano - Feb-20-2018, 04:33 PM - Forum: General Coding Help - Replies (12)

please see this code : https://prnt.sc/iheuot

there is ":" after "for"

but there is no ":" after "print"

why ?

Print this item

  Re-arrange lines when adding new if statement
Posted by: bghayad - Feb-20-2018, 03:32 PM - Forum: General Coding Help - Replies (3)

Hello;
As we know that spaces is important in the coding.
I am asking: when we need to add if statement or any control statement for existed code, t..... More

Print this item

  How to shorten the size of program
Posted by: garikhgh0 - Feb-20-2018, 05:48 AM - Forum: General Coding Help - Replies (11)

hi there.
I have created a tictactoe game for two players (X and 0) and made it executable, after which it became 15 Mb which is more for such a game..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling deanhystad General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  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... 576498
  Tutorial Requ... 498387
  Web Scraping ... 440387
  Newbie with P... 384284
  New Users Int... 367400
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 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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