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,958
» Latest member: GnomeSweetGnome
» Forum threads: 38,728
» Forum posts: 175,528

Full Statistics

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

Latest Threads
ARE YOU A VICTIM OF A CRY...
Forum: General Coding Help
Last Post: helenchris842
2 hours ago
» Replies: 0
» Views: 38
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
10 hours ago
» Replies: 2
» Views: 179
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Today, 03:45 AM
» Replies: 3
» Views: 225
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 397
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,485
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,453
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 328
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 788
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 1,003
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,272

 
  I'm a bit confused with these boolean operations on integers
Posted by: goelraghavg - Aug-25-2018, 07:05 AM - Forum: Homework - Replies (6)

Hi,

I was doing my python homework recently and I also have a an upcoming practical. In my workbook there are some questions in which an expression..... More

Print this item

  What is the difference between them in Python 3.7?
Posted by: cametan - Aug-25-2018, 06:14 AM - Forum: General Coding Help - Replies (8)

Hello.

I've just wondered if there were a difference between them.

[python]
class cls_a:
def func(arg):
print(arg)

class cls_b..... More

Print this item

  Outer loop not running
Posted by: ted_gress - Aug-25-2018, 05:08 AM - Forum: General Coding Help - Replies (2)

Hi

I'm working on something and it has a nested while loop. It seems like only the inner loop is running and only once;

Code:

[python]
def ..... More

Print this item

  cannot understand why program will not run
Posted by: FernandoE - Aug-24-2018, 09:54 PM - Forum: Homework - Replies (1)

[python]import locale
locale.setlocale(locale.LC_ALL, '')


order_total = 0.0 # accumulate total dollars
price = 3.5 # all cook..... More

Print this item

  [geoJSON] View + work with?
Posted by: Winfried - Aug-24-2018, 09:22 PM - Forum: General Coding Help - Replies (2)

Hello,

Turns out I now should work with a geoJSON file instead of GPX since the site I'm working with ignores colors set in GPX items through the "ex..... More

Print this item

  pip vs pip3
Posted by: Skaperen - Aug-24-2018, 09:11 PM - Forum: News and Discussions - Replies (16)

what is the difference between pip and pip3? i thought pip3 was to access the repository of packages for python3 (e.g. a python3-only system only nee..... More

Print this item

  Is comp.lang.python dead?
Posted by: Winfried - Aug-24-2018, 08:07 PM - Forum: Board - Replies (3)

Hello,

Out of curiosity, I checked https://groups.google.com/forum/#!forum/...ang.python, and it's pretty much all SPAM.

Is that newsgroup go..... More

Print this item

  Excel Rows to sentences
Posted by: spartak315 - Aug-24-2018, 07:48 PM - Forum: Data Science - No Replies

Hello I'm new to this forum, hopefully someone can provide some insight on what i'm trying to accomplish. Lets say i have an excel file with 5 rows an..... More

Print this item

  DataFrame index issue
Posted by: Astrikor - Aug-24-2018, 07:34 PM - Forum: Data Science - Replies (2)

I have a small 2D array which I am trying to save to csv such that when read will be identical to he original array.
I can remove headers, but not the..... More

Print this item

  Save Cookie header value in var
Posted by: DavidFernandez - Aug-24-2018, 07:30 PM - Forum: General Coding Help - No Replies

Hi,
I need to get the value of a cookie which is 'JSESSIONID_AV'
I should save the value of this cookie for re-use in the rest of my orders in my AP..... More

Print this item

  Python3 & os.walk
Posted by: while_e_coyote - Aug-24-2018, 07:10 PM - Forum: General Coding Help - Replies (2)

I am trying to write a script using Python 3 and
os.walk. The code is as follows:

[python]

import os

path = '/home/systemconttrol/data_logs'..... More

Print this item

  Frames above 2000 bytes not acknowledged by client/receiver
Posted by: lukasz139 - Aug-24-2018, 06:34 PM - Forum: Networking - No Replies

HI,
I working on adding a jumbo frame functionality to my application. My problem is that I receive no ACK for frames with payload above 2000 bytes. ..... More

Print this item

  inheritence overrides
Posted by: NobahdiAtoll - Aug-24-2018, 06:27 PM - Forum: General Coding Help - Replies (5)

I apologize if this is a repeated question, I've tried everything i can think of to find similar threads without success...

anway..


I have a class ..... More

Print this item

  Notebook accessing a specific tab using a button from a toplevel frame
Posted by: honestie - Aug-24-2018, 06:21 PM - Forum: GUI - Replies (8)

Hello, I really knew to python. I have made a notebook GUI with 7 tabs, with a button on tab 4 that opens up a new toplevel window. On the toplevel wi..... More

Print this item

  python code (embedded in Redshift) to return result of the query
Posted by: Mel - Aug-24-2018, 06:12 PM - Forum: General Coding Help - No Replies

Below is the code that I have as part of databricks job running against snowflake table. It generates an error email in case the SQL code fails, not e..... More

Print this item

  Error in a file and problem with ptpython
Posted by: sylas - Aug-24-2018, 05:10 PM - Forum: General Coding Help - Replies (7)

Hi all! First trouble: python works with version 3.7 while ptpython works with verion 3.6. How make them both work with 3.7 ?
Second trouble: I have..... More

Print this item

  How to store continous output into a text file?
Posted by: Saraswathy - Aug-24-2018, 12:16 PM - Forum: GUI - Replies (1)

I am new to the Python coding , so anyone please guide me. I want to store the output into a text file. From the below code, i am able to read the dat..... More

Print this item

  Unable to Obtain values from one Tkinter Program into another
Posted by: nilaybnrj - Aug-24-2018, 11:56 AM - Forum: GUI - Replies (1)

Hi Team

Here I am facing one issue. I am basically trying to create one basic automation app for desktop. In which one main window will be there wi..... More

Print this item

  Tkinter Roku Remote
Posted by: rootVIII - Aug-24-2018, 11:22 AM - Forum: Code sharing - Replies (5)

Here is a Roku Remote GUI programmed with tkinter and Python:

https://github.com/rootVIII/roku_remote

The only catch is that you have to enable..... More

Print this item

  save json value
Posted by: DavidFernandez - Aug-24-2018, 10:25 AM - Forum: General Coding Help - Replies (3)

Hello,
I have to search a value in a json and store it in a variable.

Its easy but the problem is that the json has a primary 'data' tag before th..... More

Print this item

  not working in windows 8.1
Posted by: nivedrs2003 - Aug-24-2018, 10:04 AM - Forum: General Coding Help - Replies (1)

in my pc [windows 8.1 x64] when i opening python it showing a message
[size=medium]the program can't start because
[b]api-ms-win-crt-runtime-|1-1-0...... More

Print this item

  Couple of questions about modules
Posted by: Winfried - Aug-24-2018, 07:27 AM - Forum: General Coding Help - Replies (6)

Hello,

A couple of newbie questions about modules:

1. What does this do? Why import the same module twice?
[python]
import gpxpy
import gpxpy..... More

Print this item

  How to comma seprate csv but not all cells
Posted by: Prince_Bhatia - Aug-24-2018, 06:18 AM - Forum: General Coding Help - Replies (1)

I am reading a csv file whose data structures looks like this    


i am trying to read it and convert it into comma separated list so..... More

Print this item

  Issue while importing variable from one file to other
Posted by: mamta_parida - Aug-24-2018, 05:23 AM - Forum: GUI - Replies (14)

I created a GUI using tkinter having nine different classes and all classes are in one one script file. I'm getting issue when trying to use one varia..... More

Print this item

  Worksheets doesn't get processed when files to be processed are more than 1
Posted by: begood321 - Aug-24-2018, 05:09 AM - Forum: General Coding Help - No Replies

Sad My issue is when ever I copy worksheets from 1 file to another it works, but not from 1 file to multiple files. To elaborate further, if files..... More

Print this item

  XML parsing and generating HTML page Python 3.6
Posted by: Madhuri - Aug-24-2018, 05:06 AM - Forum: Web Scraping & Web Development - Replies (2)

is it possible to parse the XML file and generate the html page in python 3.6
i want extract the data from XML and put it needed info into html page

Print this item

  Can the launcher show 2.7 notebook or terminal option?
Posted by: miner_tom - Aug-24-2018, 03:19 AM - Forum: General Coding Help - Replies (1)

[size=medium]I have jupyter notebook installed and python 3.6 is an option as shown in the launcher.
When I open the launcher, I see icons for openin..... More

Print this item

  More organization in tutorials?
Posted by: metulburr - Aug-23-2018, 11:45 PM - Forum: Board - Replies (6)

I was wondering what people would think of more sub-forums in tutorials to organize related threads together? For example basic things like string, fu..... More

Print this item

  Generate ctrl-A behaviour
Posted by: edgarfinchley - Aug-23-2018, 10:00 PM - Forum: GUI - Replies (3)

I have a listctrl. ctrl-a selects all items, ctrl-c copies them to the clipboard (in the usual way).
I want to add a single button to my wxpython gui..... More

Print this item

  Time complexity of dict vs attributes
Posted by: heras - Aug-23-2018, 08:12 PM - Forum: General Coding Help - Replies (6)

Hi,

I was going over some data. To store results I manually added empty list attributes to a class as needed. In order to make this dynamic I added..... More

Print this item

  Yield Keyword
Posted by: 6pathsMadara - Aug-23-2018, 05:43 PM - Forum: General Coding Help - Replies (6)

Below is the code I have done following a tutorial, it involves creating a generator that makes the Fibonacci sequence, and then prints it out for val..... More

Print this item

  Creating a SfePy mesh using Blender
Posted by: thinkinghurts - Aug-23-2018, 05:27 PM - Forum: Bar - No Replies

Does anyone know if it is possible to create a mesh in Blender that can be used with SfePy? I tried exporting the Blender mesh as an stl file to 3DSl..... More

Print this item

  [Python 3] - Extract specific data from a web page using lxml module
Posted by: Takeshio - Aug-23-2018, 05:20 PM - Forum: Web Scraping & Web Development - Replies (9)

Hi guys,

I am trying to write a Python 3 code (using lxml module) to extract some specific data from a webpage.

A sample of the HTML data presen..... More

Print this item

  Notebook is rendered as static html by github
Posted by: miner_tom - Aug-23-2018, 04:11 PM - Forum: General Coding Help - Replies (2)

[size=medium]I have been attempting to run a notebook file that was downloaded from github. The error that I get is "Notebook does not appear to be JS..... More

Print this item

  Removing rows at random based on the value of a specific column
Posted by: Mr_Keystrokes - Aug-23-2018, 02:51 PM - Forum: Data Science - Replies (4)

As the title entails, I am trying to remove rows from a pandas dataframe at random based on whether the given row (instance) has a certain value in so..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ARE YOU A VICTIM OF A CRY... 2 hours ago helenchris842 helenchris842 General Codin...
  extracting data from a us... 10 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
Most views
  The best Prog... 576888
  Tutorial Requ... 499480
  Web Scraping ... 440664
  Newbie with P... 384636
  New Users Int... 368621
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
GnomeSweetGnome Today
helenchris842 Today
alxpetrovo2272 Today
Jamirul Today
Perry Today

User Panel Messages

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