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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

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

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 3
» Views: 147
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Today, 11:47 AM
» Replies: 4
» Views: 148
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Today, 08:44 AM
» Replies: 2
» Views: 114
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 159
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 346
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 66
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 109
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 353
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 201
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 313

 
  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

  Commands seem to change when variable is part of a for loop
Posted by: StoopidChicken - Feb-20-2018, 04:48 AM - Forum: GUI - Replies (4)

Hey all, I'm trying to create a gui menu to easily run different snippets of code for my programming class in high school. I'm having a problem when u..... More

Print this item

  .wav or .au Wavelengths to CSV
Posted by: SaraSinha - Feb-20-2018, 03:37 AM - Forum: General Coding Help - Replies (3)

Hi

I am working on a research project and want to learn more about timing deficits.
I created a task in audacity where participants tap along to ..... More

Print this item

  switching to python3
Posted by: Skaperen - Feb-20-2018, 02:40 AM - Forum: News and Discussions - Replies (12)

i have found that a few of my scripts, while functional in python2, work better (or at least the way i prefer) in python3. for [u]examp..... More

Print this item

  A simple script - looking for feedback
Posted by: glidecode - Feb-20-2018, 02:15 AM - Forum: General Coding Help - Replies (2)

Hi all

I have made a simple script for learning purposes more than for any practical purposes. Since I'm still new to Python I'd like some feedback..... More

Print this item

  Question on babynames.py solution code?
Posted by: Athenaeum - Feb-20-2018, 02:01 AM - Forum: General Coding Help - Replies (3)

I am reading the Google Python crash course, where they give you a challenge to open .html files that contain tables of popular baby names in a given ..... More

Print this item

  1st Script written doesn't output anything. Need some else's eyes
Posted by: Kym - Feb-20-2018, 12:33 AM - Forum: General Coding Help - Replies (3)

Hi All,
I am 24 hours into Python37 coding using IDLE and have written a calculator script. The calc script should request 2 variables and what need..... More

Print this item

  capitalizing words in list
Posted by: Truman - Feb-19-2018, 11:04 PM - Forum: Homework - Replies (1)

# [ ] split the sentence, code_tip, into a words list
# [ ] print the joined words in the list with no spaces in-between
# [ ] [b]Bonus: capitalize ..... More

Print this item

  code for a timer
Posted by: SheeppOSU - Feb-19-2018, 10:53 PM - Forum: General Coding Help - Replies (2)

Hi I am using Python 3.6.2 I used a def so it would be easier to use this timer but my code doesn't seem to work can someone help me. I also showed th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 1 hour ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Today, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Today, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579079
  Tutorial Requ... 511195
  Web Scraping ... 442063
  Newbie with P... 386119
  New Users Int... 378376
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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