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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
4 hours ago
» Replies: 3
» Views: 143
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
7 hours ago
» Replies: 0
» Views: 337
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
7 hours ago
» Replies: 0
» Views: 63
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,350
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 277
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 723
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 922
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,183
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  i can use this statement as a variable name
Posted by: Skaperen - Aug-01-2018, 02:17 AM - Forum: General Coding Help - Replies (6)

there is such a thing as an async statement. yet i can use async as a variable name. it is not a reserved word. how does that work?

Print this item

  i have decided
Posted by: Skaperen - Aug-01-2018, 01:37 AM - Forum: Bar - Replies (3)

after reading the history of where and how the line width of terminals came from (including the very interesting history of punch cards), i have decid..... More

Print this item

  I'm trying to get Wingware to work with no luck
Posted by: 357mag - Jul-31-2018, 11:12 PM - Forum: General Coding Help - No Replies

I've installed Python and Wingware Personal but everytime I run a program I get this message at the bottom:

User Debugger: Debug process exited PID..... More

Print this item

  pip won't install twisted
Posted by: mcmxl22 - Jul-31-2018, 10:11 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to install scrapy which requires twisted but twisted won't install because[error]error: Microsoft Visual C++ 14.0 is required. Get it with ..... More

Print this item

  imagemagick convert python equivalent
Posted by: diniwed - Jul-31-2018, 08:18 PM - Forum: GUI - Replies (4)

I have been looking for a python equivalent to the Imagemagick convert command.

More specifically I would like to convert .jpeg .png .tiff … image..... More

Print this item

  Python to Exe file
Posted by: TreeLeaF - Jul-31-2018, 07:57 PM - Forum: General Coding Help - Replies (2)

Still looking for help. Hey I need help making a python file into a exe file. I used things like py2exe or cx freeze or pyinstaller but each time this..... More

Print this item

  bool
Posted by: PreservedKillich - Jul-31-2018, 06:39 PM - Forum: General Coding Help - Replies (6)

cmd_array[] contains ['EVENT_EXTANT_WINDOW', '82', '1', '10', '0']

bool_expected = bool(cmd_array[4])
returns True

Why?

Thanks

Print this item

  Die Threads
Posted by: snippsat - Jul-31-2018, 06:11 PM - Forum: News and Discussions - Replies (1)

David Beazley EuroPython 2018 Keynote
This may be a better Threads library in..... More

Print this item

  Loop Condition Question
Posted by: malonn - Jul-31-2018, 05:48 PM - Forum: General Coding Help - Replies (6)

I want to iterate over a loop until an OSError is thrown. That's it. What's the best way to do that. What I'm doing is using [icode]winreg.EnumKey[..... More

Print this item

  Very beginner but please help!
Posted by: thurpe - Jul-31-2018, 03:50 PM - Forum: General Coding Help - Replies (2)

Hi, I am following a set of exercises, and I got stuck a bit on this one:
Write a function that returns the first and last elements of a list.

My ..... More

Print this item

  Jython code throws ImportError when invoked from a Java jar
Posted by: dchucks - Jul-31-2018, 01:10 PM - Forum: General Coding Help - Replies (6)

I am trying to invoke a Python script from a Spring Boot application which is bundled as a JAR. I added Maven dependency for Jython Standalone JAR. Th..... More

Print this item

  Draw Weibull distribution probability function based on Confidence interval
Posted by: farzadtb - Jul-31-2018, 12:36 PM - Forum: Data Science - Replies (1)

I would like to know, if in Python it's possible to create a plot of Weibull probability like bellow :

[img]http://i67.tinypic.com/1zfhded.png[/img..... More

Print this item

  Decypher complex (to me) statement
Posted by: PreservedKillich - Jul-31-2018, 12:05 PM - Forum: General Coding Help - Replies (5)

I am a C/C++ programmer (I have an inkling of classes and OOD) who has just been given his first Python task. My former co-worker who enjoyed code obf..... More

Print this item

  pytest fixture in conftest.py thrown error while in the test file runs
Posted by: OzzieOzzum - Jul-31-2018, 10:41 AM - Forum: General Coding Help - Replies (1)

While Testing a @pytest.fixture(scope="module")

When the fixture is included in the test file - tests/test_authors.py, test works fine

[pyth..... More

Print this item

  How Does pyspark deal with Spaces in Queries
Posted by: cpatte7372 - Jul-31-2018, 09:48 AM - Forum: General Coding Help - Replies (3)

Hello community,

Can someone let me know how pyspark.sql deals with spaces?

For example the following query won't work:

[python]myresults = s..... More

Print this item

  Python code for gcode reader and representation
Posted by: ralmeida - Jul-31-2018, 07:58 AM - Forum: General Coding Help - Replies (1)

I am new to Python and I was wondering if someone can give me a few tips how to program in Python a gcode reader and afterwards the respective represe..... More

Print this item

  Best practice for sharing gspread credentials to server
Posted by: shlomiLan - Jul-31-2018, 07:33 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm using gspread (to write data to Google spreadsheet) and my app runs on Heroku.
I credentials json file (for gspread), that I don't want to put on..... More

Print this item

  Individuallien attack in alien invasion game
Posted by: runnerpaul - Jul-31-2018, 05:52 AM - Forum: General Coding Help - Replies (1)

I'm enhancing the Alien Invasion sample program from the Python Crash Course book. One feature I'd like to add is to randomly have a single alien to f..... More

Print this item

  Tree using CSV
Posted by: pandeyrishabh - Jul-31-2018, 05:31 AM - Forum: Data Science - Replies (7)

I have a CSV dataset having columns like ID,Name,ParentId and I want to visualise it in Tree format Please Help anybody
id,Name,ParentId
ACAD0100,Ac..... More

Print this item

  coding: utf-8
Posted by: Skaperen - Jul-31-2018, 05:22 AM - Forum: General Coding Help - Replies (1)

you can put # -*- coding: utf-8 -*- in a Python source file to say that the source has UTF-8 encoded characters within. but, what woul..... More

Print this item

  max() output
Posted by: mcmxl22 - Jul-31-2018, 01:00 AM - Forum: General Coding Help - No Replies

I am trying to get this to log the options chosen over time, then suggest the one most commonly used. I got the logging part working but the result of..... More

Print this item

  international python
Posted by: Skaperen - Jul-31-2018, 12:44 AM - Forum: News and Discussions - Replies (12)

has anyone modified Python to accept foreign language translations of keywords so that a Python script can be written entirely in a foreign language?

Print this item

  Python to Exe file
Posted by: TreeLeaF - Jul-31-2018, 12:24 AM - Forum: General Coding Help - No Replies

Hey I need help making a python file into a exe file. I used things like py2exe or cx freeze or pyinstaller but each time this error message came up o..... More

Print this item

  "os.symlink(targetdir,destfile)" VS "ln -s targetdir destfile" (not equivalent?
Posted by: NobahdiAtoll - Jul-30-2018, 11:27 PM - Forum: General Coding Help - Replies (1)

Ok so I been working with Linux for a few years now and I have finally decided to put file and folder linking into practice, considering I need files ..... More

Print this item

  Project: Google map
Posted by: Truman - Jul-30-2018, 10:08 PM - Forum: Homework - Replies (5)

The point of the project is to type any address and after "enter" to automatically be redirected to google map with that location on the map. When I r..... More

Print this item

  Vpython Delay in plotting points
Posted by: SohaibAJ - Jul-30-2018, 08:44 PM - Forum: General Coding Help - No Replies

Hello,
I am trying to make a 2D 360degree LiDAR using the Garmin LiDAR Lite module and want to do all the mapping on Raspberry Pi. For this I used an..... More

Print this item

  Bringing function out of class into main loop
Posted by: zukochew - Jul-30-2018, 06:22 PM - Forum: GUI - Replies (1)

Hello all,
Does anybody know how to bring function out of a class into main loop?
For my code, I was not able to call the function lol1 into the ex..... More

Print this item

  understanding sorted key parameter
Posted by: amirt - Jul-30-2018, 05:50 PM - Forum: General Coding Help - Replies (2)

Can someone explain what is happening in the following sorting action:

I have a list:
[python]L = ['breathe', '_', 'd', '+', 'a', 'bear']
[/pytho..... More

Print this item

  will CICS program in python language in coming year?
Posted by: arya_starc - Jul-30-2018, 04:28 PM - Forum: Bar - Replies (6)

Hello guys,

I am new to python language but I have industry experience of 4+ years in mainframe technology.
So just to relate mainframe languages ..... More

Print this item

  Reset csv.reader
Posted by: Huck - Jul-30-2018, 03:25 PM - Forum: Data Science - Replies (16)

Comma delimited file:
ID Colors
1 red
2 red
3 blue
4 red
5 blue
6 blue
7 red
8 blue
9 blue
10 blue

My code reads the above comma delimit..... More

Print this item

  Python regex with negative set of characters multiline
Posted by: sonicblind - Jul-30-2018, 02:29 PM - Forum: General Coding Help - Replies (2)

Hi,

I have following text stored as a string:

[output]
final class myClass1 {
const APPLICATION1 = 1;
const APPLICATION2 = 2;
}
final class..... More

Print this item

  pyspark sql unable to recognize SQL query command
Posted by: cpatte7372 - Jul-30-2018, 01:06 PM - Forum: General Coding Help - Replies (6)

down vote
favorite

Community,
I have written the following pyspark.sql query. However, pyspark doesn't appear to recognize the SQL query 'TOP 20 ..... More

Print this item

  Send data BMP180 between client and server trought module socket
Posted by: smalhao - Jul-30-2018, 12:56 PM - Forum: Networking - No Replies

I would like to send data of BMP180 sensor between a client and a server with two raspberry pi 3 being that the client when executing the command get ..... More

Print this item

  Loading data
Posted by: Zankawah - Jul-30-2018, 10:57 AM - Forum: General Coding Help - Replies (1)

Hi,
I am new to python and I am trying to load my data in excel to python. I read that one way to import data is to navigate to the directory where t..... More

Print this item

  How to show up the duplicate?
Posted by: Jack_Sparrow - Jul-30-2018, 09:54 AM - Forum: General Coding Help - Replies (1)

Hi there,
this is my data set:
user_id timestamp group landing_page converted
0 851104 2017-01-21 22:11:48.556739 control old_page 0
1 804228 2..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 4 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 7 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 7 hours ago Perry Perry 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...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576843
  Tutorial Requ... 499330
  Web Scraping ... 440625
  Newbie with P... 384600
  New Users Int... 368529
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
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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