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,261
» Latest member: SledgeNE
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

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

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 2
» Views: 75
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 43
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 1
» Views: 45
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
4 hours ago
» Replies: 5
» Views: 303
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 11:31 PM
» Replies: 0
» Views: 40
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 65
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 255
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 132
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 219
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 406

 
  Using a list as a Y value in a python graph
Posted by: Afterdarkreader - Dec-13-2017, 07:57 PM - Forum: Data Science - Replies (5)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Python script for show commands-CISCO Devices
Posted by: babbarsher - Dec-13-2017, 07:53 PM - Forum: Networking - Replies (1)

Hello All,

This is my first post and I am pretty rookie in python world. I am trying to create network script which will help me to capture show c..... More

Print this item

  Need to Convert
Posted by: goldtiger6 - Dec-13-2017, 07:36 PM - Forum: Homework - Replies (1)

I need to convert a code for class from an "If/Else, For Loop" into a "While" statement.

This is the code we started with:
[python]
n = int(input..... More

Print this item

  [TkInter]Simple Python Homework
Posted by: zaji_123 - Dec-13-2017, 06:25 PM - Forum: Homework - Replies (4)

Hi, this is my first time on this site and first ever time doing python. So the code might (will) be bad. I am trying to have a entry field where what..... More

Print this item

  Newbie question how to find the coefficient for each variable
Posted by: zydjohn - Dec-13-2017, 05:25 PM - Forum: Data Science - Replies (10)

Hello:
I had some code to do multiple variable linear regression using statsmodels, the following is my code:
[python]
import numpy as np
import s..... More

Print this item

  Python development editor
Posted by: Venkatta - Dec-13-2017, 02:21 PM - Forum: General Coding Help - Replies (8)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Polymorphism in Python Question
Posted by: Oliver - Dec-13-2017, 02:10 PM - Forum: General Coding Help - Replies (6)

Coming from Java, I'm wondering how in Python you "program to interface, not to implementation", when Python doesn't have, well, interfaces?

For ex..... More

Print this item

  Fail to allocate bitmap
Posted by: rsbeesh - Dec-13-2017, 12:41 PM - Forum: General Coding Help - Replies (7)

i am getting error message "Fail to Allocate Bitmap", i need add more than one lakh images of 16X16 Pixels in to canvas. please help. it gives ..... More

Print this item

  Slicing syntax question
Posted by: Oliver - Dec-13-2017, 12:35 PM - Forum: Data Science - Replies (7)

I'm seeing examples of what appears to be slicing, but I can't readily re-create an example.

For example, what does this mean: [:,1]?

What data ..... More

Print this item

  Question about moving a turtle
Posted by: jge047 - Dec-13-2017, 02:55 AM - Forum: General Coding Help - No Replies

Question about moving a turtle - multiplying index by 10 on line 15 moves the next line over 10 pixels on the x-axis, but if the first value of index ..... More

Print this item

  learning OOP
Posted by: workerbee - Dec-13-2017, 12:02 AM - Forum: General Coding Help - Replies (2)

I thought by thinking out loud here I could get some clarity. I have been wondering for awhile why __init__ method was necessary think I am getting it..... More

Print this item

  Newbie question: Nested List Comprehensions
Posted by: Truman - Dec-12-2017, 10:51 PM - Forum: General Coding Help - Replies (5)

Looking at this code:

[quote]
matrix = [
[1,2,3,4],
[5,6,7,8],
[9,10,11,12],
]
r = [[row[i] for row in matrix] for i in range(4)..... More

Print this item

  py_compile spouted this weird output
Posted by: Klar - Dec-12-2017, 10:27 PM - Forum: General Coding Help - Replies (4)

I found that simply importing the module wasn't reliable, so I tried py_compile, and...
[python]py_compile.compile("info.py")
'__pycache__\\info.cpyth..... More

Print this item

  An interesting blog
Posted by: wavic - Dec-12-2017, 09:09 PM - Forum: News and Discussions - No Replies

I just came across this blog and I find it very interesting - 100 days of algorithms
I wi..... More

Print this item

  csv import issue by newbee
Posted by: giladbi - Dec-12-2017, 08:21 PM - Forum: Data Science - No Replies

hi
i am trying to import a txt file but it's in csv format. this is tick trading data info.
the file is this:
[quote]0,2017-09-18 02:00:06,12567.00..... More

Print this item

  Holidays come early this year (maybe)
Posted by: sparkz_alot - Dec-12-2017, 08:13 PM - Forum: Bar - Replies (7)

Python 3.6.4 due for release December 18, 2017 (maybe) see PEP 494

Print this item

  Newbie question for bulk insert into SQL Server database
Posted by: zydjohn - Dec-12-2017, 08:09 PM - Forum: General Coding Help - Replies (6)

[python]
I am using SQL Server 2017 to save people's information, I created a simple data table [People] in [mydb] database
CREATE TABLE [dbo].[Peop..... More

Print this item

  User defined method as variable or argument
Posted by: AeranicusCascadia - Dec-12-2017, 07:46 PM - Forum: General Coding Help - Replies (5)

I'll try to communicate this as clearly as possible. I am still fairly new. Thanks in advance!

Here is my issue, in a nutshell:

I have created a..... More

Print this item

  Thesis Writer 2000
Posted by: Iskuss - Dec-12-2017, 07:44 PM - Forum: Code sharing - Replies (2)

[python]
print("Thesis Writer 2000")
print("First you need a thesis statement. This is the idea or claim you're trying to prove.")
print("Example:..... More

Print this item

  Senior Software Engineer (Python) at Pole Star Space Applications Ltd
Posted by: djangojobs.net - Dec-12-2017, 07:33 PM - Forum: Jobs - No Replies

https://www.djangojobs.net/jobs/735/seni...tions-ltd/

 We require an experienced Software Engineer ..... More

Print this item

  Newbie question for sum the specific element in named tuple
Posted by: zydjohn - Dec-12-2017, 07:22 PM - Forum: General Coding Help - Replies (1)

[python]
import collections

Person = collections.namedtuple('Person', ['Name', 'Age', 'Height', 'Weight'])

person1 = Person(Name='Bob', Age=5..... More

Print this item

  Using np.linspace, creating a recursive graph
Posted by: Afterdarkreader - Dec-12-2017, 07:20 PM - Forum: General Coding Help - No Replies

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Defining Variables in outside modules
Posted by: Barnettch3 - Dec-12-2017, 07:17 PM - Forum: General Coding Help - Replies (4)

I'm just getting into coding and I'm attempting to write a script that will print out the required plumbing fixture count for a building based on its..... More

Print this item

  Python/Numpy have I already written the swiftest code for large array?
Posted by: justforkicks1 - Dec-12-2017, 06:49 PM - Forum: Data Science - Replies (1)

**GOAL:**
I would like to get my script total execution time down from 4 minutes to less than 30 secs. I have a large 1d array (3000000+) of d..... More

Print this item

  Executable won't run on another PC
Posted by: MDachev - Dec-12-2017, 06:24 PM - Forum: General Coding Help - Replies (2)

Hi guys,
I need your help here :)
After I've written a simple webpage opening program (also opens a local external exe) I have converted the .py fil..... More

Print this item

  question about Python
Posted by: nelsonkane - Dec-12-2017, 05:49 PM - Forum: General Coding Help - Replies (3)

If someone could answer this, that would be great!

My question concerns this video called
"Python Programming Tutorial - 3: Comments in Python:"
..... More

Print this item

  Reading and Extracting XML
Posted by: Python4Ever - Dec-12-2017, 03:58 PM - Forum: General Coding Help - Replies (2)

Can someone please tell me why this code isn't printing integers for the count items list? The output is encoded as utf-8, but I thought the fromstrin..... More

Print this item

  My boiler plate for pygame
Posted by: Windspar - Dec-12-2017, 03:47 PM - Forum: Code sharing - Replies (2)

My boiler plate for pygame is a small project.
It contains scene flipping , tick timer builtin to scenes, and has widgets.
Only tested in python 3.6..... More

Print this item

  recursive procedure(total beginner)
Posted by: boris602 - Dec-12-2017, 02:29 PM - Forum: Homework - Replies (5)

Hello guys , for my homeworks i need to create a recursive procedure for x_(k+1)=p(x_k)-x_k. x_k is some number and p(x_k) is defined as the sum of al..... More

Print this item

  recursive with memoization.. please help
Posted by: khen95184 - Dec-12-2017, 09:22 AM - Forum: Homework - Replies (6)

im trying to find the number of combinations to find a sum with several coins.
my original function works,but i dont know how to put the memoization ..... More

Print this item

  a future project: hardlink identical files
Posted by: Skaperen - Dec-12-2017, 09:19 AM - Forum: Bar - Replies (4)

a project i am looking at doing in Python in the near future is a command script the recurses through a set of file trees it is pointed to, looks for ..... More

Print this item

  builing a long variable-length command-pipeline
Posted by: Skaperen - Dec-12-2017, 04:03 AM - Forum: General Coding Help - Replies (6)

there are many tools that allow executing system commands and some can provide input and/or capture output.  but suppose you have a series of commands..... More

Print this item

  Port scanner needs review.
Posted by: RickyWilson - Dec-12-2017, 02:43 AM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How can I generate a variable in GUI
Posted by: lampas - Dec-12-2017, 12:48 AM - Forum: General Coding Help - No Replies

I made a Twitter crawling code and also made GUI. The Code that generates the entered value as a keyword variable.
But I couldn't generate a variable..... More

Print this item

  Can I Add A Second SQL Database to this code and use both?
Posted by: Rapier - Dec-11-2017, 11:18 PM - Forum: General Coding Help - Replies (9)

I basically created a table like so:
[python]import sqlite3

def create_table(db_name,sql):
with sqlite3.connect(db_name) as db:
curs..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 1 hour ago nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 3 hours ago Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 4 hours ago Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... 4 hours ago Skaperen DeaD_EyE News and Disc...
  conditional nested loops Yesterday, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 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...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 578989
  Tutorial Requ... 510628
  Web Scraping ... 442002
  Newbie with P... 386032
  New Users Int... 377222
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 8195
snippsat 7388
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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