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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

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

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 3
» Views: 53
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 116
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 73
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 70
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 327
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 49
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 85
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 298
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 160
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 265

 
  assigning columns according to data range python
Posted by: alamather - Jan-20-2018, 06:22 PM - Forum: General Coding Help - Replies (4)

I am very new to this and trying to use it for some of my tasks. I have a list of raw data files without any extension, the files are having more than..... More

Print this item

  Help, not understanding how classes work...
Posted by: Peter_EU - Jan-20-2018, 05:46 PM - Forum: General Coding Help - Replies (1)

Hallo,

I have following code:

[python]class node:
def __init__(self,value=None):
self.value=value
self.left_child=None
..... More

Print this item

  list of user's variables in the interpreter
Posted by: nzcan - Jan-20-2018, 04:55 PM - Forum: General Coding Help - Replies (5)

hi,
i would like to ask how could i put a line of code that prints just user's declared variables in a function so it can be reused in a different sc..... More

Print this item

  Watch files and automatically run a script in Linux
Posted by: Gribouillis - Jan-20-2018, 03:20 PM - Forum: Code sharing - Replies (4)

The following script (download it here) named [inline]autopython3[/inl..... More

Print this item

  Cannot find PIP
Posted by: standenman - Jan-20-2018, 02:48 PM - Forum: General Coding Help - Replies (5)

I am brand new to Python, using the "Automate the Boring Stuff" to try to edit a pdf file using module PyPDF2. Cannot even get off the ground in the ..... More

Print this item

  Working with EFS/Glacier
Posted by: devs4p - Jan-20-2018, 12:21 PM - Forum: General Coding Help - Replies (2)

m5.large instance
Root drive EBS 2TB
OS Windows 2016

m5.large instance
Root drive EBS 2atb
OS Ubuntu CapiDicks

These instances uses the same..... More

Print this item

  Problem with Pycharm 64 bits
Posted by: sylas - Jan-20-2018, 10:04 AM - Forum: General Coding Help - Replies (12)

Hi all ! With Pycharm 32 bits my projects work very well (exit with code 0). With Pycharm 64 bit,here is what it tells:C:\Users\Sylvain\venv\MinMax\Sc..... More

Print this item

  flattree.py
Posted by: Skaperen - Jan-20-2018, 06:57 AM - Forum: Code sharing - Replies (2)

this is my code to generate a "flat" iteration of a file tree, without doing recursion. it can also be downloaded [url=ipal.net/free/flattree.py]here[..... More

Print this item

  having a problem in importing module
Posted by: pratheep - Jan-20-2018, 06:56 AM - Forum: Web Scraping & Web Development - Replies (1)

[python]import beautifulsoup

Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import beautifulsoup
ImportError: ..... More

Print this item

  What is my error here?
Posted by: Codeforfood - Jan-20-2018, 05:23 AM - Forum: General Coding Help - Replies (1)

I am learning python and want to create a more advanced tip calculator, however I tried testing it when I was half way done and kept on getting a synt..... More

Print this item

  i need a better IDE/editor
Posted by: Skaperen - Jan-20-2018, 03:25 AM - Forum: News and Discussions - Replies (13)

i need a better IDE/editor than what i am using now (emacs). i just had another case where i needed to "wrap" a large block of code in an "if test" t..... More

Print this item

  Substring Counting
Posted by: shelbyahn - Jan-20-2018, 02:16 AM - Forum: General Coding Help - Replies (4)

I am working through the Computer Science Circles Web lesson for learning Python and I am stuck on one exercise. Here are the directions:

As mentio..... More

Print this item

  opencv without virtualenv
Posted by: tony1812 - Jan-20-2018, 12:42 AM - Forum: General Coding Help - No Replies

Hello, I followed this tutorial, https://www.pyimagesearch.com/2017/09/04...pberry-pi/ successfully ..... More

Print this item

  Mixed function
Posted by: Truman - Jan-19-2018, 11:25 PM - Forum: Homework - Replies (3)

My final work is to add elements that I used so far in different programs. I wrote this code:

[python]
def str_analysis(argstr):

if arg..... More

Print this item

  can't pass instance variables between functions?
Posted by: mepyyeti - Jan-19-2018, 11:21 PM - Forum: General Coding Help - Replies (2)

Hi !
I always thought I could pass instance variable between functions (intraclass, at least). In the following code snippet I am unable to do so...... More

Print this item

  Program: Input the correct color
Posted by: Truman - Jan-19-2018, 10:59 PM - Forum: Homework - Replies (4)

# [ ] use a while True loop (forever loop) to give 4 chances for input of a correct color in a rainbow
# rainbow = "red orange yellow green blue indi..... More

Print this item

  Write a code to output in alphabetical order
Posted by: AbdelaliPython - Jan-19-2018, 08:55 PM - Forum: Homework - Replies (1)

hi all i'm new here , i have a problem with my homework here if you can help me to solve it !

Assume s is a string of lower case characters.

Write a..... More

Print this item

  Search List
Posted by: Thethispointer - Jan-19-2018, 08:25 PM - Forum: General Coding Help - Replies (6)

Hello Programmers,

I am working on learning python. This isn't for school, so we don't need to be extremely rigid, I am more interested in learning..... More

Print this item

  AttributeError: module 'plotly' has no attribute 'offline'
Posted by: charlesczc - Jan-19-2018, 06:50 PM - Forum: Data Science - Replies (8)

Hi

im a complete beginner and would greatly appreciate if you guys could help me on the below code from a tutorial. Im using Pycharm community edit..... More

Print this item

  indexerror and optimization
Posted by: mcrazy1111 - Jan-19-2018, 03:35 PM - Forum: General Coding Help - Replies (4)

Hello! I am new around here and trying to solve some basic challenges.
I wrote a code for getting prime factors for a number but got (IndexError: lis..... More

Print this item

  Pycharm - local file history
Posted by: j.crater - Jan-19-2018, 12:20 PM - Forum: News and Discussions - No Replies

Users of PyCharm may have discovered that long ago, but I had this revelation occur to me just today, and it saved me hours of work! So I just have to..... More

Print this item

  change application image
Posted by: issac_n - Jan-19-2018, 10:41 AM - Forum: Data Science - Replies (7)

I created exe and working fine, and i wanted to change its application icon in taskbar to my own image.
i tried method below and not working for me.

..... More

Print this item

  3.6.4 windows 64 bit version
Posted by: raysmith48 - Jan-19-2018, 10:29 AM - Forum: News and Discussions - Replies (4)

I am new to this. I am trying to get the 64 bit version but I am only getting offered the 32 bit version. I'm running Windows 10 professional versio..... More

Print this item

  Beginner in pygame, I don't know how to use events
Posted by: Erepiv1 - Jan-19-2018, 08:38 AM - Forum: Game Development - Replies (5)

Hi everyone,I'm a beginner with pygame. I wanted to use events and look on internet how to use them but the problem is that python keep telling me "Na..... More

Print this item

  Execute using Html, Save data into Database and Download in CSV in Django --Part 1
Posted by: Prince_Bhatia - Jan-19-2018, 06:05 AM - Forum: Web Scraping & Web Development - No Replies

Hi,

I have a question how can i scrape websites by pressing html button and then save the scrape data into database and then download them whenever..... More


Attached Files

.html   first-page.html (Size: 2.16 KB / Downloads: 925)
Print this item

  Product of maximum in first array and minimum in second
Posted by: Thethispointer - Jan-19-2018, 05:32 AM - Forum: General Coding Help - Replies (9)

So I am practicing the following

[quote]Given two arrays of size N1 and N2 respectively, the task is to calculate the product of max element of fir..... More

Print this item

  module for DNS queries
Posted by: Skaperen - Jan-19-2018, 05:13 AM - Forum: News and Discussions - Replies (7)

i recall once seeing a module for doing DNS queries of all kinds. i thought it was one in the Python package but i don't see one, now. so i did a pi..... More

Print this item

  [PyCharm] Any Features To Make Programming Easier / Faster?
Posted by: digitalmatic7 - Jan-19-2018, 05:02 AM - Forum: Web Scraping & Web Development - Replies (3)

Say I have a script that does the following:

  1. Navigates to a website in Selenium
  2. Logs in
  3. Clicks category
  4. Navigates to pos..... More

Print this item

  I made a real-time python editor - anyone have any feedback?
Posted by: Almenon - Jan-19-2018, 03:25 AM - Forum: News and Discussions - Replies (2)

https://github.com/Almenon/AREPL

[Image: arepl%20demo.gif]
[video=youtube]https://www.you..... More

Print this item

  Unexpected output write
Posted by: minmanrox - Jan-19-2018, 02:44 AM - Forum: General Coding Help - Replies (3)

I've just taken up coding and have been teaching myself out of Simon Monk's "Programming the Raspberry Pi" book. On p79, he demonstrates how to write ..... More

Print this item

  Bubble Sort Algorithm Not Sorting LikedList Contents
Posted by: JayJayOi - Jan-19-2018, 12:09 AM - Forum: Homework - No Replies

Hi, I am currently trying to code for this particular question which is
Uncle Tim started his Secondhand Bookstore in 2000. As years passed, the num..... More

Print this item

  Infinite loop
Posted by: Truman - Jan-18-2018, 10:54 PM - Forum: Homework - Replies (9)

# [ ] use a "forever" while loop to get user input of integers to add to sum,
# until a non-digit is entered, then break the loop and print sum
sum..... More

Print this item

Sad I freezed
Posted by: captainflint - Jan-18-2018, 10:45 PM - Forum: Homework - Replies (20)

[python]message="***Welcome to Sehir Online Market***"
message2="Please log in by providing your user credentials:"
print message,('\n'),message2
u..... More

Print this item

  Confusing Math
Posted by: DrJu - Jan-18-2018, 10:19 PM - Forum: General Coding Help - Replies (2)

I'm trying to understand why python has issues with simple math.
If you try to subtract 0.92 from 1 (1-.92) the answer you get is 0.07999999999999996..... More

Print this item

  Turtle issue
Posted by: Yoavier - Jan-18-2018, 08:24 PM - Forum: General Coding Help - No Replies

Heya, i'm using the turtle module in pycharm community edition 2017.2.3
I am trying to get a simple movement system with a keyboard, using this code:..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 1 hour ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 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... 579032
  Tutorial Requ... 510932
  Web Scraping ... 442036
  Newbie with P... 386074
  New Users Int... 377520
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 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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